-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
68 lines (62 loc) · 1.36 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
""" setup.py - Main setup module """
import os
from setuptools import find_packages, setup
HERE = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(HERE, "README.md")).read()
VERSION = "0.5"
# Publicly Available Packages (PyPi)
INSTALL_REQUIRES = [
"ipython",
"jupyterlab",
"matplotlib",
"pandas",
"scikit-learn",
"datasets",
"sentencepiece",
"nltk",
"absl-py",
"tqdm",
# "llm2vec",
"wandb",
"peft",
"bitsandbytes",
"sentence_transformers",
"transformers",
"datasets",
"ninja",
"packaging",
"wheel",
"setuptools",
# "tensorrt",
"triton",
]
DEV_REQUIRES = [
"nbqa[toolchain]",
"black",
"flake8",
"isort",
"mypy",
"pre-commit",
"pytest",
"pytest-cov",
"toml",
"types-requests",
"types-setuptools",
"docformatter",
]
setup(
name="llm-codebase",
version=VERSION,
description="Codes developed for research with LLMs.",
long_description=README,
classifiers=["Programming Language :: Python :: 3.11"],
keywords="NLP, Machine Learning",
author="Saeed Najafi",
author_email="[email protected]",
license="MIT",
packages=find_packages(exclude=["docs", "tests"]),
include_package_data=True,
zip_safe=False,
install_requires=INSTALL_REQUIRES,
extras_require={"dev": DEV_REQUIRES},
)