PAT-code / configs /pat32.json
ICLRPAT27's picture
Publish reviewed PAT training and inference supplement
643267a verified
Raw History Blame Contribute Delete
2.22 kB
{
"model": {
"architecture": "PAT",
"d_model": 2048,
"n_heads": 32,
"n_layers": 32,
"vocab_size": 50304,
"chunk_size": 16,
"context_length": 16384,
"memory_slots": [
2,
2,
2,
2,
2,
2,
2,
2,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
2,
2,
2,
2,
2,
2,
2,
2
],
"ffw_mult_by_layer": [
4.0,
4.0,
4.0,
4.0,
4.0,
4.0,
4.0,
4.0,
4.0,
4.0,
4.0,
4.0,
4.0,
4.0,
4.0,
4.0,
4.0,
4.0,
4.0,
4.0,
4.0,
4.0,
4.0,
4.0,
4.0,
4.0,
4.0,
4.0,
4.0,
4.0,
4.0,
4.0
],
"qk_key_counts": [
16.0,
1874.0,
1874.0,
1874.0,
1874.0,
1874.0,
1874.0,
1874.0,
1874.0,
7448.0,
7448.0,
7448.0,
7448.0,
7448.0,
7448.0,
7448.0,
7448.0,
7448.0,
7448.0,
7448.0,
7448.0,
7448.0,
7448.0,
7448.0,
7448.0,
1874.0,
1874.0,
1874.0,
1874.0,
1874.0,
1874.0,
1874.0
],
"qk_reference_key_counts": [
16.0,
1874.0,
1874.0,
1874.0,
1874.0,
1874.0,
1874.0,
1874.0,
1874.0,
1874.0,
1874.0,
1874.0,
1874.0,
1874.0,
1874.0,
1874.0,
1874.0,
1874.0,
1874.0,
1874.0,
1874.0,
1874.0,
1874.0,
1874.0,
1874.0,
1874.0,
1874.0,
1874.0,
1874.0,
1874.0,
1874.0,
1874.0
],
"seed": 42,
"ce_chunk_size": 16384
},
"training": {
"tokens": 9520000000,
"warmup_tokens": 100000000,
"decay_fraction": 0.3,
"learning_rate": 0.00025,
"min_lr_ratio": 0.1,
"weight_decay": 0.01,
"microbatch_tokens": 25000,
"accumulation_steps": 1,
"seed": 42,
"checkpoint_every": 100000000,
"validate_every": 200000000
}
}