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
aea963a1
Commit
aea963a1
authored
Dec 21, 2021
by
Jonathan Tow
Browse files
Format for consistency
parent
8ebe36b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lm_eval/tasks/truthfulqa.py
lm_eval/tasks/truthfulqa.py
+2
-1
No files found.
lm_eval/tasks/truthfulqa.py
View file @
aea963a1
...
@@ -230,7 +230,8 @@ class TruthfulQAGeneration(Task):
...
@@ -230,7 +230,8 @@ class TruthfulQAGeneration(Task):
num_fewshot
=
num_fewshot
,
num_fewshot
=
num_fewshot
,
provide_description
=
provide_description
,
provide_description
=
provide_description
,
rnd
=
rnd
,
rnd
=
rnd
,
description
=
description
)
description
=
description
)
def
construct_requests
(
self
,
doc
,
ctx
):
def
construct_requests
(
self
,
doc
,
ctx
):
""" Uses RequestFactory to construct Requests and returns an iterable of
""" Uses RequestFactory to construct Requests and returns an iterable of
...
...
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