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
2ade9693
Commit
2ade9693
authored
Oct 17, 2023
by
lintangsutawika
Browse files
template yaml
parent
11fdcb49
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
lm_eval/tasks/squadv2/_template.yaml
lm_eval/tasks/squadv2/_template.yaml
+8
-0
No files found.
lm_eval/tasks/squadv2/_template.yaml
0 → 100644
View file @
2ade9693
dataset_path
:
squad_v2
training_split
:
train
validation_split
:
validation
doc_to_text
:
"
Title:
{{title}}
\n\n
Background:
{{context}}
\n\n
Question:
{{question}}
\n\n
Answer:"
doc_to_target
:
"
{%
if
answers.text|
length
>
0
%}{{answers.text}}{%
else
%}{{['']}}{%
endif
%}"
target_delimiter
:
"
"
should_decontaminate
:
true
doc_to_decontamination_query
:
context
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