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
d26ae30c
"tests/pipelines/animatediff/test_animatediff_controlnet.py" did not exist on "ba352aea29df9a7f086bf0815fe9fe479218f801"
Commit
d26ae30c
authored
Jun 19, 2024
by
Hojin Lee
Browse files
add greedy version of humaneval
parent
6888524e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
0 deletions
+27
-0
lm_eval/tasks/humaneval/humaneval-greedy.yaml
lm_eval/tasks/humaneval/humaneval-greedy.yaml
+27
-0
No files found.
lm_eval/tasks/humaneval/humaneval-greedy.yaml
0 → 100644
View file @
d26ae30c
task
:
humaneval_greedy
dataset_path
:
openai/openai_humaneval
output_type
:
generate_until
test_split
:
test
doc_to_text
:
"
{{prompt}}"
doc_to_target
:
!function
utils.build_references
metric_list
:
-
metric
:
!function
utils.pass_at_1
aggregation
:
mean
higher_is_better
:
true
generation_kwargs
:
until
:
-
"
\n
class"
-
"
\n
def"
-
"
\n
#"
-
"
\n
if"
-
"
\n
print"
do_sample
:
false
repeats
:
1
num_fewshot
:
0
filter_list
:
-
name
:
"
n=1"
# number of samples to estimate pass@k
filter
:
-
function
:
"
custom"
filter_fn
:
!function
utils.build_predictions
metadata
:
version
:
1.0
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