Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Damien Sileo committed May 31, 2023
1 parent 6d7153f commit a09577b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tasksource/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -981,7 +981,7 @@ def _udep_post_process(ds):
vuac = Classification("context","expression","label", dataset_name="tasksource/VUAC")
trofi = Classification("context","expression","label", dataset_name="tasksource/TroFi")

sharc_classification = Classification("snippet", cat(["scenario","question"]),labels="answer",dataset_name='sharc_modified',config_name='mod',
sharc_classification = Classification("snippet", lambda x:f'{x["scenario"]}\n{x["question"]}' ,labels="answer",dataset_name='sharc_modified',config_name='mod',
pre_process = lambda ds:ds.filter(lambda x:x['answer'] in {"Yes","No","Irrelevant"}))

conceptrules_v2 = Classification("context", "text", "label", dataset_name="tasksource/conceptrules_v2")

0 comments on commit a09577b

Please sign in to comment.