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
a4b6f914
Commit
a4b6f914
authored
Jun 29, 2023
by
Benjamin Fattori
Browse files
SWAG completed
parent
886190e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
lm_eval/tasks/swag/swag.yaml
lm_eval/tasks/swag/swag.yaml
+20
-0
No files found.
lm_eval/tasks/swag/swag.yaml
View file @
a4b6f914
group
:
-
multiple_choice
task
:
swag
dataset_path
:
swag
dataset_name
:
regular
output_type
:
multiple_choice
training_split
:
train
validation_split
:
validation
test_split
:
null
template_aliases
:
"
{%
set
answer_choices
=
[ending0,
ending1,
ending2,
ending3]
%}{%
set
gold
=
label
%}"
doc_to_text
:
"
{{startphrase}}"
doc_to_target
:
"
{{answer_choices[gold]}}"
gold_alias
:
"
{{gold}}"
metric_list
:
-
metric
:
acc
aggregation
:
mean
higher_is_better
:
true
-
metric
:
acc_norm
aggregation
:
mean
higher_is_better
:
true
\ No newline at end of file
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