-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
33 lines (29 loc) · 923 Bytes
/
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
from setuptools import setup
from qaner import __version__
with open("README.md", mode="r", encoding="utf-8") as fp:
long_description = fp.read()
setup(
name="qaner",
version=__version__,
description="Unofficial implementation of QaNER: Prompting Question Answering Models for Few-shot Named Entity Recognition.",
long_description=long_description,
long_description_content_type="text/markdown",
author="Dani El-Ayyass",
author_email="[email protected]",
license_files=["LICENSE"],
url="https://github.com/dayyass/qaner",
packages=["qaner"],
entry_points={
"console_scripts": [
"qaner-train = qaner.train:main",
"qaner-inference = qaner.inference:main",
],
},
install_requires=[
"numpy==1.21.6",
"tensorboard==2.9.0",
"torch==1.8.1",
"tqdm==4.64.0",
"transformers==4.19.2",
],
)