Add training_config.json
Browse files- training_config.json +26 -0
training_config.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_name": "Qwen/Qwen3.5-2B",
|
| 3 |
+
"hf_repo_id": "farpluto/doc-to-lora-niah-qwen3.5-2B",
|
| 4 |
+
"lora_r": 8,
|
| 5 |
+
"lora_alpha": 8.0,
|
| 6 |
+
"target_module": "down_proj",
|
| 7 |
+
"latent_dim": 512,
|
| 8 |
+
"n_percv_blocks": 8,
|
| 9 |
+
"lr": 8e-05,
|
| 10 |
+
"weight_decay": 0.01,
|
| 11 |
+
"grad_accum": 2,
|
| 12 |
+
"max_steps": 1500,
|
| 13 |
+
"warmup_steps": 100,
|
| 14 |
+
"max_grad_norm": 1.0,
|
| 15 |
+
"l1_coef": 0.05,
|
| 16 |
+
"use_kl_loss": false,
|
| 17 |
+
"kl_coef": 1.0,
|
| 18 |
+
"eval_every": 200,
|
| 19 |
+
"save_every": 1000,
|
| 20 |
+
"ctx_min_len": 32,
|
| 21 |
+
"ctx_max_len": 256,
|
| 22 |
+
"n_train": 80000,
|
| 23 |
+
"n_eval": 300,
|
| 24 |
+
"seed": 42,
|
| 25 |
+
"out_dir": "d2l_ckpts"
|
| 26 |
+
}
|