Update config.json
Browse files- config.json +33 -25
config.json
CHANGED
@@ -1,44 +1,52 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"alibi": false,
|
4 |
"apply_residual_connection_post_layernorm": false,
|
5 |
"architectures": [
|
6 |
-
"
|
7 |
],
|
8 |
"attention_dropout": 0.0,
|
9 |
"auto_map": {
|
10 |
-
"AutoConfig": "tiiuae/falcon-7b--
|
11 |
-
"AutoModel": "tiiuae/falcon-7b--
|
12 |
-
"AutoModelForCausalLM": "tiiuae/falcon-7b--
|
13 |
-
"AutoModelForQuestionAnswering": "tiiuae/falcon-7b--
|
14 |
-
"AutoModelForSequenceClassification": "tiiuae/falcon-7b--
|
15 |
-
"AutoModelForTokenClassification": "tiiuae/falcon-7b--
|
16 |
},
|
17 |
-
"bias":
|
18 |
"bos_token_id": 11,
|
19 |
"eos_token_id": 11,
|
20 |
"hidden_dropout": 0.0,
|
21 |
"hidden_size": 4544,
|
22 |
"initializer_range": 0.02,
|
23 |
"layer_norm_epsilon": 1e-05,
|
24 |
-
"model_type": "
|
25 |
"multi_query": true,
|
26 |
-
"
|
27 |
-
"
|
|
|
28 |
"parallel_attn": true,
|
29 |
-
"quantization_config": {
|
30 |
-
"bnb_4bit_compute_dtype": "float16",
|
31 |
-
"bnb_4bit_quant_type": "nf4",
|
32 |
-
"bnb_4bit_use_double_quant": false,
|
33 |
-
"llm_int8_enable_fp32_cpu_offload": false,
|
34 |
-
"llm_int8_has_fp16_weight": false,
|
35 |
-
"llm_int8_skip_modules": null,
|
36 |
-
"llm_int8_threshold": 6.0,
|
37 |
-
"load_in_4bit": true,
|
38 |
-
"load_in_8bit": false
|
39 |
-
},
|
40 |
"torch_dtype": "bfloat16",
|
41 |
"transformers_version": "4.30.0.dev0",
|
42 |
"use_cache": true,
|
43 |
-
"vocab_size": 65024
|
44 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "tiiuae/falcon-7b",
|
3 |
"alibi": false,
|
4 |
"apply_residual_connection_post_layernorm": false,
|
5 |
"architectures": [
|
6 |
+
"FalconForCausalLM"
|
7 |
],
|
8 |
"attention_dropout": 0.0,
|
9 |
"auto_map": {
|
10 |
+
"AutoConfig": "tiiuae/falcon-7b--configuration_falcon.FalconConfig",
|
11 |
+
"AutoModel": "tiiuae/falcon-7b--modeling_falcon.FalconModel",
|
12 |
+
"AutoModelForCausalLM": "tiiuae/falcon-7b--modeling_falcon.FalconForCausalLM",
|
13 |
+
"AutoModelForQuestionAnswering": "tiiuae/falcon-7b--modeling_falcon.FalconForQuestionAnswering",
|
14 |
+
"AutoModelForSequenceClassification": "tiiuae/falcon-7b--modeling_falcon.FalconForSequenceClassification",
|
15 |
+
"AutoModelForTokenClassification": "tiiuae/falcon-7b--modeling_falcon.FalconForTokenClassification"
|
16 |
},
|
17 |
+
"bias": "none",
|
18 |
"bos_token_id": 11,
|
19 |
"eos_token_id": 11,
|
20 |
"hidden_dropout": 0.0,
|
21 |
"hidden_size": 4544,
|
22 |
"initializer_range": 0.02,
|
23 |
"layer_norm_epsilon": 1e-05,
|
24 |
+
"model_type": "falcon",
|
25 |
"multi_query": true,
|
26 |
+
"new_decoder_architecture": false,
|
27 |
+
"num_attention_heads": 71,
|
28 |
+
"num_hidden_layers": 32,
|
29 |
"parallel_attn": true,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
"torch_dtype": "bfloat16",
|
31 |
"transformers_version": "4.30.0.dev0",
|
32 |
"use_cache": true,
|
33 |
+
"vocab_size": 65024,
|
34 |
+
"fan_in_fan_out": false,
|
35 |
+
"inference_mode": true,
|
36 |
+
"init_lora_weights": true,
|
37 |
+
"layers_pattern": null,
|
38 |
+
"layers_to_transform": null,
|
39 |
+
"lora_alpha": 16,
|
40 |
+
"lora_dropout": 0.1,
|
41 |
+
"modules_to_save": null,
|
42 |
+
"peft_type": "LORA",
|
43 |
+
"r": 64,
|
44 |
+
"revision": null,
|
45 |
+
"target_modules": [
|
46 |
+
"query_key_value",
|
47 |
+
"dense",
|
48 |
+
"dense_h_to_4h",
|
49 |
+
"dense_4h_to_h"
|
50 |
+
],
|
51 |
+
"task_type": "CAUSAL_LM"
|
52 |
+
}
|