"vscode:/vscode.git/clone" did not exist on "6439e3f193d1520c780c102e29f7e0d23d4d8268"
setup.py 1.67 KB
Newer Older
Leo Gao's avatar
Leo Gao committed
1
2
3
4
5
6
import setuptools

with open("README.md", "r", encoding="utf-8") as fh:
    long_description = fh.read()

setuptools.setup(
Leo Gao's avatar
Leo Gao committed
7
    name="lm_eval",
8
9
10
11
    version="1.0.0",
    author="EleutherAI",
    author_email="contact@eleuther.ai",
    description="A framework for evaluating language models",
Leo Gao's avatar
Leo Gao committed
12
13
14
15
16
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/EleutherAI/lm-evaluation-harness",
    packages=setuptools.find_packages(),
    classifiers=[
jon-tow's avatar
jon-tow committed
17
        "Development Status :: 3 - Alpha",
Leo Gao's avatar
Leo Gao committed
18
19
20
21
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
    ],
22
    python_requires=">=3.9",
23
    install_requires=[
24
        "accelerate>=0.18.0",
jon-tow's avatar
jon-tow committed
25
        "datasets>=2.0.0",
jon-tow's avatar
jon-tow committed
26
27
28
        "jsonlines",
        "numexpr",
        "openai>=0.6.4",
Xingjian Shi's avatar
Xingjian Shi committed
29
        "omegaconf>=2.2",
30
        "peft>=0.2.0",
jon-tow's avatar
jon-tow committed
31
32
33
34
35
        "pybind11>=2.6.2",
        "pycountry",
        "pytablewriter",
        "rouge-score>=0.0.4",
        "sacrebleu==1.5.0",
36
        "scikit-learn>=0.24.1",
jon-tow's avatar
jon-tow committed
37
        "sqlitedict",
38
        "torch>=1.7",
jon-tow's avatar
jon-tow committed
39
        "tqdm-multiprocess",
40
        "transformers>=4.1",
jon-tow's avatar
jon-tow committed
41
        "zstandard",
42
    ],
jon-tow's avatar
jon-tow committed
43
44
45
    extras_require={
        "dev": ["black", "flake8", "pre-commit", "pytest", "pytest-cov"],
        "multilingual": ["nagisa>=0.2.7", "jieba>=0.42.1"],
lintangsutawika's avatar
lintangsutawika committed
46
        "sentencepiece": ["sentencepiece>=0.1.98", "protobuf>=4.22.1"],
47
48
49
        "promptsource": [
            "promptsource @ git+https://github.com/bigscience-workshop/promptsource.git#egg=promptsource"
        ],
50
        "auto-gptq": ["auto-gptq[triton] @ git+https://github.com/PanQiWei/AutoGPTQ"],
Jason Phang's avatar
Jason Phang committed
51
        "anthropic": ["anthropic"],
jon-tow's avatar
jon-tow committed
52
    },
Leo Gao's avatar
Leo Gao committed
53
)