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
0e56fcca
Unverified
Commit
0e56fcca
authored
Jun 29, 2023
by
Lintang Sutawika
Committed by
GitHub
Jun 29, 2023
Browse files
Merge pull request #624 from EleutherAI/log-args
[Refactor] Log request arguments to per-sample json
parents
bd5b29eb
fb108f2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
lm_eval/evaluator.py
lm_eval/evaluator.py
+1
-0
No files found.
lm_eval/evaluator.py
View file @
0e56fcca
...
@@ -281,6 +281,7 @@ def evaluate(
...
@@ -281,6 +281,7 @@ def evaluate(
"doc_id"
:
doc_id
,
"doc_id"
:
doc_id
,
"doc"
:
doc
,
"doc"
:
doc
,
"target"
:
target
,
"target"
:
target
,
"arguments"
:
req
.
args
,
"resps"
:
[
req
.
resps
for
req
in
requests
],
"resps"
:
[
req
.
resps
for
req
in
requests
],
"filtered_resps"
:
[
req
.
filtered_resps
[
key
]
for
req
in
requests
],
"filtered_resps"
:
[
req
.
filtered_resps
[
key
]
for
req
in
requests
],
}
}
...
...
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