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
1bc6cdb1
Commit
1bc6cdb1
authored
Dec 16, 2021
by
Jonathan Tow
Browse files
Add type info to doc-string
parent
744482bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lm_eval/evaluator.py
lm_eval/evaluator.py
+2
-2
No files found.
lm_eval/evaluator.py
View file @
1bc6cdb1
...
@@ -32,7 +32,7 @@ def simple_evaluate(model, model_args, task_names,
...
@@ -32,7 +32,7 @@ def simple_evaluate(model, model_args, task_names,
Limit the number of examples per task (only use this for testing)
Limit the number of examples per task (only use this for testing)
:param bootstrap_iters:
:param bootstrap_iters:
Number of iterations for bootstrap statistics
Number of iterations for bootstrap statistics
:param description_dict:
:param description_dict:
dict[str, str]
Dictionary of custom task descriptions of the form: `task_name: description`
Dictionary of custom task descriptions of the form: `task_name: description`
:return
:return
Dictionary of results
Dictionary of results
...
@@ -83,7 +83,7 @@ def evaluate(lm, task_dict, provide_description, num_fewshot, limit, bootstrap_i
...
@@ -83,7 +83,7 @@ def evaluate(lm, task_dict, provide_description, num_fewshot, limit, bootstrap_i
Limit the number of examples per task (only use this for testing)
Limit the number of examples per task (only use this for testing)
:param bootstrap_iters:
:param bootstrap_iters:
Number of iterations for bootstrap statistics
Number of iterations for bootstrap statistics
:param description_dict:
:param description_dict:
dict[str, str]
Dictionary of custom task descriptions of the form: `task_name: description`
Dictionary of custom task descriptions of the form: `task_name: description`
:return
:return
Dictionary of results
Dictionary of results
...
...
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