forked from huggingface/lm-evaluation-harness
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Easier unitxt tasks loading and removal of unitxt library dependancy (E…
…leutherAI#1933) * Updated unitxt loading Signed-off-by: Elron Bandel <[email protected]> * Revert change to general Readme Signed-off-by: Elron Bandel <[email protected]> * Adjust fda,squadv2,squad_completion and swde to work accept config in the constructor Signed-off-by: Elron Bandel <[email protected]> * Fix scrolls Signed-off-by: elronbandel <[email protected]> * Update documentation Signed-off-by: elronbandel <[email protected]> * Enforce backward compatability Signed-off-by: elronbandel <[email protected]> * Format unitxt class Signed-off-by: elronbandel <[email protected]> --------- Signed-off-by: Elron Bandel <[email protected]> Signed-off-by: elronbandel <[email protected]> Co-authored-by: haileyschoelkopf <[email protected]>
- Loading branch information
1 parent
cb43ad4
commit ad80f55
Showing
36 changed files
with
208 additions
and
391 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
include: unitxt_tasks.classification.multi_class | ||
task: 20_newsgroups | ||
dataset_name: card=cards.20_newsgroups,template=templates.classification.multi_class.title | ||
include: unitxt | ||
recipe: card=cards.20_newsgroups,template=templates.classification.multi_class.title |
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,3 +1,3 @@ | ||
include: unitxt_tasks.classification.multi_class | ||
task: ag_news | ||
dataset_name: card=cards.ag_news,template=templates.classification.multi_class.title | ||
include: unitxt | ||
recipe: card=cards.ag_news,template=templates.classification.multi_class.title |
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,3 +1,3 @@ | ||
include: unitxt_tasks.classification.multi_class | ||
task: argument_topic | ||
dataset_name: card=cards.argument_topic,template=templates.classification.multi_class.title | ||
include: unitxt | ||
recipe: card=cards.argument_topic,template=templates.classification.multi_class.title |
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,3 +1,3 @@ | ||
include: unitxt_tasks.span_labeling.extraction | ||
task: atis | ||
dataset_name: card=cards.atis,template=templates.span_labeling.extraction.title | ||
include: unitxt | ||
recipe: card=cards.atis,template=templates.span_labeling.extraction.title |
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,3 +1,3 @@ | ||
include: unitxt_tasks.classification.multi_class | ||
task: banking77 | ||
dataset_name: card=cards.banking77,template=templates.classification.multi_class.title | ||
include: unitxt | ||
recipe: card=cards.banking77,template=templates.classification.multi_class.title |
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,3 +1,3 @@ | ||
include: unitxt_tasks.classification.multi_class | ||
task: claim_stance_topic | ||
dataset_name: card=cards.claim_stance_topic,template=templates.classification.multi_class.title | ||
include: unitxt | ||
recipe: card=cards.claim_stance_topic,template=templates.classification.multi_class.title |
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,3 +1,3 @@ | ||
include: unitxt_tasks.summarization.abstractive | ||
task: cnn_dailymail | ||
dataset_name: card=cards.cnn_dailymail,template=templates.summarization.abstractive.full | ||
include: unitxt | ||
recipe: card=cards.cnn_dailymail,template=templates.summarization.abstractive.full |
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,3 +1,3 @@ | ||
include: unitxt_tasks.grammatical_error_correction | ||
task: coedit_gec | ||
dataset_name: card=cards.coedit_gec,template=templates.grammatical_error_correction.simple | ||
include: unitxt | ||
recipe: card=cards.coedit_gec,template=templates.grammatical_error_correction.simple |
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,3 +1,3 @@ | ||
include: unitxt_tasks.classification.multi_class | ||
task: dbpedia_14 | ||
dataset_name: card=cards.dbpedia_14,template=templates.classification.multi_class.title | ||
include: unitxt | ||
recipe: card=cards.dbpedia_14,template=templates.classification.multi_class.title |
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,3 +1,3 @@ | ||
include: unitxt_tasks.classification.multi_class | ||
task: ethos_binary | ||
dataset_name: card=cards.ethos_binary,template=templates.classification.multi_class.title | ||
include: unitxt | ||
recipe: card=cards.ethos_binary,template=templates.classification.multi_class.title |
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,3 +1,3 @@ | ||
include: unitxt_tasks.classification.multi_class | ||
task: financial_tweets | ||
dataset_name: card=cards.financial_tweets,template=templates.classification.multi_class.title | ||
include: unitxt | ||
recipe: card=cards.financial_tweets,template=templates.classification.multi_class.title |
This file was deleted.
Oops, something went wrong.
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,3 +1,3 @@ | ||
include: unitxt_tasks.classification.multi_class | ||
task: law_stack_exchange | ||
dataset_name: card=cards.law_stack_exchange,template=templates.classification.multi_class.title | ||
include: unitxt | ||
recipe: card=cards.law_stack_exchange,template=templates.classification.multi_class.title |
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,3 +1,3 @@ | ||
include: unitxt_tasks.classification.multi_class | ||
task: ledgar | ||
dataset_name: card=cards.ledgar,template=templates.classification.multi_class.title | ||
include: unitxt | ||
recipe: card=cards.ledgar,template=templates.classification.multi_class.title |
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,3 +1,3 @@ | ||
include: unitxt_tasks.classification.multi_class | ||
task: medical_abstracts | ||
dataset_name: card=cards.medical_abstracts,template=templates.classification.multi_class.title | ||
include: unitxt | ||
recipe: card=cards.medical_abstracts,template=templates.classification.multi_class.title |
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,3 +1,3 @@ | ||
include: unitxt_tasks.regression.two_texts | ||
task: stsb | ||
dataset_name: card=cards.stsb,template=templates.regression.two_texts.simple | ||
include: unitxt | ||
recipe: card=cards.stsb,template=templates.regression.two_texts.simple |
Oops, something went wrong.