Skip to content

Commit

Permalink
fix piqa instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
huyiwen committed May 24, 2024
1 parent beb50ab commit 6729571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utilization/dataset/piqa.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class PIQA(MultipleChoiceDataset):
'a water bottle and a food dish.'
"""

instruction = "Question: {{goal}}{{'\n' + opitons if options}}\nAnswer:"
instruction = "Question: {{goal}}{{'\n' + options if options}}\nAnswer:"
evaluation_set = "validation"
example_set = "train"
load_args = ("piqa",)
Expand Down

0 comments on commit 6729571

Please sign in to comment.