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
f33d3758
Commit
f33d3758
authored
Aug 08, 2023
by
haileyschoelkopf
Browse files
fix error in a logging msg
parent
87323176
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lm_eval/evaluator.py
lm_eval/evaluator.py
+1
-1
No files found.
lm_eval/evaluator.py
View file @
f33d3758
...
@@ -253,7 +253,7 @@ def evaluate(
...
@@ -253,7 +253,7 @@ def evaluate(
eval_logger
.
info
(
eval_logger
.
info
(
f
"Task:
{
task_name
}
; document
{
inst
.
doc_id
}
; context prompt (starting on next line):
\n
{
inst
.
args
[
0
]
}
\n
(end of prompt on previous line)"
f
"Task:
{
task_name
}
; document
{
inst
.
doc_id
}
; context prompt (starting on next line):
\n
{
inst
.
args
[
0
]
}
\n
(end of prompt on previous line)"
)
)
eval_logger
.
info
(
"Request:
"
,
inst
)
eval_logger
.
info
(
f
"Request:
{
str
(
inst
)
}
"
)
# aggregate Instances by LM method requested to get output.
# aggregate Instances by LM method requested to get output.
reqtype
=
(
reqtype
=
(
...
...
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