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
human-eval
Commits
8b5f00c6
Commit
8b5f00c6
authored
Mar 14, 2024
by
Leymore
Browse files
update setup.py
parent
50c7a44f
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
3 additions
and
6 deletions
+3
-6
data
data
+1
-0
human_eval/data.py
human_eval/data.py
+1
-1
human_eval/data/HumanEval.jsonl.gz
human_eval/data/HumanEval.jsonl.gz
+0
-0
human_eval/data/example_problem.jsonl
human_eval/data/example_problem.jsonl
+0
-0
human_eval/data/example_samples.jsonl
human_eval/data/example_samples.jsonl
+0
-0
setup.py
setup.py
+1
-5
No files found.
data
0 → 120000
View file @
8b5f00c6
human_eval/data
\ No newline at end of file
human_eval/data.py
View file @
8b5f00c6
...
...
@@ -5,7 +5,7 @@ import os
ROOT
=
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
))
HUMAN_EVAL
=
os
.
path
.
join
(
ROOT
,
".."
,
"data"
,
"HumanEval.jsonl.gz"
)
HUMAN_EVAL
=
os
.
path
.
join
(
ROOT
,
"data"
,
"HumanEval.jsonl.gz"
)
def
read_problems
(
evalset_file
:
str
=
HUMAN_EVAL
)
->
Dict
[
str
,
Dict
]:
...
...
data/HumanEval.jsonl.gz
→
human_eval/
data/HumanEval.jsonl.gz
View file @
8b5f00c6
File moved
data/example_problem.jsonl
→
human_eval/
data/example_problem.jsonl
View file @
8b5f00c6
File moved
data/example_samples.jsonl
→
human_eval/
data/example_samples.jsonl
View file @
8b5f00c6
File moved
setup.py
View file @
8b5f00c6
...
...
@@ -11,15 +11,11 @@ setup(
description
=
""
,
author
=
"OpenAI"
,
packages
=
find_packages
(),
package_data
=
{
'human_eval'
:
[
'data/HumanEval.jsonl.gz'
]},
install_requires
=
[
str
(
r
)
for
r
in
pkg_resources
.
parse_requirements
(
open
(
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
"requirements.txt"
))
)
],
entry_points
=
{
"console_scripts"
:
[
"evaluate_functional_correctness = human_eval.evaluate_functional_correctness"
,
]
}
)
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