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
33b01a2b
You need to sign in or sign up before continuing.
Commit
33b01a2b
authored
Apr 27, 2023
by
lintangsutawika
Browse files
metric list easier to define args
parent
f107ae29
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
examples/configurable_task/sglue_cb.yaml
examples/configurable_task/sglue_cb.yaml
+6
-7
No files found.
examples/configurable_task/sglue_cb.yaml
View file @
33b01a2b
...
@@ -5,10 +5,9 @@ validation_split: validation
...
@@ -5,10 +5,9 @@ validation_split: validation
template_aliases
:
"
{%
set
hypo
=
hypothesis
%}"
template_aliases
:
"
{%
set
hypo
=
hypothesis
%}"
doc_to_text
:
"
Suppose
{{premise}}
Can
we
infer
that
\"
{{hypo}}
\"
?
Yes,
no,
or
maybe?"
doc_to_text
:
"
Suppose
{{premise}}
Can
we
infer
that
\"
{{hypo}}
\"
?
Yes,
no,
or
maybe?"
doc_to_target
:
"
{%
set
answer_choices
=
['Yes',
'No',
'Maybe']
%}{{answer_choices[label]}}"
doc_to_target
:
"
{%
set
answer_choices
=
['Yes',
'No',
'Maybe']
%}{{answer_choices[label]}}"
metric_list
:
[
metric_list
:
[
exact_match
,
mean
,
true
]
-
metric
:
exact_match
]
aggregation
:
mean
# filters: [
higher_is_better
:
true
# ["none", ["take_first"]]
ignore_case
:
true
# ]
ignore_punctuation
:
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