Update config.json
Browse files- config.json +15 -22
config.json
CHANGED
|
@@ -1,41 +1,34 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "meta-llama/Llama-2-7b-chat-hf",
|
| 3 |
"architectures": [
|
| 4 |
"LlamaForCausalLM"
|
| 5 |
],
|
| 6 |
-
"attention_bias": false,
|
| 7 |
-
"attention_dropout": 0.0,
|
| 8 |
"bos_token_id": 1,
|
| 9 |
"eos_token_id": 2,
|
| 10 |
"hidden_act": "silu",
|
| 11 |
"hidden_size": 4096,
|
| 12 |
"initializer_range": 0.02,
|
| 13 |
"intermediate_size": 11008,
|
|
|
|
| 14 |
"max_position_embeddings": 4096,
|
| 15 |
"model_type": "llama",
|
| 16 |
"num_attention_heads": 32,
|
| 17 |
"num_hidden_layers": 32,
|
| 18 |
-
"
|
| 19 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
"quantization_config": {
|
| 21 |
"bits": 4,
|
|
|
|
| 22 |
"damp_percent": 0.01,
|
| 23 |
"desc_act": false,
|
| 24 |
-
"group_size": 128,
|
| 25 |
-
"is_marlin_format": false,
|
| 26 |
-
"model_file_base_name": null,
|
| 27 |
-
"model_name_or_path": null,
|
| 28 |
-
"quant_method": "gptq",
|
| 29 |
-
"static_groups": false,
|
| 30 |
"sym": true,
|
| 31 |
-
"true_sequential": true
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
"torch_dtype": "float16",
|
| 38 |
-
"transformers_version": "4.38.2",
|
| 39 |
-
"use_cache": true,
|
| 40 |
-
"vocab_size": 32000
|
| 41 |
-
}
|
|
|
|
| 1 |
{
|
|
|
|
| 2 |
"architectures": [
|
| 3 |
"LlamaForCausalLM"
|
| 4 |
],
|
|
|
|
|
|
|
| 5 |
"bos_token_id": 1,
|
| 6 |
"eos_token_id": 2,
|
| 7 |
"hidden_act": "silu",
|
| 8 |
"hidden_size": 4096,
|
| 9 |
"initializer_range": 0.02,
|
| 10 |
"intermediate_size": 11008,
|
| 11 |
+
"max_length": 4096,
|
| 12 |
"max_position_embeddings": 4096,
|
| 13 |
"model_type": "llama",
|
| 14 |
"num_attention_heads": 32,
|
| 15 |
"num_hidden_layers": 32,
|
| 16 |
+
"pad_token_id": 0,
|
| 17 |
+
"rms_norm_eps": 1e-06,
|
| 18 |
+
"tie_word_embeddings": false,
|
| 19 |
+
"torch_dtype": "float16",
|
| 20 |
+
"transformers_version": "4.30.0.dev0",
|
| 21 |
+
"use_cache": true,
|
| 22 |
+
"vocab_size": 32000,
|
| 23 |
"quantization_config": {
|
| 24 |
"bits": 4,
|
| 25 |
+
"group_size": 128,
|
| 26 |
"damp_percent": 0.01,
|
| 27 |
"desc_act": false,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
"sym": true,
|
| 29 |
+
"true_sequential": true,
|
| 30 |
+
"model_name_or_path": null,
|
| 31 |
+
"model_file_base_name": "model",
|
| 32 |
+
"quant_method": "gptq"
|
| 33 |
+
}
|
| 34 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|