File size: 1,393 Bytes
6fc683c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
from io import open
from setuptools import find_packages, setup


extras = {
    'serving': ['pydantic', 'uvicorn', 'fastapi'],
    'serving-tf': ['pydantic', 'uvicorn', 'fastapi'],
    'serving-torch': ['pydantic', 'uvicorn', 'fastapi', 'torch']
}
extras['all'] = [package for package in extras.values()]

setup(
    name="s2s-ft",
    version="0.0.1",
    author="UniLM Team",
    author_email="[email protected]",
    description="Fine-Tuning Bidirectional Transformers for Sequence-to-Sequence Learning",
    long_description=open("README.md", "r", encoding='utf-8').read(),
    long_description_content_type="text/markdown",
    keywords='Fine-Tuning Bidirectional Transformers for Sequence-to-Sequence Learning',
    license='Apache',
    url="https://github.com/microsoft/unilm/tree/master/s2s-ft",
    packages=find_packages(exclude=["*.tests", "*.tests.*",
                                    "tests.*", "tests"]),
    install_requires=['numpy',
                      'boto3',
                      'requests',
                      'tqdm',
                      'regex != 2019.12.17',
                      'sentencepiece',
                      'sacremoses',
                      'tensorboardX',
                      'transformers == 2.10.0'],
    extras_require=extras,
    python_requires='>=3.5.0',
    classifiers=[
          'Programming Language :: Python :: 3',
    ],
)