Skip to content
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

[DE-4880] Update annotation related endpoints for multiple ground truth sets #444

Merged
merged 21 commits into from
Jan 2, 2025

Conversation

iz18
Copy link
Contributor

@iz18 iz18 commented Dec 7, 2024

With this feature, we will have multiple sets of ground truth if a dataset item is labeled across multiple tasks. To not suddenly break everything on the ML side, we want to have the option to return the legacy results, which is only the set of annotations that correspond to the most recent task. This is also changed to be consistent with the model results shown on Nucleus itself where it will only pull the most recent task. The task id is also now returned with all the annotations.

Moving forward, ML should keep track of which set of ground truth they trained their model with, and they can pull back that set of ground truth by setting only_most_recent_task to False. I think a new endpoint where they can request a set of ground truth based on a specific task_id would also be helpful in the future.

Accompanies this pr

@iz18 iz18 requested a review from a team December 7, 2024 01:49
@iz18 iz18 force-pushed the iz/nucleusTaskBasedAnnotations branch from 8818b62 to 421282f Compare December 7, 2024 02:00
Copy link
Contributor

@daveguo-scale daveguo-scale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tagging @scaleapi/field-eng-federal for visibility

@iz18 iz18 force-pushed the iz/nucleusTaskBasedAnnotations branch from f4ccf81 to 9c918fa Compare December 18, 2024 20:59
@iz18
Copy link
Contributor Author

iz18 commented Jan 2, 2025

Removed the black formatting in circle ci because it doesn't behave the same way as local black formatter on the same version. Weird issue and maybe should be looked into? Will put a ticket into backlog.

@iz18 iz18 merged commit 12c8d8d into master Jan 2, 2025
6 checks passed
@iz18 iz18 deleted the iz/nucleusTaskBasedAnnotations branch January 2, 2025 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants