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
ed9c6fc8
Unverified
Commit
ed9c6fc8
authored
Jan 22, 2025
by
Minho Ryu
Committed by
GitHub
Jan 21, 2025
Browse files
revise mbpp prompt (#2645)
parent
12b6eeb5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lm_eval/tasks/mbpp/mbpp.yaml
lm_eval/tasks/mbpp/mbpp.yaml
+2
-2
No files found.
lm_eval/tasks/mbpp/mbpp.yaml
View file @
ed9c6fc8
...
@@ -4,9 +4,9 @@ dataset_name: full
...
@@ -4,9 +4,9 @@ dataset_name: full
unsafe_code
:
true
unsafe_code
:
true
output_type
:
generate_until
output_type
:
generate_until
test_split
:
test
test_split
:
test
doc_to_text
:
"
You
are
an
expert
Python
programmer,
and
here
is
your
task:
{{text}}
Your
code
should
pass
these
tests:
\n\n
{{test_list[0]}}
\n
{{test_list[1]}}
\n
{{test_list[2]}}
\n
[BEGIN]"
doc_to_text
:
"
You
are
an
expert
Python
programmer,
and
here
is
your
task:
{{text}}
Your
code
should
pass
these
tests:
\n\n
{{test_list[0]}}
\n
{{test_list[1]}}
\n
{{test_list[2]}}
\n
[BEGIN]
\n
"
doc_to_target
:
"
{%
if
is_fewshot
is
defined
%}{{code}}
\n
[DONE]{%
else
%}{{test_list[0]}}
\n
{{test_list[1]}}
\n
{{test_list[2]}}{%
endif
%}"
doc_to_target
:
"
{%
if
is_fewshot
is
defined
%}{{code}}
\n
[DONE]{%
else
%}{{test_list[0]}}
\n
{{test_list[1]}}
\n
{{test_list[2]}}{%
endif
%}"
target_delimiter
:
"
\n
"
target_delimiter
:
"
"
metric_list
:
metric_list
:
-
metric
:
!function
utils.pass_at_1
-
metric
:
!function
utils.pass_at_1
aggregation
:
mean
aggregation
:
mean
...
...
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