-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
71 lines (64 loc) · 1.47 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
from os import path
import setuptools
path_to_repo = path.abspath(path.dirname(__file__))
with open(path.join(path_to_repo, 'readme.md'), encoding='utf-8') as f:
long_description = f.read()
required_pypi = [
'torch',
'torch-hd',
'torchvision',
'torchaudio',
'matplotlib',
'dvu', # visualization
'pandas',
'transformers',
'openai',
'accelerate',
'datasets',
'infini-gram',
'pydivsufsort',
'nltk',
'spacy',
'ansicolors',
'datalad',
'h5py',
'huggingface-hub',
'imageio',
'numpy',
'safetensors',
'scikit-learn',
'scipy',
'sentence-transformers',
'sentencepiece',
'simplejson',
'six',
'smmap',
'sympy',
'tables',
'tabulate',
'tdqm',
'tokenizers',
'tqdm',
'bitsandbytes',
'tiktoken'
]
setuptools.setup(
name="alm and encoding",
version="0.01",
author="Microsoft Research",
author_email="",
description="Experiments with alternative approaches to language modeling.",
long_description=long_description,
long_description_content_type="text/markdown",
url="/~https://github.com/csinva/gpt-alt-lm",
packages=setuptools.find_packages(
exclude=['tests', 'tests.*', '*.test.*']
),
python_requires='>=3.6',
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=required_pypi,
)