-
Notifications
You must be signed in to change notification settings - Fork 8
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
base: master
Are you sure you want to change the base?
Conversation
There was a litle bug, in some datasets "tax deduction" was not converted to "tax benefits"
Fine-tuning small bugs
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.
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 inassisted_labeling
and the other one inzero_shot_classification
. Are both of them needed? What is each of them for? - What is the difference between
Assisted_labeling
andFinal_assisted_labeling
? If only one of them is the one we ended up using, let's keep that one and moveAssisted_labeling
to theold_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()} | |||
|
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 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
No description provided.