-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
52 lines (46 loc) · 1.58 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
import sys
from setuptools import setup, find_packages
version = "0.0.3"
if len(sys.argv) >= 3 and sys.argv[1] == "validate_tag":
if sys.argv[2] != version:
raise Exception(
f"A versão TAG [{sys.argv[2]}] é diferente da versão no arquivo setup.py [{version}]."
)
exit()
setup(
**{
"name": "simplifiedbert",
"description": "SimplifiedBert is a Python package that simplifies the training and evaluation process for BERT models.",
"long_description": open("README.md").read(),
"long_description_content_type": "text/markdown",
"license": "Apache-2.0",
"author": "Raphael Silva Fontes",
"author_email": "[email protected]",
"packages": find_packages(),
"version": version,
"download_url": f"https://github.com/lais-huol/SimplifiedBERT/releases/tag/{version}",
"url": "https://github.com/lais-huol/SimplifiedBERT",
"keywords": [
"BERT",
"Simplify",
"NLP",
"Evaluation",
"Train",
],
"python_requires": ">=3.10",
"install_requires": [
"scikit-learn",
"pandas",
"transformers",
"torch",
"transformers[torch]",
"accelerate",
],
"classifiers": [
"Development Status :: 2 - Pre-Alpha",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
}
)