Update config.json
Browse files- config.json +68 -6
config.json
CHANGED
@@ -1,29 +1,91 @@
|
|
1 |
{
|
|
|
2 |
"_name_or_path": "jetmoe/jetmoe-8b-chat",
|
3 |
"activation_function": "silu",
|
|
|
4 |
"architectures": [
|
5 |
"JetMoEForCausalLM"
|
6 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
"bos_token_id": 1,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
"eos_token_id": 2,
|
|
|
9 |
"ffn_hidden_size": 5632,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
"kv_channels": 128,
|
|
|
|
|
|
|
|
|
11 |
"layer_norm_epsilon": 1e-05,
|
12 |
"length_penalty": 1.0,
|
|
|
|
|
|
|
13 |
"moe_num_experts": 8,
|
14 |
"moe_top_k": 2,
|
15 |
-
"
|
16 |
-
"
|
|
|
17 |
"n_positions": 4096,
|
18 |
-
"
|
|
|
|
|
19 |
"num_key_value_heads": 16,
|
20 |
"num_layers": 24,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
"rms_norm_eps": 1e-05,
|
22 |
"rope_theta": 10000.0,
|
23 |
"rotary_percent": 1.0,
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
"tie_word_embeddings": true,
|
|
|
|
|
|
|
|
|
25 |
"transformers_version": null,
|
|
|
|
|
26 |
"use_cache": true,
|
27 |
-
"vocab_size": 32000
|
28 |
-
|
29 |
-
}
|
|
|
1 |
{
|
2 |
+
"_attn_implementation_internal": "eager",
|
3 |
"_name_or_path": "jetmoe/jetmoe-8b-chat",
|
4 |
"activation_function": "silu",
|
5 |
+
"add_cross_attention": false,
|
6 |
"architectures": [
|
7 |
"JetMoEForCausalLM"
|
8 |
],
|
9 |
+
"auto_map": {
|
10 |
+
"AutoConfig": "configuration_jetmoe.JetMoEConfig",
|
11 |
+
"AutoModelForCausalLM": "modeling_jetmoe.JetMoEForCausalLM"
|
12 |
+
},
|
13 |
+
"aux_loss_coef": 0.01,
|
14 |
+
"bad_words_ids": null,
|
15 |
+
"begin_suppress_tokens": null,
|
16 |
+
"bias": true,
|
17 |
"bos_token_id": 1,
|
18 |
+
"chunk_size_feed_forward": 0,
|
19 |
+
"cross_attention_hidden_size": null,
|
20 |
+
"decoder_start_token_id": null,
|
21 |
+
"diversity_penalty": 0.0,
|
22 |
+
"do_sample": false,
|
23 |
+
"early_stopping": false,
|
24 |
+
"encoder_no_repeat_ngram_size": 0,
|
25 |
"eos_token_id": 2,
|
26 |
+
"exponential_decay_length_penalty": null,
|
27 |
"ffn_hidden_size": 5632,
|
28 |
+
"finetuning_task": null,
|
29 |
+
"forced_bos_token_id": null,
|
30 |
+
"forced_eos_token_id": null,
|
31 |
+
"glu": true,
|
32 |
+
"id2label": {
|
33 |
+
"0": "LABEL_0",
|
34 |
+
"1": "LABEL_1"
|
35 |
+
},
|
36 |
+
"initializer_range": 0.01,
|
37 |
+
"is_decoder": false,
|
38 |
+
"is_encoder_decoder": false,
|
39 |
"kv_channels": 128,
|
40 |
+
"label2id": {
|
41 |
+
"LABEL_0": 0,
|
42 |
+
"LABEL_1": 1
|
43 |
+
},
|
44 |
"layer_norm_epsilon": 1e-05,
|
45 |
"length_penalty": 1.0,
|
46 |
+
"max_length": 20,
|
47 |
+
"min_length": 0,
|
48 |
+
"model_type": "jetmoe",
|
49 |
"moe_num_experts": 8,
|
50 |
"moe_top_k": 2,
|
51 |
+
"n_embd": 2048,
|
52 |
+
"n_head": 16,
|
53 |
+
"n_layer": 24,
|
54 |
"n_positions": 4096,
|
55 |
+
"no_repeat_ngram_size": 0,
|
56 |
+
"num_beam_groups": 1,
|
57 |
+
"num_beams": 1,
|
58 |
"num_key_value_heads": 16,
|
59 |
"num_layers": 24,
|
60 |
+
"num_return_sequences": 1,
|
61 |
+
"output_attentions": false,
|
62 |
+
"output_hidden_states": false,
|
63 |
+
"output_scores": false,
|
64 |
+
"pad_token_id": null,
|
65 |
+
"prefix": null,
|
66 |
+
"problem_type": null,
|
67 |
+
"pruned_heads": {},
|
68 |
+
"remove_invalid_values": false,
|
69 |
+
"repetition_penalty": 1.0,
|
70 |
+
"return_dict": true,
|
71 |
+
"return_dict_in_generate": false,
|
72 |
"rms_norm_eps": 1e-05,
|
73 |
"rope_theta": 10000.0,
|
74 |
"rotary_percent": 1.0,
|
75 |
+
"sep_token_id": null,
|
76 |
+
"suppress_tokens": null,
|
77 |
+
"task_specific_params": null,
|
78 |
+
"temperature": 1.0,
|
79 |
+
"tf_legacy_loss": false,
|
80 |
+
"tie_encoder_decoder": false,
|
81 |
"tie_word_embeddings": true,
|
82 |
+
"tokenizer_class": null,
|
83 |
+
"top_k": 50,
|
84 |
+
"top_p": 1.0,
|
85 |
+
"torchscript": false,
|
86 |
"transformers_version": null,
|
87 |
+
"typical_p": 1.0,
|
88 |
+
"use_bfloat16": false,
|
89 |
"use_cache": true,
|
90 |
+
"vocab_size": 32000
|
91 |
+
}
|
|