Update config.json
Browse files- config.json +21 -76
config.json
CHANGED
@@ -1,85 +1,30 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
"hidden_size": 4096,
|
|
|
5 |
"intermediate_size": 12288,
|
6 |
-
"
|
|
|
|
|
7 |
"num_attention_heads": 32,
|
|
|
8 |
"num_key_value_heads": 8,
|
9 |
-
"
|
10 |
-
"initializer_range": 0.02,
|
11 |
-
"rms_norm_eps": 1e-05,
|
12 |
"pretraining_tp": 1,
|
13 |
-
"
|
14 |
-
"rope_theta": 20000000,
|
15 |
"rope_scaling": null,
|
16 |
-
"
|
17 |
-
"attention_dropout": 0.0,
|
18 |
-
"mlp_bias": false,
|
19 |
-
"head_dim": 128,
|
20 |
-
"return_dict": true,
|
21 |
-
"output_hidden_states": false,
|
22 |
-
"output_attentions": false,
|
23 |
-
"torchscript": false,
|
24 |
-
"torch_dtype": "bfloat16",
|
25 |
-
"use_bfloat16": false,
|
26 |
-
"tf_legacy_loss": false,
|
27 |
-
"pruned_heads": {},
|
28 |
"tie_word_embeddings": false,
|
29 |
-
"
|
30 |
-
"
|
31 |
-
"
|
32 |
-
"
|
33 |
-
"add_cross_attention": false,
|
34 |
-
"tie_encoder_decoder": false,
|
35 |
-
"max_length": 20,
|
36 |
-
"min_length": 0,
|
37 |
-
"do_sample": false,
|
38 |
-
"early_stopping": false,
|
39 |
-
"num_beams": 1,
|
40 |
-
"num_beam_groups": 1,
|
41 |
-
"diversity_penalty": 0.0,
|
42 |
-
"temperature": 1.0,
|
43 |
-
"top_k": 50,
|
44 |
-
"top_p": 1.0,
|
45 |
-
"typical_p": 1.0,
|
46 |
-
"repetition_penalty": 1.0,
|
47 |
-
"length_penalty": 1.0,
|
48 |
-
"no_repeat_ngram_size": 0,
|
49 |
-
"encoder_no_repeat_ngram_size": 0,
|
50 |
-
"bad_words_ids": null,
|
51 |
-
"num_return_sequences": 1,
|
52 |
-
"output_scores": false,
|
53 |
-
"return_dict_in_generate": false,
|
54 |
-
"forced_bos_token_id": null,
|
55 |
-
"forced_eos_token_id": null,
|
56 |
-
"remove_invalid_values": false,
|
57 |
-
"exponential_decay_length_penalty": null,
|
58 |
-
"suppress_tokens": null,
|
59 |
-
"begin_suppress_tokens": null,
|
60 |
-
"architectures": [
|
61 |
-
"LlamaForCausalLM"
|
62 |
-
],
|
63 |
-
"finetuning_task": null,
|
64 |
-
"id2label": {
|
65 |
-
"0": "LABEL_0",
|
66 |
-
"1": "LABEL_1"
|
67 |
-
},
|
68 |
-
"label2id": {
|
69 |
-
"LABEL_0": 0,
|
70 |
-
"LABEL_1": 1
|
71 |
-
},
|
72 |
-
"tokenizer_class": null,
|
73 |
-
"prefix": null,
|
74 |
-
"bos_token_id": 0,
|
75 |
-
"pad_token_id": 3,
|
76 |
-
"eos_token_id": 1,
|
77 |
-
"sep_token_id": null,
|
78 |
-
"decoder_start_token_id": null,
|
79 |
-
"task_specific_params": null,
|
80 |
-
"problem_type": null,
|
81 |
-
"_name_or_path": "",
|
82 |
-
"_attn_implementation_autoset": false,
|
83 |
-
"transformers_version": "4.47.1",
|
84 |
-
"model_type": "llama"
|
85 |
}
|
|
|
1 |
{
|
2 |
+
"architectures": [
|
3 |
+
"LlamaForCausalLM"
|
4 |
+
],
|
5 |
+
"attention_bias": false,
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"eos_token_id": 267,
|
9 |
+
"head_dim": 128,
|
10 |
+
"hidden_act": "silu",
|
11 |
"hidden_size": 4096,
|
12 |
+
"initializer_range": 0.02,
|
13 |
"intermediate_size": 12288,
|
14 |
+
"max_position_embeddings": 32000,
|
15 |
+
"mlp_bias": false,
|
16 |
+
"model_type": "llama",
|
17 |
"num_attention_heads": 32,
|
18 |
+
"num_hidden_layers": 32,
|
19 |
"num_key_value_heads": 8,
|
20 |
+
"pad_token_id": 3,
|
|
|
|
|
21 |
"pretraining_tp": 1,
|
22 |
+
"rms_norm_eps": 1e-05,
|
|
|
23 |
"rope_scaling": null,
|
24 |
+
"rope_theta": 20000000.0,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
"tie_word_embeddings": false,
|
26 |
+
"torch_dtype": "bfloat16",
|
27 |
+
"transformers_version": "4.46.3",
|
28 |
+
"use_cache": true,
|
29 |
+
"vocab_size": 65024
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
}
|