Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,35 @@
|
|
| 1 |
-
-
|
| 2 |
-
|
| 3 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Codette LoRA Fine-Tuning
|
| 2 |
+
|
| 3 |
+
Fine-tuning repo for Codette — a sovereign AI music production assistant built by Jonathan Harrison (Raiff's Bits).
|
| 4 |
+
|
| 5 |
+
## What This Does
|
| 6 |
+
|
| 7 |
+
Trains a LoRA adapter on top of `meta-llama/Llama-3.2-1B-Instruct` using Codette's own framework data, so she responds with her real voice, identity, and perspectives rather than as a generic assistant.
|
| 8 |
+
|
| 9 |
+
## Files
|
| 10 |
+
|
| 11 |
+
| File | Purpose |
|
| 12 |
+
|------|---------|
|
| 13 |
+
| `train_codette_lora.py` | Training script — runs as a HF Job |
|
| 14 |
+
| `codette_combined_train.jsonl` | 2,136 training examples from Codette's framework |
|
| 15 |
+
|
| 16 |
+
## Output
|
| 17 |
+
|
| 18 |
+
When training completes, the adapter is automatically pushed to:
|
| 19 |
+
**`Raiff1982/codette-llama-adapter`**
|
| 20 |
+
|
| 21 |
+
That adapter is then loaded by the Codette Space at:
|
| 22 |
+
**`Raiff1982/codette-ai`**
|
| 23 |
+
|
| 24 |
+
## Training Details
|
| 25 |
+
|
| 26 |
+
- **Base model**: meta-llama/Llama-3.2-1B-Instruct
|
| 27 |
+
- **Method**: LoRA (r=16, alpha=16)
|
| 28 |
+
- **Target modules**: q_proj, v_proj
|
| 29 |
+
- **Examples**: 2,136
|
| 30 |
+
- **Epochs**: 3
|
| 31 |
+
- **Hardware**: CPU (HF Jobs cpu-basic)
|
| 32 |
+
|
| 33 |
+
## Running the Job
|
| 34 |
+
|
| 35 |
+
See the HF Jobs documentation or follow the instructions in the Space README.
|