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