setup.py 1.53 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",
    ],
Fabrizio Milo's avatar
Fabrizio Milo committed
22
    python_requires=">=3.6",
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
        "promptsource": ["promptsource @ git+https://github.com/bigscience-workshop/promptsource.git#egg=promptsource"]
jon-tow's avatar
jon-tow committed
48
    },
Leo Gao's avatar
Leo Gao committed
49
)