File size: 3,350 Bytes
2d6eec9 |
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 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 |
{
"_name_or_path": "microsoft/Phi-3-small-8k-instruct",
"architectures": [
"Phi3SmallForCausalLM"
],
"attention_bias": false,
"attention_dropout_prob": 0.0,
"auto_map": {
"AutoConfig": "microsoft/Phi-3-small-8k-instruct--configuration_phi3_small.Phi3SmallConfig",
"AutoModelForCausalLM": "microsoft/Phi-3-small-8k-instruct--modeling_phi3_small.Phi3SmallForCausalLM",
"AutoModelForSequenceClassification": "microsoft/Phi-3-small-8k-instruct--modeling_phi3_small.Phi3SmallForSequenceClassification",
"AutoTokenizer": "microsoft/Phi-3-small-8k-instruct--tokenization_phi3_small.Phi3SmallTokenizer"
},
"blocksparse_block_size": 64,
"blocksparse_homo_head_pattern": false,
"blocksparse_num_local_blocks": 16,
"blocksparse_triton_kernel_block_size": 64,
"blocksparse_vert_stride": 8,
"bos_token_id": 100257,
"dense_attention_every_n_layers": 2,
"dummy_token_indices": [
100256,
100258,
100259,
100260,
100264,
100265,
100267,
100268,
100269,
100270,
100271,
100272,
100273,
100274,
100275,
100276,
100277,
100278,
100279,
100280,
100281,
100282,
100283,
100284,
100285,
100286,
100287,
100288,
100289,
100290,
100291,
100292,
100293,
100294,
100295,
100296,
100297,
100298,
100299,
100300,
100301,
100302,
100303,
100304,
100305,
100306,
100307,
100308,
100309,
100310,
100311,
100312,
100313,
100314,
100315,
100316,
100317,
100318,
100319,
100320,
100321,
100322,
100323,
100324,
100325,
100326,
100327,
100328,
100329,
100330,
100331,
100332,
100333,
100334,
100335,
100336,
100337,
100338,
100339,
100340,
100341,
100342,
100343,
100344,
100345,
100346,
100347,
100348,
100349,
100350,
100351
],
"embedding_dropout_prob": 0.1,
"eos_token_id": 100257,
"ff_dim_multiplier": null,
"ff_intermediate_size": 14336,
"ffn_dropout_prob": 0.1,
"gegelu_limit": 20.0,
"gegelu_pad_to_256": true,
"hidden_act": "gegelu",
"hidden_size": 4096,
"initializer_range": 0.02,
"layer_norm_epsilon": 1e-05,
"max_position_embeddings": 8192,
"model_type": "phi3small",
"mup_attn_multiplier": 1.0,
"mup_embedding_multiplier": 10.0,
"mup_use_scaling": true,
"mup_width_multiplier": 8.0,
"num_attention_heads": 32,
"num_hidden_layers": 32,
"num_key_value_heads": 8,
"pad_sequence_to_multiple_of_64": true,
"quantization_config": {
"_load_in_4bit": true,
"_load_in_8bit": false,
"bnb_4bit_compute_dtype": "float32",
"bnb_4bit_quant_storage": "uint8",
"bnb_4bit_quant_type": "fp4",
"bnb_4bit_use_double_quant": false,
"llm_int8_enable_fp32_cpu_offload": false,
"llm_int8_has_fp16_weight": false,
"llm_int8_skip_modules": null,
"llm_int8_threshold": 6.0,
"load_in_4bit": true,
"load_in_8bit": false,
"quant_method": "bitsandbytes"
},
"reorder_and_upcast_attn": false,
"rope_embedding_base": 1000000,
"rope_position_scale": 1.0,
"rope_scaling": null,
"torch_dtype": "bfloat16",
"transformers_version": "4.41.2",
"use_cache": true,
"vocab_size": 100352
}
|