Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- training-scripts
|
| 4 |
+
- fine-tuning
|
| 5 |
+
- lora
|
| 6 |
+
license: apache-2.0
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
# Training Scripts
|
| 10 |
+
|
| 11 |
+
Reusable training scripts for HF Jobs.
|
| 12 |
+
|
| 13 |
+
## Scripts
|
| 14 |
+
|
| 15 |
+
| Script | Purpose |
|
| 16 |
+
|--------|---------|
|
| 17 |
+
| `train_sft_demo.py` | SFT on Capybara dataset |
|
| 18 |
+
| `train_concise.py` | SFT on concise-tech-explanations |
|
| 19 |
+
|
| 20 |
+
## Usage
|
| 21 |
+
|
| 22 |
+
```bash
|
| 23 |
+
hf jobs uv run --flavor t4-small --timeout 30m --secrets HF_TOKEN "https://huggingface.co/passagereptile455/training-scripts/resolve/main/train_sft_demo.py"
|
| 24 |
+
```
|
| 25 |
+
|
| 26 |
+
## Notes
|
| 27 |
+
|
| 28 |
+
Scripts use PEP 723 inline dependencies — no local setup required.
|