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
dc5b3d5d
Unverified
Commit
dc5b3d5d
authored
Nov 28, 2023
by
Stella Biderman
Committed by
GitHub
Nov 28, 2023
Browse files
Merge pull request #1031 from EleutherAI/versioning
[Refactor] Versioning
parents
39c2bb4e
52f75f0e
Changes
128
Show whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
40 additions
and
0 deletions
+40
-0
lm_eval/tasks/code_x_glue/code-text/php.yaml
lm_eval/tasks/code_x_glue/code-text/php.yaml
+2
-0
lm_eval/tasks/code_x_glue/code-text/python.yaml
lm_eval/tasks/code_x_glue/code-text/python.yaml
+2
-0
lm_eval/tasks/code_x_glue/code-text/ruby.yaml
lm_eval/tasks/code_x_glue/code-text/ruby.yaml
+2
-0
lm_eval/tasks/coqa/default.yaml
lm_eval/tasks/coqa/default.yaml
+2
-0
lm_eval/tasks/crows_pairs/crows_pairs_english.yaml
lm_eval/tasks/crows_pairs/crows_pairs_english.yaml
+2
-0
lm_eval/tasks/csatqa/_default_csatqa_yaml
lm_eval/tasks/csatqa/_default_csatqa_yaml
+2
-0
lm_eval/tasks/drop/default.yaml
lm_eval/tasks/drop/default.yaml
+2
-0
lm_eval/tasks/glue/cola/default.yaml
lm_eval/tasks/glue/cola/default.yaml
+2
-0
lm_eval/tasks/glue/mnli/default.yaml
lm_eval/tasks/glue/mnli/default.yaml
+2
-0
lm_eval/tasks/glue/mrpc/default.yaml
lm_eval/tasks/glue/mrpc/default.yaml
+2
-0
lm_eval/tasks/glue/qnli/default.yaml
lm_eval/tasks/glue/qnli/default.yaml
+2
-0
lm_eval/tasks/glue/qqp/default.yaml
lm_eval/tasks/glue/qqp/default.yaml
+2
-0
lm_eval/tasks/glue/rte/default.yaml
lm_eval/tasks/glue/rte/default.yaml
+2
-0
lm_eval/tasks/glue/sst/default.yaml
lm_eval/tasks/glue/sst/default.yaml
+2
-0
lm_eval/tasks/glue/wnli/default.yaml
lm_eval/tasks/glue/wnli/default.yaml
+2
-0
lm_eval/tasks/gsm8k/gsm8k-cot-self-consistency.yaml
lm_eval/tasks/gsm8k/gsm8k-cot-self-consistency.yaml
+2
-0
lm_eval/tasks/gsm8k/gsm8k-cot.yaml
lm_eval/tasks/gsm8k/gsm8k-cot.yaml
+2
-0
lm_eval/tasks/gsm8k/gsm8k.yaml
lm_eval/tasks/gsm8k/gsm8k.yaml
+2
-0
lm_eval/tasks/headqa/headqa_en.yaml
lm_eval/tasks/headqa/headqa_en.yaml
+2
-0
lm_eval/tasks/hellaswag/hellaswag.yaml
lm_eval/tasks/hellaswag/hellaswag.yaml
+2
-0
No files found.
lm_eval/tasks/code_x_glue/code-text/php.yaml
View file @
dc5b3d5d
...
@@ -17,3 +17,5 @@ metric_list:
...
@@ -17,3 +17,5 @@ metric_list:
-
metric
:
!function
bleu.smoothed_bleu_4
-
metric
:
!function
bleu.smoothed_bleu_4
aggregation
:
mean
aggregation
:
mean
higher_is_better
:
True
higher_is_better
:
True
metadata
:
-
version
:
0.0
lm_eval/tasks/code_x_glue/code-text/python.yaml
View file @
dc5b3d5d
...
@@ -17,3 +17,5 @@ metric_list:
...
@@ -17,3 +17,5 @@ metric_list:
-
metric
:
!function
bleu.smoothed_bleu_4
-
metric
:
!function
bleu.smoothed_bleu_4
aggregation
:
mean
aggregation
:
mean
higher_is_better
:
True
higher_is_better
:
True
metadata
:
-
version
:
0.0
lm_eval/tasks/code_x_glue/code-text/ruby.yaml
View file @
dc5b3d5d
...
@@ -17,3 +17,5 @@ metric_list:
...
@@ -17,3 +17,5 @@ metric_list:
-
metric
:
!function
bleu.smoothed_bleu_4
-
metric
:
!function
bleu.smoothed_bleu_4
aggregation
:
mean
aggregation
:
mean
higher_is_better
:
True
higher_is_better
:
True
metadata
:
-
version
:
2.0
lm_eval/tasks/coqa/default.yaml
View file @
dc5b3d5d
...
@@ -18,3 +18,5 @@ metric_list:
...
@@ -18,3 +18,5 @@ metric_list:
-
metric
:
f1
-
metric
:
f1
aggregation
:
mean
aggregation
:
mean
higher_is_better
:
true
higher_is_better
:
true
metadata
:
-
version
:
2.0
lm_eval/tasks/crows_pairs/crows_pairs_english.yaml
View file @
dc5b3d5d
...
@@ -19,3 +19,5 @@ metric_list:
...
@@ -19,3 +19,5 @@ metric_list:
-
metric
:
pct_stereotype
-
metric
:
pct_stereotype
aggregation
:
mean
aggregation
:
mean
higher_is_better
:
false
higher_is_better
:
false
metadata
:
-
version
:
1.0
lm_eval/tasks/csatqa/_default_csatqa_yaml
View file @
dc5b3d5d
...
@@ -13,3 +13,5 @@ metric_list:
...
@@ -13,3 +13,5 @@ metric_list:
- metric: acc_norm
- metric: acc_norm
aggregation: mean
aggregation: mean
higher_is_better: true
higher_is_better: true
metadata:
- version: 0.0
lm_eval/tasks/drop/default.yaml
View file @
dc5b3d5d
...
@@ -20,3 +20,5 @@ metric_list:
...
@@ -20,3 +20,5 @@ metric_list:
-
metric
:
f1
-
metric
:
f1
aggregation
:
mean
aggregation
:
mean
higher_is_better
:
true
higher_is_better
:
true
metadata
:
-
version
:
2.0
lm_eval/tasks/glue/cola/default.yaml
View file @
dc5b3d5d
...
@@ -12,3 +12,5 @@ should_decontaminate: true
...
@@ -12,3 +12,5 @@ should_decontaminate: true
doc_to_decontamination_query
:
sentence
doc_to_decontamination_query
:
sentence
metric_list
:
metric_list
:
-
metric
:
mcc
-
metric
:
mcc
metadata
:
-
version
:
1.0
lm_eval/tasks/glue/mnli/default.yaml
View file @
dc5b3d5d
...
@@ -10,3 +10,5 @@ doc_to_target: label
...
@@ -10,3 +10,5 @@ doc_to_target: label
doc_to_choice
:
[
"
True"
,
"
Neither"
,
"
False"
]
doc_to_choice
:
[
"
True"
,
"
Neither"
,
"
False"
]
metric_list
:
metric_list
:
-
metric
:
acc
-
metric
:
acc
metadata
:
-
version
:
1.0
lm_eval/tasks/glue/mrpc/default.yaml
View file @
dc5b3d5d
...
@@ -11,3 +11,5 @@ doc_to_choice: ["no", "yes"]
...
@@ -11,3 +11,5 @@ doc_to_choice: ["no", "yes"]
metric_list
:
metric_list
:
-
metric
:
acc
-
metric
:
acc
-
metric
:
f1
-
metric
:
f1
metadata
:
-
version
:
1.0
lm_eval/tasks/glue/qnli/default.yaml
View file @
dc5b3d5d
...
@@ -10,3 +10,5 @@ doc_to_target: label
...
@@ -10,3 +10,5 @@ doc_to_target: label
doc_to_choice
:
[
"
yes"
,
"
no"
]
doc_to_choice
:
[
"
yes"
,
"
no"
]
metric_list
:
metric_list
:
-
metric
:
acc
-
metric
:
acc
metadata
:
-
version
:
1.0
lm_eval/tasks/glue/qqp/default.yaml
View file @
dc5b3d5d
...
@@ -12,3 +12,5 @@ doc_to_choice: ["no", "yes"]
...
@@ -12,3 +12,5 @@ doc_to_choice: ["no", "yes"]
metric_list
:
metric_list
:
-
metric
:
acc
-
metric
:
acc
-
metric
:
f1
-
metric
:
f1
metadata
:
-
version
:
1.0
lm_eval/tasks/glue/rte/default.yaml
View file @
dc5b3d5d
...
@@ -10,3 +10,5 @@ doc_to_target: label
...
@@ -10,3 +10,5 @@ doc_to_target: label
doc_to_choice
:
[
"
True"
,
"
False"
]
doc_to_choice
:
[
"
True"
,
"
False"
]
metric_list
:
metric_list
:
-
metric
:
acc
-
metric
:
acc
metadata
:
-
version
:
1.0
lm_eval/tasks/glue/sst/default.yaml
View file @
dc5b3d5d
...
@@ -10,3 +10,5 @@ doc_to_target: label
...
@@ -10,3 +10,5 @@ doc_to_target: label
doc_to_choice
:
[
"
negative"
,
"
positive"
]
doc_to_choice
:
[
"
negative"
,
"
positive"
]
metric_list
:
metric_list
:
-
metric
:
acc
-
metric
:
acc
metadata
:
-
version
:
1.0
lm_eval/tasks/glue/wnli/default.yaml
View file @
dc5b3d5d
...
@@ -10,3 +10,5 @@ doc_to_target: label
...
@@ -10,3 +10,5 @@ doc_to_target: label
doc_to_choice
:
[
"
False"
,
"
True"
]
doc_to_choice
:
[
"
False"
,
"
True"
]
metric_list
:
metric_list
:
-
metric
:
acc
-
metric
:
acc
metadata
:
-
version
:
2.0
lm_eval/tasks/gsm8k/gsm8k-cot-self-consistency.yaml
View file @
dc5b3d5d
...
@@ -30,3 +30,5 @@ filter_list:
...
@@ -30,3 +30,5 @@ filter_list:
regex_pattern
:
"
The
answer
is
(
\\
-?[0-9
\\
.
\\
,]*[0-9]+)"
regex_pattern
:
"
The
answer
is
(
\\
-?[0-9
\\
.
\\
,]*[0-9]+)"
-
function
:
"
majority_vote"
-
function
:
"
majority_vote"
-
function
:
"
take_first"
-
function
:
"
take_first"
metadata
:
-
version
:
0.0
lm_eval/tasks/gsm8k/gsm8k-cot.yaml
View file @
dc5b3d5d
...
@@ -40,3 +40,5 @@ filter_list:
...
@@ -40,3 +40,5 @@ filter_list:
-
function
:
"
regex"
-
function
:
"
regex"
regex_pattern
:
"
The
answer
is
(
\\
-?[0-9
\\
.
\\
,]+)."
regex_pattern
:
"
The
answer
is
(
\\
-?[0-9
\\
.
\\
,]+)."
-
function
:
"
take_first"
-
function
:
"
take_first"
metadata
:
-
version
:
0.0
lm_eval/tasks/gsm8k/gsm8k.yaml
View file @
dc5b3d5d
...
@@ -33,3 +33,5 @@ filter_list:
...
@@ -33,3 +33,5 @@ filter_list:
-
function
:
"
regex"
-
function
:
"
regex"
regex_pattern
:
"
####
(
\\
-?[0-9
\\
.
\\
,]+)"
regex_pattern
:
"
####
(
\\
-?[0-9
\\
.
\\
,]+)"
-
function
:
"
take_first"
-
function
:
"
take_first"
metadata
:
-
version
:
1.0
lm_eval/tasks/headqa/headqa_en.yaml
View file @
dc5b3d5d
...
@@ -19,3 +19,5 @@ metric_list:
...
@@ -19,3 +19,5 @@ metric_list:
-
metric
:
acc_norm
-
metric
:
acc_norm
aggregation
:
mean
aggregation
:
mean
higher_is_better
:
true
higher_is_better
:
true
metadata
:
-
version
:
1.0
lm_eval/tasks/hellaswag/hellaswag.yaml
View file @
dc5b3d5d
...
@@ -18,3 +18,5 @@ metric_list:
...
@@ -18,3 +18,5 @@ metric_list:
-
metric
:
acc_norm
-
metric
:
acc_norm
aggregation
:
mean
aggregation
:
mean
higher_is_better
:
true
higher_is_better
:
true
metadata
:
-
version
:
1.0
Prev
1
2
3
4
5
6
7
Next
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