woodchen7 commited on
Commit
896d04a
·
verified ·
1 Parent(s): e54ecbd

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +57 -36
config.json CHANGED
@@ -1,37 +1,58 @@
1
  {
2
- "_attn_implementation_autoset": true,
3
- "architectures": [
4
- "Qwen2ForCausalLM"
5
- ],
6
- "attention_dropout": 0.0,
7
- "bos_token_id": 151643,
8
- "eos_token_id": 151645,
9
- "hidden_act": "silu",
10
- "hidden_size": 1536,
11
- "initializer_range": 0.02,
12
- "intermediate_size": 8960,
13
- "max_position_embeddings": 32768,
14
- "max_window_layers": 21,
15
- "model_type": "qwen2",
16
- "num_attention_heads": 12,
17
- "num_hidden_layers": 28,
18
- "num_key_value_heads": 2,
19
- "quantization_config": {
20
- "bits": 4,
21
- "group_size": 128,
22
- "modules_to_not_convert": null,
23
- "quant_method": "awq",
24
- "version": "gemm",
25
- "zero_point": true
26
- },
27
- "rms_norm_eps": 1e-06,
28
- "rope_scaling": null,
29
- "rope_theta": 1000000.0,
30
- "sliding_window": 32768,
31
- "tie_word_embeddings": true,
32
- "torch_dtype": "float16",
33
- "transformers_version": "4.51.3",
34
- "use_cache": false,
35
- "use_sliding_window": false,
36
- "vocab_size": 151936
37
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  {
2
+ "architectures": [
3
+ "Qwen2ForCausalLM"
4
+ ],
5
+ "attention_dropout": 0.0,
6
+ "bos_token_id": 151643,
7
+ "eos_token_id": 151645,
8
+ "hidden_act": "silu",
9
+ "hidden_size": 1536,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 8960,
12
+ "max_position_embeddings": 32768,
13
+ "max_window_layers": 21,
14
+ "model_type": "qwen2",
15
+ "num_attention_heads": 12,
16
+ "num_hidden_layers": 28,
17
+ "num_key_value_heads": 2,
18
+ "quantization_config": {
19
+ "config_groups": {
20
+ "group_0": {
21
+ "input_activations": {
22
+ "dynamic": false,
23
+ "num_bits": 8,
24
+ "strategy": "tensor",
25
+ "type": "float"
26
+ },
27
+ "output_activations": null,
28
+ "targets": [
29
+ "Linear"
30
+ ],
31
+ "weights": {
32
+ "dynamic": false,
33
+ "num_bits": 8,
34
+ "strategy": "tensor",
35
+ "type": "float"
36
+ }
37
+ }
38
+ },
39
+ "format": "naive-quantized",
40
+ "kv_cache_scheme": null,
41
+ "quant_method": "compressed-tensors",
42
+ "quantization_status": "compressed",
43
+ "ignored_layers": [
44
+ "lm_head",
45
+ "model.embed_tokens"
46
+ ]
47
+ },
48
+ "rms_norm_eps": 1e-06,
49
+ "rope_scaling": null,
50
+ "rope_theta": 1000000.0,
51
+ "sliding_window": 32768,
52
+ "tie_word_embeddings": true,
53
+ "torch_dtype": "bfloat16",
54
+ "transformers_version": "4.51.3",
55
+ "use_cache": false,
56
+ "use_sliding_window": false,
57
+ "vocab_size": 151936
58
+ }