Commit 8b5f00c6 authored by Leymore's avatar Leymore
Browse files

update setup.py

parent 50c7a44f
human_eval/data
\ No newline at end of file
...@@ -5,7 +5,7 @@ import os ...@@ -5,7 +5,7 @@ import os
ROOT = os.path.dirname(os.path.abspath(__file__)) 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]: def read_problems(evalset_file: str = HUMAN_EVAL) -> Dict[str, Dict]:
......
...@@ -11,15 +11,11 @@ setup( ...@@ -11,15 +11,11 @@ setup(
description="", description="",
author="OpenAI", author="OpenAI",
packages=find_packages(), packages=find_packages(),
package_data={'human_eval': ['data/HumanEval.jsonl.gz']},
install_requires=[ install_requires=[
str(r) str(r)
for r in pkg_resources.parse_requirements( for r in pkg_resources.parse_requirements(
open(os.path.join(os.path.dirname(__file__), "requirements.txt")) open(os.path.join(os.path.dirname(__file__), "requirements.txt"))
) )
], ],
entry_points={
"console_scripts": [
"evaluate_functional_correctness = human_eval.evaluate_functional_correctness",
]
}
) )
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment