forked from EricFillion/happy-transformer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
42 lines (36 loc) · 1.52 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
# from distutils.core import setup
from setuptools import setup, find_packages
import pathlib
current_location = pathlib.Path(__file__).parent
readme = (current_location / "README.md").read_text()
setup(
name = 'happytransformer',
packages = find_packages(),
version = '2.4.1',
license='Apache 2.0',
description = "Happy Transformer is an API built on top of Hugging Face's Transformer library that makes it easy to utilize state-of-the-art NLP models.",
long_description= readme,
long_description_content_type='text/markdown',
author = "The Happy Transformer Development Team",
author_email = '[email protected]',
url = 'https://github.com/EricFillion/happy-transformer',
keywords = ['bert', 'roberta', 'xlnet', "transformer", "happy", "HappyTransformer", "classification", "nlp", "nlu", "natural", "language", "processing", "understanding"],
install_requires=[
'torch>=1.0',
'tqdm>=4.43',
'transformers>=4.4.0',
'datasets>=1.6.0',
'dataclasses; python_version < "3.7"',
'sentencepiece',
'protobuf'
],
classifiers=[
'Intended Audience :: Developers',
"Intended Audience :: Science/Research",
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
"Topic :: Text Processing :: Linguistic",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
)