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
81122e3d
Commit
81122e3d
authored
Aug 13, 2021
by
Leo Gao
Browse files
Update version and testdata for DROP
parent
5dbeba0d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletion
+3
-1
lm_eval/tasks/drop.py
lm_eval/tasks/drop.py
+1
-1
tests/testdata/drop-v1-greedy_until
tests/testdata/drop-v1-greedy_until
+1
-0
tests/testdata/drop-v1-res.json
tests/testdata/drop-v1-res.json
+1
-0
No files found.
lm_eval/tasks/drop.py
View file @
81122e3d
...
...
@@ -17,7 +17,7 @@ https://github.com/allenai/allennlp-reading-comprehension/blob/master/allennlp_r
_ARTICLES
=
re
.
compile
(
r
"\b(a|an|the)\b"
,
re
.
UNICODE
)
class
DROP
(
Task
):
VERSION
=
0
VERSION
=
1
DATASET_PATH
=
Path
(
"data/drop"
)
def
download
(
self
):
...
...
tests/testdata/drop-v1-greedy_until
0 → 100644
View file @
81122e3d
a670f911ab2999d72db15f534b22703d19e7837edbda4f9f199ad587f7aae6b2
\ No newline at end of file
tests/testdata/drop-v1-res.json
0 → 100644
View file @
81122e3d
{
"results"
:
{
"drop"
:
{
"em"
:
0.0
,
"em_stderr"
:
0.0
,
"f1"
:
0.0
,
"f1_stderr"
:
0.0
}},
"versions"
:
{
"drop"
:
1
}}
\ No newline at end of file
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