This repository has been archived by the owner on Mar 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.py
55 lines (52 loc) · 1.67 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
from pathlib import Path
from setuptools import find_packages, setup
HERE = Path(__file__).parent
README = (HERE / "README.md").read_text()
with open("README.md", encoding="utf-8") as f:
LONG_DESCRIPTION = f.read()
setup(
name="transformers-domain-adaptation",
version="0.3.1",
description="Adapt Transformer-based language models to new text domains",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
url="https://github.com/georgianpartners/Transformers-Domain-Adaptation",
author="Christopher Tee",
author_email="[email protected]",
license="MIT",
python_requires=">=3.6",
keywords=[
"transformers",
"tokenizers",
"huggingface",
"pytorch",
"domain-adaptation",
"transfer-learning",
"natural-language-processing",
],
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"License :: OSI Approved :: MIT License",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Text Processing :: General",
],
package_dir={"": "src"},
packages=find_packages(
where="src", exclude=("etl*", "utils*", "experimental*", "tests")
),
install_requires=[
"transformers>=4,<5",
"tokenizers>=0.9,<0.10",
"datasets>=1.2,<1.3",
"pandas",
"torch>=1.7,<1.8",
"scipy==1.5.4",
"scikit-learn",
"tqdm",
],
)