Update config.json
Browse files- config.json +25 -63
config.json
CHANGED
@@ -1,85 +1,47 @@
|
|
1 |
{
|
2 |
-
"add_cross_attention": false,
|
3 |
"architectures": [
|
4 |
"LlamaForCausalLM"
|
5 |
],
|
6 |
"attention_bias": false,
|
7 |
"attention_dropout": 0.0,
|
8 |
-
"bad_words_ids": null,
|
9 |
-
"begin_suppress_tokens": null,
|
10 |
"bos_token_id": 128000,
|
11 |
-
"
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
"
|
17 |
-
"encoder_no_repeat_ngram_size": 0,
|
18 |
-
"eos_token_id": 128001,
|
19 |
-
"exponential_decay_length_penalty": null,
|
20 |
-
"finetuning_task": null,
|
21 |
-
"forced_bos_token_id": null,
|
22 |
-
"forced_eos_token_id": null,
|
23 |
"hidden_act": "silu",
|
24 |
-
"hidden_size":
|
25 |
-
"id2label": {
|
26 |
-
"0": "LABEL_0",
|
27 |
-
"1": "LABEL_1"
|
28 |
-
},
|
29 |
"initializer_range": 0.02,
|
30 |
-
"intermediate_size":
|
31 |
-
"
|
32 |
-
"
|
33 |
-
"label2id": {
|
34 |
-
"LABEL_0": 0,
|
35 |
-
"LABEL_1": 1
|
36 |
-
},
|
37 |
-
"length_penalty": 1.0,
|
38 |
-
"max_length": 20,
|
39 |
-
"max_position_embeddings": 8192,
|
40 |
-
"min_length": 0,
|
41 |
"model_type": "llama",
|
42 |
-
"
|
43 |
-
"
|
44 |
-
"num_beam_groups": 1,
|
45 |
-
"num_beams": 1,
|
46 |
-
"num_hidden_layers": 32,
|
47 |
"num_key_value_heads": 8,
|
48 |
-
"num_return_sequences": 1,
|
49 |
-
"output_attentions": false,
|
50 |
-
"output_hidden_states": false,
|
51 |
-
"output_scores": false,
|
52 |
-
"pad_token_id": null,
|
53 |
-
"prefix": null,
|
54 |
"pretraining_tp": 1,
|
55 |
-
"problem_type": null,
|
56 |
-
"pruned_heads": {},
|
57 |
"quantization": {
|
58 |
"group_size": 64,
|
59 |
"bits": 4
|
60 |
},
|
61 |
-
"
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
"rms_norm_eps": 1e-05,
|
66 |
-
"rope_scaling":
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
"rope_theta": 500000.0,
|
68 |
-
"
|
69 |
-
"suppress_tokens": null,
|
70 |
-
"task_specific_params": null,
|
71 |
-
"temperature": 1.0,
|
72 |
-
"tf_legacy_loss": false,
|
73 |
-
"tie_encoder_decoder": false,
|
74 |
-
"tie_word_embeddings": false,
|
75 |
-
"tokenizer_class": null,
|
76 |
-
"top_k": 50,
|
77 |
-
"top_p": 1.0,
|
78 |
"torch_dtype": "bfloat16",
|
79 |
-
"
|
80 |
-
"transformers_version": "4.40.0",
|
81 |
-
"typical_p": 1.0,
|
82 |
-
"use_bfloat16": false,
|
83 |
"use_cache": true,
|
84 |
"vocab_size": 128256
|
85 |
}
|
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
"LlamaForCausalLM"
|
4 |
],
|
5 |
"attention_bias": false,
|
6 |
"attention_dropout": 0.0,
|
|
|
|
|
7 |
"bos_token_id": 128000,
|
8 |
+
"eos_token_id": [
|
9 |
+
128001,
|
10 |
+
128008,
|
11 |
+
128009
|
12 |
+
],
|
13 |
+
"head_dim": 128,
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
"hidden_act": "silu",
|
15 |
+
"hidden_size": 3072,
|
|
|
|
|
|
|
|
|
16 |
"initializer_range": 0.02,
|
17 |
+
"intermediate_size": 8192,
|
18 |
+
"max_position_embeddings": 131072,
|
19 |
+
"mlp_bias": false,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
"model_type": "llama",
|
21 |
+
"num_attention_heads": 24,
|
22 |
+
"num_hidden_layers": 28,
|
|
|
|
|
|
|
23 |
"num_key_value_heads": 8,
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
"pretraining_tp": 1,
|
|
|
|
|
25 |
"quantization": {
|
26 |
"group_size": 64,
|
27 |
"bits": 4
|
28 |
},
|
29 |
+
"quantization_config": {
|
30 |
+
"group_size": 64,
|
31 |
+
"bits": 4
|
32 |
+
},
|
33 |
"rms_norm_eps": 1e-05,
|
34 |
+
"rope_scaling": {
|
35 |
+
"factor": 32.0,
|
36 |
+
"high_freq_factor": 4.0,
|
37 |
+
"low_freq_factor": 1.0,
|
38 |
+
"original_max_position_embeddings": 8192,
|
39 |
+
"rope_type": "llama3"
|
40 |
+
},
|
41 |
"rope_theta": 500000.0,
|
42 |
+
"tie_word_embeddings": true,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
"torch_dtype": "bfloat16",
|
44 |
+
"transformers_version": "4.45.0.dev0",
|
|
|
|
|
|
|
45 |
"use_cache": true,
|
46 |
"vocab_size": 128256
|
47 |
}
|