setup.py 1.39 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=[
jon-tow's avatar
jon-tow committed
24
        "datasets>=2.0.0",
jon-tow's avatar
jon-tow committed
25
26
27
        "jsonlines",
        "numexpr",
        "openai>=0.6.4",
Xingjian Shi's avatar
Xingjian Shi committed
28
        "omegaconf>=2.2",
29
        "peft>=0.2.0",
jon-tow's avatar
jon-tow committed
30
31
32
33
34
        "pybind11>=2.6.2",
        "pycountry",
        "pytablewriter",
        "rouge-score>=0.0.4",
        "sacrebleu==1.5.0",
35
        "scikit-learn>=0.24.1",
jon-tow's avatar
jon-tow committed
36
        "sqlitedict",
37
        "torch>=1.7",
jon-tow's avatar
jon-tow committed
38
        "tqdm-multiprocess",
39
        "transformers>=4.1",
jon-tow's avatar
jon-tow committed
40
        "zstandard",
41
    ],
jon-tow's avatar
jon-tow committed
42
43
44
    extras_require={
        "dev": ["black", "flake8", "pre-commit", "pytest", "pytest-cov"],
        "multilingual": ["nagisa>=0.2.7", "jieba>=0.42.1"],
lintangsutawika's avatar
lintangsutawika committed
45
        "sentencepiece": ["sentencepiece>=0.1.98", "protobuf>=4.22.1"],
jon-tow's avatar
jon-tow committed
46
    },
Leo Gao's avatar
Leo Gao committed
47
)