This repository has been archived by the owner on Nov 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
unify turn annotation tasks (model chat and turn annotations static t…
…asks) (#4162) * annotation_buckets param to annotations_config_path to match mc * unify the annotation buckets config file format in model chat and turn annotations static task * remove task_description flag (not used) * chat_title->task_title * move task description to html file * sample annotation buckets match previous ones for model chat task * update tests * add task config files * PR fixes * model chat task only supports checkboxes right now
- Loading branch information
Showing
17 changed files
with
85 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 27 additions & 31 deletions
58
parlai/crowdsourcing/tasks/model_chat/task_config/annotations_config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,28 @@ | ||
[ | ||
{ | ||
"value": "bucket_0", | ||
"name": "Bucket 0", | ||
"description": "this response implies something...0" | ||
}, | ||
{ | ||
"value": "bucket_1", | ||
"name": "Bucket 1", | ||
"description": "this response implies something...1" | ||
}, | ||
{ | ||
"value": "bucket_2", | ||
"name": "Bucket 2", | ||
"description": "this response implies something...2" | ||
}, | ||
{ | ||
"value": "bucket_3", | ||
"name": "Bucket 3", | ||
"description": "this response implies something...3" | ||
}, | ||
{ | ||
"value": "bucket_4", | ||
"name": "Bucket 4", | ||
"description": "this response implies something...4" | ||
}, | ||
{ | ||
"value": "none_all_good", | ||
"name": "None, all good", | ||
"description": "This response implies that there are no problems with the data" | ||
{ | ||
"config": { | ||
"bucket_0": { | ||
"name": "Bucket 0", | ||
"description": "this response implies something...0" | ||
}, | ||
"bucket_1": { | ||
"name": "Bucket 1", | ||
"description": "this response implies something...1" | ||
}, | ||
"bucket_2": { | ||
"name": "Bucket 2", | ||
"description": "this response implies something...2" | ||
}, | ||
"bucket_3": { | ||
"name": "Bucket 3", | ||
"description": "this response implies something...3" | ||
}, | ||
"bucket_4": { | ||
"name": "Bucket 4", | ||
"description": "this response implies something...4" | ||
}, | ||
"none_all_good": { | ||
"name": "None, all good", | ||
"description": "This response implies that there are no problems with the data" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
7 changes: 7 additions & 0 deletions
7
parlai/crowdsourcing/tasks/turn_annotations_static/task_config/task_description.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<br> | ||
<b><h4>Task Description</h4></b> | ||
<br> | ||
Dummy Task Description. | ||
Lorem ipsum. | ||
turnannotations | ||
<br><br> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters