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
adbfcce1
Commit
adbfcce1
authored
Dec 18, 2024
by
Baber
Browse files
fix do_sample
parent
cf8a257c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lm_eval/tasks/longbench/_generate_config.py
lm_eval/tasks/longbench/_generate_config.py
+1
-1
No files found.
lm_eval/tasks/longbench/_generate_config.py
View file @
adbfcce1
...
@@ -151,7 +151,7 @@ if __name__ == "__main__":
...
@@ -151,7 +151,7 @@ if __name__ == "__main__":
generation_kwargs
=
{
generation_kwargs
=
{
"max_gen_toks"
:
dataset2maxlen
[
df
],
"max_gen_toks"
:
dataset2maxlen
[
df
],
"temperature"
:
1
,
"temperature"
:
1
,
"do_sample"
:
Fals
e
,
"do_sample"
:
Tru
e
,
}
}
raw_doc_to_text
=
(
raw_doc_to_text
=
(
dataset2prompt
[
df
]
dataset2prompt
[
df
]
...
...
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