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
805b541c
Commit
805b541c
authored
Feb 21, 2021
by
Jon Tow
Browse files
Add acknowledgement to official implementation
parent
5894761a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
lm_eval/tasks/drop.py
lm_eval/tasks/drop.py
+5
-0
No files found.
lm_eval/tasks/drop.py
View file @
805b541c
...
@@ -9,6 +9,11 @@ from lm_eval.metrics import mean
...
@@ -9,6 +9,11 @@ from lm_eval.metrics import mean
from
pathlib
import
Path
from
pathlib
import
Path
from
zipfile
import
ZipFile
from
zipfile
import
ZipFile
"""
Acknowledgement: This implementation is based on the official evaluation for `DROP`:
https://github.com/allenai/allennlp-reading-comprehension/blob/master/allennlp_rc/eval/drop_eval.py
"""
class
DROP
(
Task
):
class
DROP
(
Task
):
DATAFOLDER
=
Path
(
"data/drop"
)
DATAFOLDER
=
Path
(
"data/drop"
)
...
...
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