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
13916e32
Commit
13916e32
authored
Nov 28, 2021
by
Leo Gao
Browse files
Pin datasets to 1.16.0
parent
8a97b28f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
lm_eval/tasks/race.py
lm_eval/tasks/race.py
+2
-0
setup.py
setup.py
+1
-1
No files found.
lm_eval/tasks/race.py
View file @
13916e32
...
@@ -22,6 +22,8 @@ class RACE(HFTask):
...
@@ -22,6 +22,8 @@ class RACE(HFTask):
cache
=
{}
cache
=
{}
letter_to_num
=
{
'A'
:
0
,
'B'
:
1
,
'C'
:
2
,
'D'
:
3
}
letter_to_num
=
{
'A'
:
0
,
'B'
:
1
,
'C'
:
2
,
'D'
:
3
}
assert
datasets
.
__version__
==
"1.16.0"
,
"RACE requires datasets==1.16.0!"
def
has_training_docs
(
self
):
def
has_training_docs
(
self
):
return
True
return
True
...
...
setup.py
View file @
13916e32
...
@@ -22,7 +22,7 @@ setuptools.setup(
...
@@ -22,7 +22,7 @@ setuptools.setup(
install_requires
=
[
install_requires
=
[
"black==20.8b1"
,
"black==20.8b1"
,
"best_download>=0.0.6"
,
"best_download>=0.0.6"
,
"datasets
>
=1.
2.1
"
,
"datasets
=
=1.
16.0
"
,
"click>=7.1"
,
"click>=7.1"
,
"scikit-learn>=0.24.1"
,
"scikit-learn>=0.24.1"
,
"torch>=1.7"
,
"torch>=1.7"
,
...
...
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