-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] HumanOps - annotation #617
base: main
Are you sure you want to change the base?
Conversation
ongoing work
|
…icient polling; fix double polling
class HumanPreferenceAnnotationMapper(LabelStudioAnnotationMapper): | ||
"""Operator for human preference annotation using Label Studio.""" | ||
|
||
DEFAULT_LABEL_CONFIG = """ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
xml in code. could be a separate file if needed. supported via label_config_file param
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I recommend make this part binding to XxAnnotationMapper, to enable the feasibility of automatic adaptation in a ``MCP'' style (e.g., some agents that learn to route and modify the label_cfg given the HumanOP docstring)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you elaborate? A sample would be great
getting below message: tracer only checks text_key field. we are actually adding more data. what is the best resolution? should we pack all the data into text_key as json dump? @HYLcool @yxdyc |
class HumanPreferenceAnnotationMapper(LabelStudioAnnotationMapper): | ||
"""Operator for human preference annotation using Label Studio.""" | ||
|
||
DEFAULT_LABEL_CONFIG = """ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I recommend make this part binding to XxAnnotationMapper, to enable the feasibility of automatic adaptation in a ``MCP'' style (e.g., some agents that learn to route and modify the label_cfg given the HumanOP docstring)
After discussion, we agree to packing all the data into text_key as json dump, and will make a quick PR to support this feature @HYLcool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The current content LGTM. I'm trying to locally run/dev this feature, and incorporate it into our new project related tohumanOp_workflow
& experience_manager
…ity and download logic for upgrading nltk
This feature is to add human annotation support for DJ. Included features:
still working on