-
Notifications
You must be signed in to change notification settings - Fork 30
/
setup.py
58 lines (52 loc) · 1.81 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
from setuptools import setup, find_packages
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='onnxt5',
version='0.1.9',
license='apache-2.0',
description='Blazing fast summarization, translation, text-generation, Q&A and more using T5 in ONNX',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/abelriboulot/onnxt5',
download_url = 'https://github.com/abelriboulot/onnxt5/archive/0.1.9.tar.gz',
author='Abel Riboulot',
author_email='abel@kta.io',
keywords = ['T5', 'ONNX', 'onnxruntime', 'NLP', 'transformer', 'generate text', 'summarization', 'translation',
'q&a', 'machine learning', 'inference', 'fast inference'],
packages=find_packages(), # Required
python_requires='>=3.5, <4',
install_requires=[
"onnxruntime>=1.4.0",
"requests>=2.22.0",
"torch>=1.4.0",
"tqdm>=4.48.2",
"transformers>=3.0.2",
"sentencepiece"
],
extras_require={
'dev': ["unittest"],
'test': [],
},
package_data={
'sample': [],
},
entry_points={
},
project_urls={
'Repo': 'https://github.com/abelriboulot/onnxt5',
},
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
)