RichardErkhov
commited on
Commit
•
1d84375
1
Parent(s):
5f8dbf4
uploaded model
Browse files- config.json +42 -0
config.json
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "xglm-4.5B",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "relu",
|
5 |
+
"architectures": [
|
6 |
+
"XGLMForCausalLM"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.1,
|
9 |
+
"attention_heads": 16,
|
10 |
+
"bos_token_id": 0,
|
11 |
+
"d_model": 2048,
|
12 |
+
"decoder_start_token_id": 2,
|
13 |
+
"dropout": 0.1,
|
14 |
+
"eos_token_id": 2,
|
15 |
+
"ffn_dim": 16384,
|
16 |
+
"init_std": 0.02,
|
17 |
+
"layerdrop": 0.0,
|
18 |
+
"max_position_embeddings": 2048,
|
19 |
+
"model_type": "xglm",
|
20 |
+
"num_layers": 48,
|
21 |
+
"pad_token_id": 1,
|
22 |
+
"quantization_config": {
|
23 |
+
"_load_in_4bit": false,
|
24 |
+
"_load_in_8bit": true,
|
25 |
+
"bnb_4bit_compute_dtype": "float32",
|
26 |
+
"bnb_4bit_quant_storage": "uint8",
|
27 |
+
"bnb_4bit_quant_type": "fp4",
|
28 |
+
"bnb_4bit_use_double_quant": false,
|
29 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
30 |
+
"llm_int8_has_fp16_weight": false,
|
31 |
+
"llm_int8_skip_modules": null,
|
32 |
+
"llm_int8_threshold": 6.0,
|
33 |
+
"load_in_4bit": false,
|
34 |
+
"load_in_8bit": true,
|
35 |
+
"quant_method": "bitsandbytes"
|
36 |
+
},
|
37 |
+
"scale_embedding": true,
|
38 |
+
"torch_dtype": "float16",
|
39 |
+
"transformers_version": "4.39.3",
|
40 |
+
"use_cache": true,
|
41 |
+
"vocab_size": 256008
|
42 |
+
}
|