reecursion
commited on
Commit
•
f50aa26
1
Parent(s):
6d8f660
Add model configuration file (config.json)
Browse files- config.json +102 -0
config.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"vocab_size": 65024,
|
3 |
+
"hidden_size": 4544,
|
4 |
+
"num_hidden_layers": 32,
|
5 |
+
"num_attention_heads": 71,
|
6 |
+
"layer_norm_epsilon": 1e-05,
|
7 |
+
"initializer_range": 0.02,
|
8 |
+
"use_cache": false,
|
9 |
+
"hidden_dropout": 0.0,
|
10 |
+
"attention_dropout": 0.0,
|
11 |
+
"bos_token_id": 11,
|
12 |
+
"eos_token_id": 11,
|
13 |
+
"num_kv_heads": 71,
|
14 |
+
"alibi": false,
|
15 |
+
"new_decoder_architecture": false,
|
16 |
+
"multi_query": true,
|
17 |
+
"parallel_attn": true,
|
18 |
+
"bias": false,
|
19 |
+
"return_dict": true,
|
20 |
+
"output_hidden_states": false,
|
21 |
+
"output_attentions": false,
|
22 |
+
"torchscript": false,
|
23 |
+
"torch_dtype": "bfloat16",
|
24 |
+
"use_bfloat16": false,
|
25 |
+
"tf_legacy_loss": false,
|
26 |
+
"pruned_heads": {},
|
27 |
+
"tie_word_embeddings": true,
|
28 |
+
"is_encoder_decoder": false,
|
29 |
+
"is_decoder": false,
|
30 |
+
"cross_attention_hidden_size": null,
|
31 |
+
"add_cross_attention": false,
|
32 |
+
"tie_encoder_decoder": false,
|
33 |
+
"max_length": 20,
|
34 |
+
"min_length": 0,
|
35 |
+
"do_sample": false,
|
36 |
+
"early_stopping": false,
|
37 |
+
"num_beams": 1,
|
38 |
+
"num_beam_groups": 1,
|
39 |
+
"diversity_penalty": 0.0,
|
40 |
+
"temperature": 1.0,
|
41 |
+
"top_k": 50,
|
42 |
+
"top_p": 1.0,
|
43 |
+
"typical_p": 1.0,
|
44 |
+
"repetition_penalty": 1.0,
|
45 |
+
"length_penalty": 1.0,
|
46 |
+
"no_repeat_ngram_size": 0,
|
47 |
+
"encoder_no_repeat_ngram_size": 0,
|
48 |
+
"bad_words_ids": null,
|
49 |
+
"num_return_sequences": 1,
|
50 |
+
"chunk_size_feed_forward": 0,
|
51 |
+
"output_scores": false,
|
52 |
+
"return_dict_in_generate": false,
|
53 |
+
"forced_bos_token_id": null,
|
54 |
+
"forced_eos_token_id": null,
|
55 |
+
"remove_invalid_values": false,
|
56 |
+
"exponential_decay_length_penalty": null,
|
57 |
+
"suppress_tokens": null,
|
58 |
+
"begin_suppress_tokens": null,
|
59 |
+
"architectures": [
|
60 |
+
"FalconForCausalLM"
|
61 |
+
],
|
62 |
+
"finetuning_task": null,
|
63 |
+
"id2label": {
|
64 |
+
"0": "LABEL_0",
|
65 |
+
"1": "LABEL_1"
|
66 |
+
},
|
67 |
+
"label2id": {
|
68 |
+
"LABEL_0": 0,
|
69 |
+
"LABEL_1": 1
|
70 |
+
},
|
71 |
+
"tokenizer_class": null,
|
72 |
+
"prefix": null,
|
73 |
+
"pad_token_id": null,
|
74 |
+
"sep_token_id": null,
|
75 |
+
"decoder_start_token_id": null,
|
76 |
+
"task_specific_params": null,
|
77 |
+
"problem_type": null,
|
78 |
+
"_name_or_path": "vilsonrodrigues/falcon-7b-instruct-sharded",
|
79 |
+
"transformers_version": "4.32.0",
|
80 |
+
"apply_residual_connection_post_layernorm": false,
|
81 |
+
"auto_map": {
|
82 |
+
"AutoConfig": "vilsonrodrigues/falcon-7b-instruct-sharded--configuration_falcon.FalconConfig",
|
83 |
+
"AutoModel": "vilsonrodrigues/falcon-7b-instruct-sharded--modeling_falcon.FalconModel",
|
84 |
+
"AutoModelForSequenceClassification": "vilsonrodrigues/falcon-7b-instruct-sharded--modeling_falcon.FalconForSequenceClassification",
|
85 |
+
"AutoModelForTokenClassification": "vilsonrodrigues/falcon-7b-instruct-sharded--modeling_falcon.FalconForTokenClassification",
|
86 |
+
"AutoModelForQuestionAnswering": "vilsonrodrigues/falcon-7b-instruct-sharded--modeling_falcon.FalconForQuestionAnswering",
|
87 |
+
"AutoModelForCausalLM": "vilsonrodrigues/falcon-7b-instruct-sharded--modeling_falcon.FalconForCausalLM"
|
88 |
+
},
|
89 |
+
"model_type": "falcon",
|
90 |
+
"quantization_config": {
|
91 |
+
"quant_method": "bitsandbytes",
|
92 |
+
"load_in_8bit": false,
|
93 |
+
"load_in_4bit": true,
|
94 |
+
"llm_int8_threshold": 6.0,
|
95 |
+
"llm_int8_skip_modules": null,
|
96 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
97 |
+
"llm_int8_has_fp16_weight": false,
|
98 |
+
"bnb_4bit_quant_type": "nf4",
|
99 |
+
"bnb_4bit_use_double_quant": true,
|
100 |
+
"bnb_4bit_compute_dtype": "float16"
|
101 |
+
}
|
102 |
+
}
|