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
44124d95
Commit
44124d95
authored
Nov 06, 2023
by
lintangsutawika
Browse files
add space after -
parent
491d4799
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 @
44124d95
...
@@ -578,7 +578,7 @@ def evaluate(
...
@@ -578,7 +578,7 @@ def evaluate(
tab_string
=
""
tab_string
=
""
if
"tab"
in
task_results
:
if
"tab"
in
task_results
:
tab
=
task_results
.
pop
(
"tab"
)
tab
=
task_results
.
pop
(
"tab"
)
tab_string
=
" "
*
tab
+
"-"
if
tab
>
0
else
""
tab_string
=
" "
*
tab
+
"-
"
if
tab
>
0
else
""
if
task
in
task_group_alias
:
if
task
in
task_group_alias
:
task_alias
=
task_group_alias
[
task
]
task_alias
=
task_group_alias
[
task
]
...
@@ -600,7 +600,7 @@ def evaluate(
...
@@ -600,7 +600,7 @@ def evaluate(
tab_string
=
""
tab_string
=
""
if
"tab"
in
group_results
:
if
"tab"
in
group_results
:
tab
=
group_results
.
pop
(
"tab"
)
tab
=
group_results
.
pop
(
"tab"
)
tab_string
=
" "
*
tab
+
"-"
if
tab
>
0
else
""
tab_string
=
" "
*
tab
+
"-
"
if
tab
>
0
else
""
if
group
in
task_group_alias
:
if
group
in
task_group_alias
:
group_alias
=
task_group_alias
[
group
]
group_alias
=
task_group_alias
[
group
]
...
...
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