Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- requirements.txt +36 -7
requirements.txt
CHANGED
|
@@ -1,10 +1,39 @@
|
|
| 1 |
-
|
| 2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
torch
|
| 4 |
-
transformers
|
| 5 |
-
datasets
|
| 6 |
-
peft
|
| 7 |
-
accelerate
|
| 8 |
safetensors
|
| 9 |
# Codette Consciousness System Requirements
|
| 10 |
# Version: 3.0
|
|
@@ -54,7 +83,7 @@ sentry-sdk>=1.11.0
|
|
| 54 |
|
| 55 |
# Data Serialization
|
| 56 |
msgpack>=1.0.0
|
| 57 |
-
protobuf
|
| 58 |
|
| 59 |
# Testing
|
| 60 |
pytest>=8.2.0
|
|
|
|
| 1 |
+
# HuggingFace Spaces Training Requirements
|
| 2 |
+
# Compatible versions to fix pyarrow error
|
| 3 |
+
|
| 4 |
+
# Core dependencies
|
| 5 |
+
gradio
|
| 6 |
+
spaces
|
| 7 |
+
|
| 8 |
+
# PyTorch (CPU version, GPU allocated by Spaces)
|
| 9 |
+
torch==2.1.0
|
| 10 |
+
torchvision==0.16.0
|
| 11 |
+
torchaudio==2.1.0
|
| 12 |
+
|
| 13 |
+
# Transformers and training
|
| 14 |
+
transformers==4.36.2
|
| 15 |
+
datasets==2.16.1
|
| 16 |
+
accelerate==0.25.0
|
| 17 |
+
|
| 18 |
+
# Fix pyarrow compatibility issue
|
| 19 |
+
pyarrow==14.0.1
|
| 20 |
+
|
| 21 |
+
# Optional but recommended
|
| 22 |
+
peft==0.7.1
|
| 23 |
+
sentencepiece==0.1.99
|
| 24 |
+
protobuf==3.20.3
|
| 25 |
+
|
| 26 |
+
# Utilities
|
| 27 |
+
numpy<2.0.0
|
| 28 |
+
packaging
|
| 29 |
+
|
| 30 |
+
gradio
|
| 31 |
+
spaces
|
| 32 |
torch
|
| 33 |
+
transformers
|
| 34 |
+
datasets
|
| 35 |
+
peft
|
| 36 |
+
accelerate
|
| 37 |
safetensors
|
| 38 |
# Codette Consciousness System Requirements
|
| 39 |
# Version: 3.0
|
|
|
|
| 83 |
|
| 84 |
# Data Serialization
|
| 85 |
msgpack>=1.0.0
|
| 86 |
+
protobuf
|
| 87 |
|
| 88 |
# Testing
|
| 89 |
pytest>=8.2.0
|