setup.py 1.2 KB
Newer Older
thomwolf's avatar
thomwolf committed
1
2
3
4
from setuptools import find_packages, setup

setup(
    name="pytorch_pretrained_bert",
thomwolf's avatar
thomwolf committed
5
    version="0.4.0",
thomwolf's avatar
thomwolf committed
6
7
8
9
10
11
12
13
14
15
    author="Thomas Wolf, Victor Sanh, Tim Rault, Google AI Language Team Authors",
    author_email="thomas@huggingface.co",
    description="PyTorch version of Google AI BERT model with script to load Google pre-trained models",
    long_description=open("README.md", "r").read(),
    long_description_content_type="text/markdown",
    keywords='BERT NLP deep learning google',
    license='Apache',
    url="https://github.com/huggingface/pytorch-pretrained-BERT",
    packages=find_packages(exclude=["*.tests", "*.tests.*",
                                    "tests.*", "tests"]),
thomwolf's avatar
thomwolf committed
16
17
    install_requires=['torch>=0.4.1',
                      'numpy',
thomwolf's avatar
thomwolf committed
18
                      'boto3',
thomwolf's avatar
thomwolf committed
19
20
                      'requests',
                      'tqdm'],
thomwolf's avatar
thomwolf committed
21
22
23
24
25
26
27
28
29
30
    scripts=["bin/pytorch_pretrained_bert"],
    python_requires='>=3.5.0',
    tests_require=['pytest'],
    classifiers=[
          'Intended Audience :: Science/Research',
          'License :: OSI Approved :: Apache Software License',
          'Programming Language :: Python :: 3',
          'Topic :: Scientific/Engineering :: Artificial Intelligence',
    ],
)