forked from CambioML/pykoi-rlhf-finetuned-transformers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
80 lines (73 loc) · 1.9 KB
/
pyproject.toml
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
69
70
71
72
73
74
75
76
77
78
79
80
[tool.poetry]
name = "pykoi"
version = "0.0.6"
description = ""
authors = ["CambioML <[email protected]>"]
license = "Apache"
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.9,<3.13"
packaging = "23.1"
fastapi = "0.100.0"
pydantic = "1.10.11"
starlette = "0.27.0"
uvicorn = "0.23.1"
scipy = "1.11.1"
pyngrok = "6.0.0"
openai = "0.27.8"
passlib = "1.7.4"
bcrypt = "4.0.1"
posthog = "3.0.1"
pynvml = "11.5.0"
pandas = "2.0.3"
python-dotenv = "1.0.0"
transformers = { version = "4.31.0", optional = true }
einops = { version = "0.6.1", optional = true }
accelerate = { version = "0.21.0", optional = true }
bitsandbytes = { version = "0.40.2", optional = true }
langchain = { version = "0.0.220", optional = true }
scikit-learn = { version = "1.3.0", optional = true }
chromadb = { version = "0.3.26", optional = true }
pyepsilla = { version = ">=0.1.1", optional = true }
pdfminer-six = { version = "20221105", optional = true }
docx2txt = { version = "0.8", optional = true }
python-multipart = { version = "0.0.6", optional = true }
tiktoken = { version = "0.4.0", optional = true }
sentence-transformers = { version = "2.2.2", optional = true }
datasets = { version = "2.13.1", optional = true }
evaluate = { version = "0.4.0", optional = true }
peft = { version = "0.4.0", optional = true }
trl = { version = "0.4.7", optional = true }
[tool.poetry.extras]
huggingface = [
"transformers",
"einops",
"accelerate",
"bitsandbytes",
"sentence-transformers"
]
rag = [
"langchain",
"scikit-learn",
"chromadb",
"pyepsilla",
"pdfminer-six",
"docx2txt",
"python-multipart",
"tiktoken"
]
rlhf = [
"transformers",
"einops",
"accelerate",
"bitsandbytes",
"datasets",
"evaluate",
"peft",
"trl"
]
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.3.3"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"