Add config.json documenting the custom architecture
Browse files- config.json +17 -0
config.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": ["SwordiesGPT"],
|
| 3 |
+
"model_type": "swordies-gpt",
|
| 4 |
+
"vocab_size": 8192,
|
| 5 |
+
"hidden_size": 448,
|
| 6 |
+
"num_hidden_layers": 9,
|
| 7 |
+
"num_attention_heads": 7,
|
| 8 |
+
"intermediate_size": 1408,
|
| 9 |
+
"max_position_embeddings": 512,
|
| 10 |
+
"tie_word_embeddings": true,
|
| 11 |
+
"norm": "rmsnorm",
|
| 12 |
+
"activation": "gelu",
|
| 13 |
+
"attn": "fused-qkv-causal",
|
| 14 |
+
"num_parameters": 22487360,
|
| 15 |
+
"dtype": "float32",
|
| 16 |
+
"note": "Custom from-scratch GPT, not a transformers model. Load with load_model.py (custom loader). No SFT: single-stage pretraining only."
|
| 17 |
+
}
|