forked from lavis-nlp/spert
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
39 lines (36 loc) · 1.02 KB
/
Copy pathsetup.py
File metadata and controls
39 lines (36 loc) · 1.02 KB
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
# Copy-Pasted from AllenNLP (https://github.com/allenai/allennlp/blob/main/setup.py)
from setuptools import find_packages, setup
setup(
name="spert",
version="1.0",
description="Span-based Entity and Relation Transformer",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
keywords="spert NLP deep learning machine reading",
url="https://github.com/henlein/spert",
packages=find_packages(
exclude=[
"*.tests",
"*.tests.*",
"tests.*",
"tests",
"test_fixtures",
"test_fixtures.*",
"benchmarks",
"benchmarks.*",
]
),
install_requires=[
"Jinja2>=2.10.3",
"numpy>=1.17.4",
"tensorboardX>=1.6",
"torch",
"tqdm>=4.55.1",
"transformers[sentencepiece]>=4.1.1",
"scikit-learn>=0.24.0",
"spacy>=3.0.1",
],
include_package_data=True,
python_requires=">=3.5",
zip_safe=False,
)