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
2cfbfd72
"vscode:/vscode.git/clone" did not exist on "087e3105892dec2fa10d2ef6c3419a4f9fe0b84f"
Commit
2cfbfd72
authored
Oct 30, 2021
by
Jonathan Tow
Browse files
Update `truthfulqa` dataset checksums
parent
b67aec37
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lm_eval/tasks/truthfulqa.py
lm_eval/tasks/truthfulqa.py
+2
-2
No files found.
lm_eval/tasks/truthfulqa.py
View file @
2cfbfd72
...
@@ -57,7 +57,7 @@ class TruthfulQAMultipleChoice(Task):
...
@@ -57,7 +57,7 @@ class TruthfulQAMultipleChoice(Task):
return
return
Path
.
mkdir
(
self
.
DATASET_PATH
,
parents
=
True
)
Path
.
mkdir
(
self
.
DATASET_PATH
,
parents
=
True
)
mc_url
=
"https://raw.githubusercontent.com/sylinrl/TruthfulQA/main/data/mc_task.json"
mc_url
=
"https://raw.githubusercontent.com/sylinrl/TruthfulQA/main/data/mc_task.json"
checksum
=
"
6eb4125d25750c0145c4be2dce00440736684ab6f74ce6bff2139571cc758954
"
checksum
=
"
b3799639bc76c939836d587de7d30b48d91012cb34be04806d33106ce06c162a
"
download_file
(
mc_url
,
str
(
self
.
DATASET_PATH
/
"mc_task.json"
),
checksum
)
download_file
(
mc_url
,
str
(
self
.
DATASET_PATH
/
"mc_task.json"
),
checksum
)
def
has_training_docs
(
self
):
def
has_training_docs
(
self
):
...
@@ -158,7 +158,7 @@ class TruthfulQAGeneration(Task):
...
@@ -158,7 +158,7 @@ class TruthfulQAGeneration(Task):
return
return
Path
.
mkdir
(
self
.
DATASET_PATH
,
parents
=
True
)
Path
.
mkdir
(
self
.
DATASET_PATH
,
parents
=
True
)
url
=
"https://raw.githubusercontent.com/sylinrl/TruthfulQA/main/TruthfulQA.csv"
url
=
"https://raw.githubusercontent.com/sylinrl/TruthfulQA/main/TruthfulQA.csv"
checksum
=
"
8d7dd15f033196140f032d97d30f037da7a7b1192c3f36f9937c1850925335a2
"
checksum
=
"
f9bd9e859cc102cb1f647f1064da7e009be752c416845cf9fa56e6eaae403a7d
"
download_file
(
url
,
str
(
self
.
DATASET_PATH
/
"TruthfulQA.csv"
),
checksum
)
download_file
(
url
,
str
(
self
.
DATASET_PATH
/
"TruthfulQA.csv"
),
checksum
)
def
has_training_docs
(
self
):
def
has_training_docs
(
self
):
...
...
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