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
6c7c413d
Commit
6c7c413d
authored
Dec 19, 2024
by
Baber
Browse files
nit
parent
1f27bd87
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lm_eval/tasks/ruler/prepare.py
lm_eval/tasks/ruler/prepare.py
+1
-1
No files found.
lm_eval/tasks/ruler/prepare.py
View file @
6c7c413d
...
@@ -210,7 +210,7 @@ def generate_samples(
...
@@ -210,7 +210,7 @@ def generate_samples(
TOKENIZER
=
None
,
TOKENIZER
=
None
,
):
):
assert
TOKENIZER
is
not
None
,
"TOKENIZER is not defined."
assert
TOKENIZER
is
not
None
,
"TOKENIZER is not defined."
print
(
"using tokenizer "
,
TOKENIZER
)
print
(
"using tokenizer "
,
TOKENIZER
.
name_or_path
)
num_needle_k
=
max
(
num_needle_k
,
num_needle_q
)
num_needle_k
=
max
(
num_needle_k
,
num_needle_q
)
write_jsons
=
[]
write_jsons
=
[]
tokens_to_generate
=
tokens_to_generate
tokens_to_generate
=
tokens_to_generate
...
...
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