Upload adapter_config.json with huggingface_hub
Browse files- adapter_config.json +21 -0
adapter_config.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"adapter_config": {
|
| 3 |
+
"r": 8,
|
| 4 |
+
"lora_alpha": 16,
|
| 5 |
+
"lora_dropout": 0.05,
|
| 6 |
+
"target_modules": [
|
| 7 |
+
"q_proj",
|
| 8 |
+
"v_proj"
|
| 9 |
+
],
|
| 10 |
+
"description": "Light adapter, fast training, minimal memory"
|
| 11 |
+
},
|
| 12 |
+
"training_config": {
|
| 13 |
+
"dataset_format": "completion",
|
| 14 |
+
"max_seq_length": 4096,
|
| 15 |
+
"num_epochs": 1,
|
| 16 |
+
"batch_size": 2,
|
| 17 |
+
"learning_rate": 5e-05
|
| 18 |
+
},
|
| 19 |
+
"base_model": "microsoft/Phi-3-mini-4k-instruct",
|
| 20 |
+
"created_by": "MLResearcher"
|
| 21 |
+
}
|