RichardErkhov
commited on
Commit
•
a3b72d6
1
Parent(s):
05fdf88
uploaded model
Browse files- config.json +48 -0
config.json
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "bloomz-1b1",
|
3 |
+
"apply_residual_connection_post_layernorm": false,
|
4 |
+
"architectures": [
|
5 |
+
"BloomForCausalLM"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"attention_softmax_in_fp32": true,
|
9 |
+
"bias_dropout_fusion": true,
|
10 |
+
"bos_token_id": 1,
|
11 |
+
"eos_token_id": 2,
|
12 |
+
"hidden_dropout": 0.0,
|
13 |
+
"hidden_size": 1536,
|
14 |
+
"initializer_range": 0.02,
|
15 |
+
"layer_norm_epsilon": 1e-05,
|
16 |
+
"masked_softmax_fusion": true,
|
17 |
+
"model_type": "bloom",
|
18 |
+
"n_head": 16,
|
19 |
+
"n_inner": null,
|
20 |
+
"n_layer": 24,
|
21 |
+
"offset_alibi": 100,
|
22 |
+
"pad_token_id": 3,
|
23 |
+
"pretraining_tp": 1,
|
24 |
+
"quantization_config": {
|
25 |
+
"_load_in_4bit": true,
|
26 |
+
"_load_in_8bit": false,
|
27 |
+
"bnb_4bit_compute_dtype": "float32",
|
28 |
+
"bnb_4bit_quant_storage": "uint8",
|
29 |
+
"bnb_4bit_quant_type": "fp4",
|
30 |
+
"bnb_4bit_use_double_quant": false,
|
31 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
32 |
+
"llm_int8_has_fp16_weight": false,
|
33 |
+
"llm_int8_skip_modules": null,
|
34 |
+
"llm_int8_threshold": 6.0,
|
35 |
+
"load_in_4bit": true,
|
36 |
+
"load_in_8bit": false,
|
37 |
+
"quant_method": "bitsandbytes"
|
38 |
+
},
|
39 |
+
"seq_length": 2048,
|
40 |
+
"skip_bias_add": true,
|
41 |
+
"skip_bias_add_qkv": false,
|
42 |
+
"slow_but_exact": false,
|
43 |
+
"torch_dtype": "float16",
|
44 |
+
"transformers_version": "4.39.3",
|
45 |
+
"unk_token_id": 0,
|
46 |
+
"use_cache": true,
|
47 |
+
"vocab_size": 250880
|
48 |
+
}
|