setup.py 1.73 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",
Leo Gao's avatar
Leo Gao committed
8
    version="0.2.0",
Leo Gao's avatar
Leo Gao committed
9
10
11
12
13
14
15
16
17
18
19
20
    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(),
    classifiers=[
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
    ],
cjlovering's avatar
cjlovering committed
21
    python_requires=">=3.6",
22
    install_requires=[
23
        "promptsource @ git+https://github.com/bigscience-workshop/promptsource@eval-hackathon",
24
25
        "wrapt",
        "nltk",
cjlovering's avatar
cjlovering committed
26
        "jinja2",
Leo Gao's avatar
Leo Gao committed
27
        "black",
Jonathan Tow's avatar
Jonathan Tow committed
28
        "datasets==2.0.0",
29
30
31
        "click>=7.1",
        "scikit-learn>=0.24.1",
        "torch>=1.7",
32
        "transformers>=4.16",
33
34
35
        "sqlitedict==1.6.0",
        "pytablewriter==0.58.0",
        "sacrebleu==1.5.0",
Jonathan Tow's avatar
Jonathan Tow committed
36
        "rouge-score==0.0.4",
37
38
        "pycountry==20.7.3",
        "numexpr==2.7.2",
Stella Biderman's avatar
Stella Biderman committed
39
        "lm_dataformat==0.0.20",
researcher2's avatar
researcher2 committed
40
41
42
        "pybind11==2.6.2",
        "tqdm-multiprocess==0.0.11",
        "zstandard==0.15.2",
Leo Gao's avatar
Leo Gao committed
43
44
        "jsonlines==2.0.0",
        "mock==4.0.3",
Muennighoff's avatar
Muennighoff committed
45
46
        "openai==0.6.4",
        "jieba==0.42.1",
Jonathan Tow's avatar
Jonathan Tow committed
47
        "nagisa==0.2.7",
cjlovering's avatar
cjlovering committed
48
        "bleurt@https://github.com/google-research/bleurt/archive/b610120347ef22b494b6d69b4316e303f5932516.zip#egg=bleurt",
Leo Gao's avatar
Leo Gao committed
49
50
51
    ],
    dependency_links=[
        "https://github.com/google-research/bleurt/archive/b610120347ef22b494b6d69b4316e303f5932516.zip#egg=bleurt",
cjlovering's avatar
cjlovering committed
52
    ],
53
    extras_require={'dev': [ 'pytest', 'black' ]}
Leo Gao's avatar
Leo Gao committed
54
)