uploaded model
Browse files- config.json +50 -0
config.json
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "starcoder2-7b",
|
| 3 |
+
"activation_function": "gelu",
|
| 4 |
+
"architectures": [
|
| 5 |
+
"Starcoder2ForCausalLM"
|
| 6 |
+
],
|
| 7 |
+
"attention_dropout": 0.1,
|
| 8 |
+
"attention_softmax_in_fp32": true,
|
| 9 |
+
"bos_token_id": 0,
|
| 10 |
+
"embedding_dropout": 0.1,
|
| 11 |
+
"eos_token_id": 0,
|
| 12 |
+
"hidden_act": "gelu_pytorch_tanh",
|
| 13 |
+
"hidden_size": 4608,
|
| 14 |
+
"initializer_range": 0.018042,
|
| 15 |
+
"intermediate_size": 18432,
|
| 16 |
+
"layer_norm_epsilon": 1e-05,
|
| 17 |
+
"max_position_embeddings": 16384,
|
| 18 |
+
"mlp_type": "default",
|
| 19 |
+
"model_type": "starcoder2",
|
| 20 |
+
"norm_epsilon": 1e-05,
|
| 21 |
+
"norm_type": "layer_norm",
|
| 22 |
+
"num_attention_heads": 36,
|
| 23 |
+
"num_hidden_layers": 32,
|
| 24 |
+
"num_key_value_heads": 4,
|
| 25 |
+
"quantization_config": {
|
| 26 |
+
"_load_in_4bit": false,
|
| 27 |
+
"_load_in_8bit": true,
|
| 28 |
+
"bnb_4bit_compute_dtype": "float32",
|
| 29 |
+
"bnb_4bit_quant_storage": "uint8",
|
| 30 |
+
"bnb_4bit_quant_type": "fp4",
|
| 31 |
+
"bnb_4bit_use_double_quant": false,
|
| 32 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
| 33 |
+
"llm_int8_has_fp16_weight": false,
|
| 34 |
+
"llm_int8_skip_modules": null,
|
| 35 |
+
"llm_int8_threshold": 6.0,
|
| 36 |
+
"load_in_4bit": false,
|
| 37 |
+
"load_in_8bit": true,
|
| 38 |
+
"quant_method": "bitsandbytes"
|
| 39 |
+
},
|
| 40 |
+
"residual_dropout": 0.1,
|
| 41 |
+
"rope_theta": 1000000,
|
| 42 |
+
"scale_attention_softmax_in_fp32": true,
|
| 43 |
+
"scale_attn_weights": true,
|
| 44 |
+
"sliding_window": 4096,
|
| 45 |
+
"torch_dtype": "float16",
|
| 46 |
+
"transformers_version": "4.40.2",
|
| 47 |
+
"use_bias": true,
|
| 48 |
+
"use_cache": true,
|
| 49 |
+
"vocab_size": 49152
|
| 50 |
+
}
|