Skip to content

Commit

Permalink
new tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
Damien Sileo committed Dec 20, 2024
1 parent 258ba29 commit 3f51c90
Show file tree
Hide file tree
Showing 3 changed files with 676 additions and 660 deletions.
6 changes: 6 additions & 0 deletions src/tasksource/.ipynb_checkpoints/tasks-checkpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -1265,8 +1265,14 @@ def _nlgraph_binarize(x):
hover = Classification("evidence","claim","label",
dataset_name="Dzeniks/hover")

hover__nli = Classification("evidence","claim",name("label",["entailment","neutral","contradiction"]),
dataset_name="Dzeniks/hover-3way")

tasksource_dpo = MultipleChoice("prompt",choices=['chosen','rejected'],labels=constant(0),
dataset_name="tasksource/tasksource_dpo_pairs")

seahorse = Classification('article',cat(["summary", "question"]),'answer',
dataset_name="tasksource/seahorse_summarization_evaluation")

mip = Classification("prompt",labels="y",
dataset_name="sileod/missing-item-prediction",config_name="contrastive")
6 changes: 6 additions & 0 deletions src/tasksource/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -1265,8 +1265,14 @@ def _nlgraph_binarize(x):
hover = Classification("evidence","claim","label",
dataset_name="Dzeniks/hover")

hover__nli = Classification("evidence","claim",name("label",["entailment","neutral","contradiction"]),
dataset_name="Dzeniks/hover-3way")

tasksource_dpo = MultipleChoice("prompt",choices=['chosen','rejected'],labels=constant(0),
dataset_name="tasksource/tasksource_dpo_pairs")

seahorse = Classification('article',cat(["summary", "question"]),'answer',
dataset_name="tasksource/seahorse_summarization_evaluation")

mip = Classification("prompt",labels="y",
dataset_name="sileod/missing-item-prediction",config_name="contrastive")
Loading

0 comments on commit 3f51c90

Please sign in to comment.