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
05a7d1da
Commit
05a7d1da
authored
Jun 19, 2023
by
haileyschoelkopf
Browse files
rename test_description.py
parent
194a806d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
tests/test_description.py
tests/test_description.py
+1
-2
No files found.
tests/test_description
_dict
.py
→
tests/test_description.py
View file @
05a7d1da
...
...
@@ -3,7 +3,7 @@ import lm_eval.tasks
import
lm_eval.models
def
test_description
_dict
():
def
test_description
():
seed
=
42
num_examples
=
1
task_names
=
[
"hellaswag"
,
"winogrande"
]
...
...
@@ -37,6 +37,5 @@ def test_description_dict():
doc
=
doc
,
num_fewshot
=
1
,
rnd
=
rnd
,
description
=
description
,
)
assert
description
in
ctx
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