Update config.json
Browse files- config.json +19 -1
config.json
CHANGED
|
@@ -8,6 +8,24 @@
|
|
| 8 |
"bias": "none",
|
| 9 |
"task_type": "CAUSAL_LM",
|
| 10 |
"target_modules": ["q_proj", "k_proj", "v_proj", "o_proj", "gate_proj"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
}
|
| 12 |
-
// Add any other model-specific settings here.
|
| 13 |
}
|
|
|
|
|
|
| 8 |
"bias": "none",
|
| 9 |
"task_type": "CAUSAL_LM",
|
| 10 |
"target_modules": ["q_proj", "k_proj", "v_proj", "o_proj", "gate_proj"]
|
| 11 |
+
},
|
| 12 |
+
"training_arguments": {
|
| 13 |
+
"output_dir": "./results",
|
| 14 |
+
"num_train_epochs": 1,
|
| 15 |
+
"per_device_train_batch_size": 4,
|
| 16 |
+
"gradient_accumulation_steps": 1,
|
| 17 |
+
"optim": "paged_adamw_32bit",
|
| 18 |
+
"save_steps": 50,
|
| 19 |
+
"logging_steps": 1,
|
| 20 |
+
"learning_rate": 2e-4,
|
| 21 |
+
"weight_decay": 0.001,
|
| 22 |
+
"fp16": false,
|
| 23 |
+
"bf16": false,
|
| 24 |
+
"max_grad_norm": 0.3,
|
| 25 |
+
"max_steps": -1,
|
| 26 |
+
"warmup_ratio": 0.03,
|
| 27 |
+
"group_by_length": true,
|
| 28 |
+
"lr_scheduler_type": "constant"
|
| 29 |
}
|
|
|
|
| 30 |
}
|
| 31 |
+
|