-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
53 lines (51 loc) · 1.74 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
import os
from setuptools import find_packages, setup
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, "requirements.txt"), encoding="utf-8") as f:
INSTALL_REQUIRES = f.read().splitlines()
EXTRAS_REQUIRE = {
"dev": INSTALL_REQUIRES + [
"pre-commit",
"ruff==0.0.270",
"black==23.3.0",
],
"test": INSTALL_REQUIRES + [
"pytest",
],
"docs": INSTALL_REQUIRES + [
"mkdocs-material",
],
}
setup(
name="llmfinetune",
version="0.0.1",
description="A framework to finetune LLMs",
long_description=open("README.md", "r", encoding="utf-8").read(),
long_description_content_type="text/markdown",
packages=find_packages(include="llmadmin*"),
keywords=["ChatGLM", "BaiChuan", "LLaMA", "BLOOM", "Falcon",
"LLM", "ChatGPT", "transformer", "pytorch", "deep learning"],
include_package_data=True,
package_data={"llmadmin": ["models/*"]},
entry_points={
"console_scripts": [
"llmfinetune=llmadmin.api.cli:app",
]
},
extras_require=EXTRAS_REQUIRE,
install_requires=INSTALL_REQUIRES,
python_requires=">=3.8",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
)