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

#59 refactor assisted labeling notebook #91

Open
wants to merge 21 commits into
base: master
Choose a base branch
from

Conversation

jordiplanescutxi
Copy link
Collaborator

No description provided.

Copy link
Contributor

@thefirebanks thefirebanks left a comment

Choose a reason for hiding this comment

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

Glad to see that we can finally merge this, good job! Before that, a couple of things here:

  • I see that we have 5 notebooks named Final_assisted_labeling with different numbers at the end, but it seems that only one of them has been run and there's not much of a difference across all of them. Do we still need to keep the other 4 replicas or is it enough to just have 1?
  • I see that we have 2 versions of the file Labeled_data_preparation, one of them in assisted_labeling and the other one in zero_shot_classification. Are both of them needed? What is each of them for?
  • What is the difference between Assisted_labeling and Final_assisted_labeling? If only one of them is the one we ended up using, let's keep that one and move Assisted_labeling to the old_files_and_folders folder.

@@ -35,3 +35,29 @@ def labeled_sentences_from_json(sents_json):
"""
return {sent_id: sent_labels_map for sent_id, sent_labels_map in [*sents_json.values()][0]["sentences"].items()}

Copy link
Contributor

Choose a reason for hiding this comment

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

I think you forgot to define the function here? Because you wrote the comments and the code within the labeled_sentences_from_json method and after a return statement

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.

3 participants