-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
50 lines (48 loc) · 1.43 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
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="torchseq",
version="3.1.0",
author="Tom Hosking",
author_email="[email protected]",
description="A Seq2Seq framework for PyTorch",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/tomhosking/torchseq",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
python_requires='>=3.6',
entry_points = {
'console_scripts': ['torchseq=torchseq.main:main', 'torchseq-eval=torchseq.eval.cli:main'],
},
install_requires = [
'tensorboard==2.15.0',
'torch==2.2.2',
'tqdm>=4.62',
'scipy>=1.5',
'nltk>=3.6.7',
'transformers==4.39.2',
'tokenizers==0.15.2',
'jsonlines>=2',
'sacrebleu>=2.0',
'py-rouge',
'rouge-score',
'wandb==0.15.12',
'matplotlib',
'opentsne',
'sentencepiece==0.1.95',
'protobuf<4',
'pydantic==1.10.13',
'truecase==0.0.14',
'lightning==2.1.0',
# 'summac',
'compress_json==1.0.10',
],
)