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
bb70131c
Commit
bb70131c
authored
Feb 10, 2025
by
Baber
Browse files
add piqa generation
parent
0dbf0255
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
lm_eval/tasks/piqa/generation.yaml
lm_eval/tasks/piqa/generation.yaml
+23
-0
No files found.
lm_eval/tasks/piqa/generation.yaml
0 → 100644
View file @
bb70131c
task
:
piqa_generation
dataset_path
:
piqa
dataset_name
:
null
output_type
:
generate_until
training_split
:
train
validation_split
:
validation
test_split
:
null
doc_to_text
:
|-
Given the following goal and two candidate answers (A and B), choose the best answer
Goal: {{goal}}
A. {{sol1}}
B. {{sol2}}
Your response should end with "The best answer is [the_answer_letter]" where the [the_answer_letter] is one of A or B.
doc_to_target
:
"
['A',
'B'][label]"
doc_to_decontamination_query
:
goal
metric_list
:
-
metric
:
exact_match
aggregation
:
mean
higher_is_better
:
true
metadata
:
version
:
1.0
dataset_kwargs
:
trust_remote_code
:
true
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