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
c27e29e1
Commit
c27e29e1
authored
Apr 26, 2022
by
jon-tow
Browse files
Force no caching while testing
parent
f33717c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
lm_eval/evaluator.py
lm_eval/evaluator.py
+2
-0
No files found.
lm_eval/evaluator.py
View file @
c27e29e1
...
...
@@ -70,6 +70,8 @@ def simple_evaluate(
assert
isinstance
(
model
,
lm_eval
.
base
.
LM
)
lm
=
model
# TODO: Hard-code turning off cache while testing. Remove once testing is completed.
no_cache
=
True
if
not
no_cache
:
lm
=
lm_eval
.
base
.
CachingLM
(
lm
,
...
...
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