weiweiz1 commited on
Commit
2f64d63
·
verified ·
1 Parent(s): 60be362

Create config.json

Browse files
Files changed (1) hide show
  1. config.json +106 -0
config.json ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/data5/yliu7/HF_HOME/DeepSeek-R1-bf16/DeepSeek-R1-bf16",
3
+ "architectures": [
4
+ "DeepseekV3ForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "auto_map": {
9
+ "AutoConfig": "configuration_deepseek.DeepseekV3Config",
10
+ "AutoModel": "modeling_deepseek.DeepseekV3Model",
11
+ "AutoModelForCausalLM": "modeling_deepseek.DeepseekV3ForCausalLM"
12
+ },
13
+ "aux_loss_alpha": 0.001,
14
+ "bos_token_id": 0,
15
+ "eos_token_id": 1,
16
+ "ep_size": 1,
17
+ "first_k_dense_replace": 3,
18
+ "hidden_act": "silu",
19
+ "hidden_size": 7168,
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 18432,
22
+ "kv_lora_rank": 512,
23
+ "max_position_embeddings": 163840,
24
+ "model_type": "deepseek_v3",
25
+ "moe_intermediate_size": 2048,
26
+ "moe_layer_freq": 1,
27
+ "n_group": 8,
28
+ "n_routed_experts": 256,
29
+ "n_shared_experts": 1,
30
+ "norm_topk_prob": true,
31
+ "num_attention_heads": 128,
32
+ "num_experts_per_tok": 8,
33
+ "num_hidden_layers": 61,
34
+ "num_key_value_heads": 128,
35
+ "num_nextn_predict_layers": 1,
36
+ "pretraining_tp": 1,
37
+ "q_lora_rank": 1536,
38
+ "qk_nope_head_dim": 128,
39
+ "qk_rope_head_dim": 64,
40
+ "quantization_config": {
41
+ "config_groups": {
42
+ "group_0": {
43
+ "input_activations": {
44
+ "actorder": null,
45
+ "block_structure": null,
46
+ "dynamic": "local",
47
+ "group_size": 32,
48
+ "is_mx": true,
49
+ "num_bits": 4,
50
+ "observer": "minmax",
51
+ "observer_kwargs": {},
52
+ "strategy": "tensor_group",
53
+ "symmetric": true,
54
+ "type": "float"
55
+ },
56
+ "output_activations": null,
57
+ "targets": [
58
+ "Linear"
59
+ ],
60
+ "weights": {
61
+ "actorder": null,
62
+ "block_structure": null,
63
+ "dynamic": false,
64
+ "group_size": 32,
65
+ "is_mx": true,
66
+ "num_bits": 4,
67
+ "observer": "minmax",
68
+ "observer_kwargs": {},
69
+ "strategy": "tensor_group",
70
+ "symmetric": true,
71
+ "type": "float"
72
+ }
73
+ }
74
+ },
75
+ "format": "float-quantized",
76
+ "global_compression_ratio": null,
77
+ "ignore": [
78
+ "lm_head"
79
+ ],
80
+ "kv_cache_scheme": null,
81
+ "quant_method": "compressed-tensors",
82
+ "quantization_status": "compressed"
83
+ },
84
+ "rms_norm_eps": 1e-06,
85
+ "rope_scaling": {
86
+ "beta_fast": 32,
87
+ "beta_slow": 1,
88
+ "factor": 40,
89
+ "mscale": 1.0,
90
+ "mscale_all_dim": 1.0,
91
+ "original_max_position_embeddings": 4096,
92
+ "type": "yarn"
93
+ },
94
+ "rope_theta": 10000,
95
+ "routed_scaling_factor": 2.5,
96
+ "scoring_func": "sigmoid",
97
+ "seq_aux": true,
98
+ "tie_word_embeddings": false,
99
+ "topk_group": 4,
100
+ "topk_method": "noaux_tc",
101
+ "torch_dtype": "bfloat16",
102
+ "transformers_version": "4.47.0",
103
+ "use_cache": true,
104
+ "v_head_dim": 128,
105
+ "vocab_size": 129280
106
+ }