Upload config.yaml
Browse files- config.yaml +22 -0
config.yaml
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# MTP Mini Configuration
|
| 2 |
+
|
| 3 |
+
model:
|
| 4 |
+
vocab_size: 8000
|
| 5 |
+
d_model: 256
|
| 6 |
+
n_layers: 4
|
| 7 |
+
n_heads: 4
|
| 8 |
+
d_ff: 1024
|
| 9 |
+
max_seq_len: 128
|
| 10 |
+
dropout: 0.1
|
| 11 |
+
|
| 12 |
+
training:
|
| 13 |
+
batch_size: 4
|
| 14 |
+
epochs: 20
|
| 15 |
+
learning_rate: 0.0003
|
| 16 |
+
weight_decay: 0.01
|
| 17 |
+
max_grad_norm: 1.0
|
| 18 |
+
num_threads: 4
|
| 19 |
+
save_every: 5
|
| 20 |
+
|
| 21 |
+
data:
|
| 22 |
+
corpus_path: corpus/mtp_mini_corpus.jsonl
|