28 lines
864 B
Python
28 lines
864 B
Python
import setuptools
|
|
|
|
|
|
with open("README.md", "r", encoding="utf-8") as fh:
|
|
long_description = fh.read()
|
|
|
|
setuptools.setup(
|
|
name="fsner",
|
|
version="0.0.1",
|
|
author="msi sayef",
|
|
author_email="msi.sayef@gmail.com",
|
|
description="Few-shot Named Entity Recognition",
|
|
long_description=long_description,
|
|
long_description_content_type="text/markdown",
|
|
url="https://github.com/huggingface/transformers/tree/main/examples/research_projects/fsner",
|
|
project_urls={
|
|
"Bug Tracker": "https://github.com/huggingface/transformers/issues",
|
|
},
|
|
classifiers=[
|
|
"Programming Language :: Python :: 3",
|
|
"Operating System :: OS Independent",
|
|
],
|
|
package_dir={"": "src"},
|
|
packages=setuptools.find_packages(where="src"),
|
|
python_requires=">=3.6",
|
|
install_requires=["torch>=1.9.0", "transformers>=4.9.2"],
|
|
)
|