csabakecskemeti commited on
Commit
571cbaf
·
verified ·
1 Parent(s): a158167

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +126 -0
config.json ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": false,
3
+ "_name_or_path": "",
4
+ "add_cross_attention": false,
5
+ "architectures": [
6
+ "DeepseekV3ForCausalLM"
7
+ ],
8
+ "attention_bias": false,
9
+ "attention_dropout": 0.0,
10
+ "auto_map": {
11
+ "AutoConfig": "configuration_deepseek.DeepseekV3Config",
12
+ "AutoModel": "modeling_deepseek.DeepseekV3Model",
13
+ "AutoModelForCausalLM": "modeling_deepseek.DeepseekV3ForCausalLM"
14
+ },
15
+ "aux_loss_alpha": 0.001,
16
+ "bad_words_ids": null,
17
+ "begin_suppress_tokens": null,
18
+ "bos_token_id": 163584,
19
+ "chunk_size_feed_forward": 0,
20
+ "cross_attention_hidden_size": null,
21
+ "decoder_start_token_id": null,
22
+ "diversity_penalty": 0.0,
23
+ "do_sample": false,
24
+ "early_stopping": false,
25
+ "encoder_no_repeat_ngram_size": 0,
26
+ "eos_token_id": 163585,
27
+ "ep_size": 1,
28
+ "exponential_decay_length_penalty": null,
29
+ "finetuning_task": null,
30
+ "first_k_dense_replace": 1,
31
+ "forced_bos_token_id": null,
32
+ "forced_eos_token_id": null,
33
+ "hidden_act": "silu",
34
+ "hidden_size": 7168,
35
+ "id2label": {
36
+ "0": "LABEL_0",
37
+ "1": "LABEL_1"
38
+ },
39
+ "initializer_range": 0.02,
40
+ "intermediate_size": 18432,
41
+ "is_decoder": false,
42
+ "is_encoder_decoder": false,
43
+ "kv_lora_rank": 512,
44
+ "label2id": {
45
+ "LABEL_0": 0,
46
+ "LABEL_1": 1
47
+ },
48
+ "length_penalty": 1.0,
49
+ "max_length": 20,
50
+ "max_position_embeddings": 262144,
51
+ "min_length": 0,
52
+ "model_type": "kimi_k2",
53
+ "moe_intermediate_size": 2048,
54
+ "moe_layer_freq": 1,
55
+ "n_group": 1,
56
+ "n_routed_experts": 384,
57
+ "n_shared_experts": 1,
58
+ "no_repeat_ngram_size": 0,
59
+ "norm_topk_prob": true,
60
+ "num_attention_heads": 64,
61
+ "num_beam_groups": 1,
62
+ "num_beams": 1,
63
+ "num_experts_per_tok": 8,
64
+ "num_hidden_layers": 61,
65
+ "num_key_value_heads": 64,
66
+ "num_nextn_predict_layers": 0,
67
+ "num_return_sequences": 1,
68
+ "output_attentions": false,
69
+ "output_hidden_states": false,
70
+ "output_scores": false,
71
+ "pad_token_id": 163839,
72
+ "prefix": null,
73
+ "pretraining_tp": 1,
74
+ "problem_type": null,
75
+ "pruned_heads": {},
76
+ "q_lora_rank": 1536,
77
+ "qk_nope_head_dim": 128,
78
+ "qk_rope_head_dim": 64,
79
+ "quantization_config": {
80
+ "activation_scheme": "dynamic",
81
+ "fmt": "e4m3",
82
+ "quant_method": "fp8",
83
+ "weight_block_size": [
84
+ 128,
85
+ 128
86
+ ]
87
+ },
88
+ "remove_invalid_values": false,
89
+ "repetition_penalty": 1.0,
90
+ "return_dict": true,
91
+ "return_dict_in_generate": false,
92
+ "rms_norm_eps": 1e-05,
93
+ "rope_scaling": {
94
+ "beta_fast": 1.0,
95
+ "beta_slow": 1.0,
96
+ "factor": 64.0,
97
+ "mscale": 1.0,
98
+ "mscale_all_dim": 1.0,
99
+ "original_max_position_embeddings": 4096,
100
+ "type": "yarn"
101
+ },
102
+ "rope_theta": 50000.0,
103
+ "routed_scaling_factor": 2.827,
104
+ "scoring_func": "sigmoid",
105
+ "sep_token_id": null,
106
+ "seq_aux": true,
107
+ "suppress_tokens": null,
108
+ "task_specific_params": null,
109
+ "temperature": 1.0,
110
+ "tf_legacy_loss": false,
111
+ "tie_encoder_decoder": false,
112
+ "tie_word_embeddings": false,
113
+ "tokenizer_class": null,
114
+ "top_k": 50,
115
+ "top_p": 1.0,
116
+ "topk_group": 1,
117
+ "topk_method": "noaux_tc",
118
+ "torch_dtype": "bfloat16",
119
+ "torchscript": false,
120
+ "transformers_version": "4.51.3",
121
+ "typical_p": 1.0,
122
+ "use_bfloat16": false,
123
+ "use_cache": true,
124
+ "v_head_dim": 128,
125
+ "vocab_size": 163840
126
+ }