Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
lm-evaluation-harness
Commits
c4ecbd6d
Commit
c4ecbd6d
authored
Jun 09, 2021
by
Leo Gao
Browse files
Omit unimplemented tasks from coverage
parent
142ee24f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
15 deletions
+11
-15
.coveragerc
.coveragerc
+10
-0
download_all.sh
download_all.sh
+0
-14
lm_eval/tasks/__init__.py
lm_eval/tasks/__init__.py
+1
-1
No files found.
.coveragerc
0 → 100644
View file @
c4ecbd6d
[run]
# tasks that aren't wired up.
omit =
lm_eval/tasks/quac.py
lm_eval/tasks/storycloze.py
lm_eval/tasks/cbt.py
lm_eval/tasks/sat.py
lm_eval/tasks/triviaqa.py
lm_eval/tasks/naturalqs.py
\ No newline at end of file
download_all.sh
deleted
100755 → 0
View file @
142ee24f
# NLP generally do not require separately downloading data
#coqa
mkdir
-p
data/coqa
wget http://downloads.cs.stanford.edu/nlp/data/coqa/coqa-train-v1.0.json
-O
data/coqa/coqa-train-v1.0.json
wget http://downloads.cs.stanford.edu/nlp/data/coqa/coqa-dev-v1.0.json
-O
data/coqa/coqa-dev-v1.0.json
#drop
mkdir
-p
data/drop
wget https://s3-us-west-2.amazonaws.com/allennlp/datasets/drop/drop_dataset.zip
-O
data/drop.zip
unzip data/drop.zip
-d
data/drop
rm
data/drop.zip
mv
data/drop/drop_dataset/
*
data/drop
rm
-rf
data/drop/drop_dataset
lm_eval/tasks/__init__.py
View file @
c4ecbd6d
...
...
@@ -103,7 +103,7 @@ TASK_REGISTRY = {
# Science related
"pubmedqa"
:
pubmedqa
.
Pubmed_QA
,
"sciq"
:
sciq
.
SciQ
,
#"qa4mre" : qa4mre.QA4MRE,
"qa4mre_2011"
:
qa4mre
.
QA4MRE_2011
,
"qa4mre_2012"
:
qa4mre
.
QA4MRE_2012
,
"qa4mre_2013"
:
qa4mre
.
QA4MRE_2013
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment