Create config.json
Browse files- config.json +18 -0
config.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_type": "krdmodel",
|
| 3 |
+
"vocab_size": 111,
|
| 4 |
+
"dim": 1024,
|
| 5 |
+
"n_layers": 16,
|
| 6 |
+
"n_heads": 16,
|
| 7 |
+
"n_kv_heads": 4,
|
| 8 |
+
"ffn_dim": 2816,
|
| 9 |
+
"max_seq_len": 2048,
|
| 10 |
+
"batch_size": 4,
|
| 11 |
+
"gradient_accumulation": 8,
|
| 12 |
+
"train_steps": 5000,
|
| 13 |
+
"lr": 2e-4,
|
| 14 |
+
"mixed_precision": "fp16",
|
| 15 |
+
"lora_rank": 32,
|
| 16 |
+
"use_flash": true,
|
| 17 |
+
"grad_checkpoint": true
|
| 18 |
+
}
|