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
5c7445a4
Commit
5c7445a4
authored
Aug 10, 2023
by
lintangsutawika
Browse files
add storycloze
parent
75a6f020
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
1 deletion
+33
-1
lm_eval/tasks/README.md
lm_eval/tasks/README.md
+1
-1
lm_eval/tasks/storycloze/storycloze_2016.yaml
lm_eval/tasks/storycloze/storycloze_2016.yaml
+16
-0
lm_eval/tasks/storycloze/storycloze_2018.yaml
lm_eval/tasks/storycloze/storycloze_2018.yaml
+16
-0
No files found.
lm_eval/tasks/README.md
View file @
5c7445a4
...
...
@@ -47,7 +47,7 @@ Boxes should be checked iff tasks are implemented in the refactor and tested for
-
[x] ~~Pile (perplexity)~~
-
[x] BLiMP
-
[x] ToxiGen
-
[
] StoryCloze
(Lintang)
-
[
x
] StoryCloze
-
[ ] NaturalQs (Hailey)
-
[x] CrowS-Pairs
-
[x] XCopa
...
...
lm_eval/tasks/storycloze/storycloze_2016.yaml
0 → 100644
View file @
5c7445a4
group
:
storycloze
task
:
storycloze_2016
dataset_path
:
story_cloze
dataset_name
:
2016
output_type
:
multiple_choice
validation_split
:
validation
test_split
:
test
doc_to_text
:
"
{{[input_sentence_1,
input_sentence_2,
input_sentence_3,
input_sentence_4]|join('
')}}"
doc_to_target
:
"
{{answer_right_ending-1}}"
doc_to_choice
:
"
{{[sentence_quiz1,
sentence_quiz2]}}"
should_decontaminate
:
true
doc_to_decontamination_query
:
"
{{[input_sentence_1,
input_sentence_2,
input_sentence_3,
input_sentence_4]|join('
')}}"
metric_list
:
-
metric
:
acc
aggregation
:
mean
higher_is_better
:
true
lm_eval/tasks/storycloze/storycloze_2018.yaml
0 → 100644
View file @
5c7445a4
group
:
storycloze
task
:
storycloze_2016
dataset_path
:
story_cloze
dataset_name
:
2018
output_type
:
multiple_choice
validation_split
:
validation
test_split
:
test
doc_to_text
:
"
{{[input_sentence_1,
input_sentence_2,
input_sentence_3,
input_sentence_4]|join('
')}}"
doc_to_target
:
"
{{answer_right_ending-1}}"
doc_to_choice
:
"
{{[sentence_quiz1,
sentence_quiz2]}}"
should_decontaminate
:
true
doc_to_decontamination_query
:
"
{{[input_sentence_1,
input_sentence_2,
input_sentence_3,
input_sentence_4]|join('
')}}"
metric_list
:
-
metric
:
acc
aggregation
:
mean
higher_is_better
:
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