Spaces:
Sleeping
Sleeping
Upload requirements-train.txt with huggingface_hub
Browse files- requirements-train.txt +21 -0
requirements-train.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Training-time dependencies. Install ON THE TRAINING BOX (Colab T4).
|
| 2 |
+
# These are intentionally NOT in the Spaces image - keep that one slim.
|
| 3 |
+
#
|
| 4 |
+
# Install:
|
| 5 |
+
# pip install -r requirements.txt
|
| 6 |
+
# pip install -r requirements-train.txt
|
| 7 |
+
#
|
| 8 |
+
# On Colab T4 the standard recipe is:
|
| 9 |
+
# !pip install --no-deps unsloth
|
| 10 |
+
# !pip install -r requirements-train.txt
|
| 11 |
+
|
| 12 |
+
torch>=2.3
|
| 13 |
+
transformers>=4.44
|
| 14 |
+
trl>=0.13
|
| 15 |
+
unsloth
|
| 16 |
+
datasets>=2.20
|
| 17 |
+
accelerate>=0.30
|
| 18 |
+
peft>=0.11
|
| 19 |
+
wandb>=0.17
|
| 20 |
+
bitsandbytes>=0.43
|
| 21 |
+
sentencepiece>=0.2
|