RichardErkhov commited on
Commit
e95ff3f
·
verified ·
1 Parent(s): fed5f4f

uploaded model

Browse files
Files changed (1) hide show
  1. config.json +48 -0
config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "PowerLM-3b",
3
+ "architectures": [
4
+ "GraniteForCausalLM"
5
+ ],
6
+ "attention_bias": true,
7
+ "attention_dropout": 0.1,
8
+ "attention_multiplier": 0.015625,
9
+ "bos_token_id": 0,
10
+ "embedding_multiplier": 12.0,
11
+ "eos_token_id": 0,
12
+ "hidden_act": "silu",
13
+ "hidden_size": 2304,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 9216,
16
+ "logits_scaling": 9.0,
17
+ "max_position_embeddings": 4096,
18
+ "mlp_bias": true,
19
+ "model_type": "granite",
20
+ "num_attention_heads": 36,
21
+ "num_hidden_layers": 40,
22
+ "num_key_value_heads": 36,
23
+ "pad_token_id": 0,
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
+ "residual_multiplier": 0.22,
40
+ "rms_norm_eps": 1e-05,
41
+ "rope_scaling": null,
42
+ "rope_theta": 10000,
43
+ "tie_word_embeddings": true,
44
+ "torch_dtype": "float16",
45
+ "transformers_version": "4.46.2",
46
+ "use_cache": true,
47
+ "vocab_size": 49152
48
+ }