File size: 2,429 Bytes
5b94928
 
 
 
 
 
 
 
 
 
 
 
7bb2f7a
5b94928
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7bb2f7a
5b94928
 
 
 
 
 
 
 
 
 
 
b06bd6f
7bb2f7a
5b94928
 
 
 
7bb2f7a
 
 
 
 
 
 
 
 
 
 
 
 
 
5b94928
7bb2f7a
 
 
 
5b94928
 
 
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
    "model_name": "models--meta-llama--Llama-3.2-3B-Instruct",
    "model_type": "llm-llama3.2",
    "vm_cfg": null,
    "mm_cfg": null,
    "lm_cfg": {
        "model_type": "llama",
        "data_type": "bfloat16",
        "arch": "llama",
        "gen": "3.2",
        "size": "3b",
        "token_cfg": {
            "vocab_size": 128256
        },
        "rope_cfg": {
            "rope_theta": 500000,
            "rope_local_base_freq": 500000,
            "rope_scaling": {
                "factor": 32.0,
                "low_freq_factor": 1.0,
                "high_freq_factor": 4.0,
                "original_max_position_embeddings": 8192,
                "long_factor": null,
                "short_factor": null,
                "rope_type": "llama3"
            }
        },
        "attn_cfg": {
            "num_attention_heads": 24,
            "num_key_value_heads": 8,
            "head_dim": 128,
            "swa_enable": false,
            "swa_ratio": 0,
            "sliding_window": 0,
            "attention_bias": false,
            "attention_dropout": 0.0,
            "query_pre_attn_scalar": 0
        },
        "mlp_cfg": {
            "intermediate_size": 8192,
            "act": "silu",
            "num_layers": 3,
            "mlp_bias": false
        },
        "hidden_size": 3072,
        "num_hidden_layers": 28,
        "max_position_embeddings": 2048,
        "rms_norm_eps": 1e-05,
        "rms_norm_unit_offset": false,
        "layer_norms": [
            "pre_attn",
            "post_attn"
        ],
        "attn_logit_softcapping": null,
        "final_logit_softcapping": null,
        "lm_head_num_splits": 2,
        "lm_head_split_dim": 64128
    },
    "pipeline_cfg": {
        "system_prompt": null,
        "chat_template": null,
        "max_num_tokens": 2048,
        "input_token_group_size": 128,
        "input_token_group_offsets": [
            0,
            128,
            256,
            384,
            512,
            640,
            768,
            896,
            1024,
            1152,
            1280,
            1408,
            1536,
            1664,
            1792,
            1920
        ],
        "future_token_mask_size": 128,
        "return_logits": false,
        "use_strided_kv_cache": false,
        "enable_filter_sharing": true
    },
    "language_model_name": "models--meta-llama--Llama-3.2-3B-Instruct_language"
}