Create requirements.txt
Browse files- requirements.txt +27 -0
requirements.txt
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
langchain
|
| 2 |
+
langchain-openai
|
| 3 |
+
langchain-community
|
| 4 |
+
langchain-experimental
|
| 5 |
+
# TRL and dependencies
|
| 6 |
+
trl
|
| 7 |
+
transformers
|
| 8 |
+
torch # GPU版推奨: pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 (CUDA versionに合わせる)
|
| 9 |
+
accelerate
|
| 10 |
+
peft
|
| 11 |
+
bitsandbytes # for 8-bit/4-bit quantization
|
| 12 |
+
# Database
|
| 13 |
+
psycopg2-binary # または psycopg2
|
| 14 |
+
sqlalchemy # ORM (推奨)
|
| 15 |
+
# Vector DB extension for SQLAlchemy (optional but helpful)
|
| 16 |
+
# sqlalchemy-pgvector
|
| 17 |
+
# Message Queue
|
| 18 |
+
redis
|
| 19 |
+
# Vectorization
|
| 20 |
+
sentence-transformers
|
| 21 |
+
# Scheduling
|
| 22 |
+
apscheduler
|
| 23 |
+
# Utilities
|
| 24 |
+
python-dotenv
|
| 25 |
+
tiktoken
|
| 26 |
+
fastapi # for API (optional)
|
| 27 |
+
uvicorn # for API (optional)
|