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
680c5686
Commit
680c5686
authored
Sep 14, 2023
by
baberabb
Browse files
change prompt formatting
parent
bf038375
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lm_eval/tasks/nq_open/nq_open.yaml
lm_eval/tasks/nq_open/nq_open.yaml
+2
-1
No files found.
lm_eval/tasks/nq_open/nq_open.yaml
View file @
680c5686
...
...
@@ -3,9 +3,10 @@ dataset_path: nq_open
output_type
:
greedy_until
training_split
:
train
validation_split
:
validation
description
:
"
Answer
these
questions:
\n
\n
"
description
:
"
Answer
these
questions:
\n
"
doc_to_text
:
"
Q:
{{question}}?
\n
A:"
doc_to_target
:
"
{{answer}}"
# TODO: should be multi-target
fewshot_delimiter
:
"
\n
"
generation_kwargs
:
until
:
-
"
\n
"
...
...
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