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
a4bc4846
Commit
a4bc4846
authored
May 14, 2024
by
Konrad
Browse files
typing update
parent
921c4d62
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
lm_eval/api/task.py
lm_eval/api/task.py
+1
-1
lm_eval/evaluator.py
lm_eval/evaluator.py
+2
-2
No files found.
lm_eval/api/task.py
View file @
a4bc4846
...
...
@@ -988,7 +988,7 @@ class ConfigurableTask(Task):
self
,
doc
:
str
,
num_fewshot
:
int
,
system_instruction
:
str
=
None
,
system_instruction
:
Optional
[
str
]
=
None
,
apply_chat_template
:
bool
=
False
,
fewshot_as_multiturn
:
bool
=
False
,
tokenizer
=
None
,
...
...
lm_eval/evaluator.py
View file @
a4bc4846
...
...
@@ -55,7 +55,7 @@ def simple_evaluate(
check_integrity
:
bool
=
False
,
write_out
:
bool
=
False
,
log_samples
:
bool
=
True
,
system_instruction
:
str
=
None
,
system_instruction
:
Optional
[
str
]
=
None
,
apply_chat_template
:
bool
=
False
,
fewshot_as_multiturn
:
bool
=
False
,
gen_kwargs
:
Optional
[
str
]
=
None
,
...
...
@@ -329,7 +329,7 @@ def evaluate(
bootstrap_iters
:
Optional
[
int
]
=
100000
,
write_out
:
bool
=
False
,
log_samples
:
bool
=
True
,
system_instruction
:
str
=
None
,
system_instruction
:
Optional
[
str
]
=
None
,
apply_chat_template
:
bool
=
False
,
fewshot_as_multiturn
:
bool
=
False
,
verbosity
:
str
=
"INFO"
,
...
...
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