"docs/advanced_features/server_arguments.md" did not exist on "bb0e8a32b579b57ecc18863620dd5c7366f15af5"
Unverified Commit 8d2b96ae authored by Songyang Zhang's avatar Songyang Zhang Committed by GitHub
Browse files

Merge pull request #1 from Leymore/zfz/setup

[Fix] Update setup.py
parents 50c7a44f 8b5f00c6
Pipeline #2848 failed with stages
in 0 seconds
human_eval/data
\ No newline at end of file
......@@ -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]:
......
......@@ -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",
]
}
)
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