Alignment-Lab-AI
commited on
Update config.json
Browse files- config.json +9 -8
config.json
CHANGED
@@ -1,24 +1,24 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
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": 2048,
|
12 |
"initializer_range": 0.02,
|
13 |
"intermediate_size": 5632,
|
14 |
-
"max_position_embeddings":
|
15 |
"model_type": "llama",
|
16 |
"num_attention_heads": 32,
|
17 |
"num_hidden_layers": 22,
|
18 |
"num_key_value_heads": 4,
|
19 |
"pretraining_tp": 1,
|
20 |
-
|
21 |
-
"bnb_4bit_compute_dtype": "
|
22 |
"bnb_4bit_quant_type": "nf4",
|
23 |
"bnb_4bit_use_double_quant": true,
|
24 |
"llm_int8_enable_fp32_cpu_offload": false,
|
@@ -33,8 +33,9 @@
|
|
33 |
"rope_scaling": null,
|
34 |
"rope_theta": 10000.0,
|
35 |
"tie_word_embeddings": false,
|
36 |
-
"torch_dtype": "
|
37 |
-
"transformers_version": "4.
|
38 |
-
"
|
|
|
39 |
"vocab_size": 32000
|
40 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "TinyLlama/TinyLlama-1.1B-Chat-v1.0",
|
3 |
"architectures": [
|
4 |
"LlamaForCausalLM"
|
5 |
],
|
6 |
"attention_bias": false,
|
|
|
7 |
"bos_token_id": 1,
|
8 |
"eos_token_id": 2,
|
9 |
+
"factor": 2,
|
10 |
"hidden_act": "silu",
|
11 |
"hidden_size": 2048,
|
12 |
"initializer_range": 0.02,
|
13 |
"intermediate_size": 5632,
|
14 |
+
"max_position_embeddings": 4096,
|
15 |
"model_type": "llama",
|
16 |
"num_attention_heads": 32,
|
17 |
"num_hidden_layers": 22,
|
18 |
"num_key_value_heads": 4,
|
19 |
"pretraining_tp": 1,
|
20 |
+
"quantization_config": {
|
21 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
22 |
"bnb_4bit_quant_type": "nf4",
|
23 |
"bnb_4bit_use_double_quant": true,
|
24 |
"llm_int8_enable_fp32_cpu_offload": false,
|
|
|
33 |
"rope_scaling": null,
|
34 |
"rope_theta": 10000.0,
|
35 |
"tie_word_embeddings": false,
|
36 |
+
"torch_dtype": "bfloat16",
|
37 |
+
"transformers_version": "4.34.1",
|
38 |
+
"type": "dynamic",
|
39 |
+
"use_cache": false,
|
40 |
"vocab_size": 32000
|
41 |
}
|