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
26bc3eab
Unverified
Commit
26bc3eab
authored
Oct 19, 2023
by
Lintang Sutawika
Committed by
GitHub
Oct 19, 2023
Browse files
Merge branch 'big-refactor' into model-written-eval
parents
0d701496
cf617ab1
Changes
381
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
tests/tests_master/test_version_stable.py
tests/tests_master/test_version_stable.py
+3
-3
No files found.
tests/tests_master/test_version_stable.py
View file @
26bc3eab
...
...
@@ -98,9 +98,9 @@ def test_versions_stable(taskname, task_class):
return
res
def
g
reedy
_until
(
reqs
):
def
g
enerate
_until
(
reqs
):
res
=
[]
assert_target_hashed
(
f
"
{
taskname
}
-v
{
task_class
.
VERSION
}
-g
reedy
_until"
,
reqs
)
assert_target_hashed
(
f
"
{
taskname
}
-v
{
task_class
.
VERSION
}
-g
enerate
_until"
,
reqs
)
for
ctx
,
_
in
[
req
.
args
for
req
in
reqs
]:
res
.
append
(
"lol"
)
...
...
@@ -110,7 +110,7 @@ def test_versions_stable(taskname, task_class):
lm
.
loglikelihood
=
ll_fn
lm
.
loglikelihood_rolling
=
ll_perp_fn
lm
.
g
reedy
_until
=
g
reedy
_until
lm
.
g
enerate
_until
=
g
enerate
_until
limit
=
None
result
=
evaluator
.
evaluate
(
...
...
Prev
1
…
16
17
18
19
20
Next
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