forked from DavdGao/helm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
43 lines (39 loc) · 1.4 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
from setuptools import setup, find_packages
def get_requirements(path: str):
requirements = []
for line in open(path):
if not line.startswith('-r'):
requirements.append(line.strip())
return requirements
setup(
name="crfm-helm",
version="0.2.2",
description="Benchmark for language models",
long_description="Benchmark for language models",
url="https://github.com/stanford-crfm/helm",
author="Stanford CRFM",
author_email="[email protected]",
license="Apache License 2.0",
keywords="language models benchmarking",
packages=find_packages("src", exclude=["tests*"]),
classifiers=[
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"License :: OSI Approved :: Apache Software License",
],
python_requires="~=3.8",
include_package_data=True,
package_dir={"": "src"},
install_requires=get_requirements("requirements.txt"),
entry_points={
"console_scripts": [
"helm-run=helm.benchmark.run:main",
"helm-summarize=helm.benchmark.presentation.summarize:main",
"helm-server=helm.benchmark.server:main",
"helm-create-plots=helm.benchmark.presentation.create_plots:main",
"crfm-proxy-server=helm.proxy.server:main",
"crfm-proxy-cli=helm.proxy.cli:main",
]
},
zip_safe=False,
)