File size: 1,083 Bytes
5d2c747
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
  "architectures": [
    "TinyLLMForCausalLM"
  ],
  "auto_map": {
    "AutoConfig": "configuration_tinyllm.TinyLLMConfig",
    "AutoModelForCausalLM": "modeling_tinyllm.TinyLLMForCausalLM"
  },
  "hidden_size": 512,
  "max_position_embeddings": 512,
  "model_cfg": {
    "checkpoint_name": null,
    "context_window": 512,
    "core_model": {
      "attn": {
        "attn_type": "generic",
        "bias": false,
        "group_size": 4,
        "is_causal": true,
        "normalization": "rms_norm",
        "num_heads": 16
      },
      "ffn": {
        "bias": false,
        "ffn_dim": 1320,
        "ffn_type": "swiglu",
        "normalization": "rms_norm"
      },
      "num_layers": 8
    },
    "embedding_weight_tying": true,
    "hidden_dim": 512,
    "lm_head": {
      "bias": false,
      "normalization": "rms_norm"
    },
    "positional_encoding_type": "rope",
    "vocab_size": 50257
  },
  "model_type": "tinyllm",
  "num_attention_heads": 16,
  "num_hidden_layers": 8,
  "torch_dtype": "float32",
  "transformers_version": "4.51.3",
  "vocab_size": 50257
}