Commit ·
a294498
1
Parent(s): aeb975a
Update config.json
Browse files- config.json +42 -97
config.json
CHANGED
|
@@ -1,99 +1,44 @@
|
|
| 1 |
{
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
"
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
"
|
| 11 |
-
"
|
| 12 |
-
"
|
| 13 |
-
"
|
| 14 |
-
"
|
| 15 |
-
"
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
"
|
| 31 |
-
"
|
| 32 |
-
"
|
| 33 |
-
"
|
| 34 |
-
"
|
| 35 |
-
"
|
| 36 |
-
"
|
| 37 |
-
"
|
| 38 |
-
"
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
"length_penalty": 1.0,
|
| 45 |
-
"no_repeat_ngram_size": 0,
|
| 46 |
-
"encoder_no_repeat_ngram_size": 0,
|
| 47 |
-
"bad_words_ids": "None",
|
| 48 |
-
"num_return_sequences": 1,
|
| 49 |
-
"chunk_size_feed_forward": 0,
|
| 50 |
-
"output_scores": false,
|
| 51 |
-
"return_dict_in_generate": false,
|
| 52 |
-
"forced_bos_token_id": "None",
|
| 53 |
-
"forced_eos_token_id": "None",
|
| 54 |
-
"remove_invalid_values": false,
|
| 55 |
-
"exponential_decay_length_penalty": "None",
|
| 56 |
-
"suppress_tokens": "None",
|
| 57 |
-
"begin_suppress_tokens": "None",
|
| 58 |
-
"architectures": [
|
| 59 |
-
"RWForCausalLM"
|
| 60 |
-
],
|
| 61 |
-
"finetuning_task": "None",
|
| 62 |
-
"id2label": {
|
| 63 |
-
"0": "LABEL_0",
|
| 64 |
-
"1": "LABEL_1"
|
| 65 |
-
},
|
| 66 |
-
"label2id": {
|
| 67 |
-
"LABEL_0": 0,
|
| 68 |
-
"LABEL_1": 1
|
| 69 |
-
},
|
| 70 |
-
"tokenizer_class": "None",
|
| 71 |
-
"prefix": "None",
|
| 72 |
-
"pad_token_id": "None",
|
| 73 |
-
"sep_token_id": "None",
|
| 74 |
-
"decoder_start_token_id": "None",
|
| 75 |
-
"task_specific_params": "None",
|
| 76 |
-
"problem_type": "None",
|
| 77 |
-
"_name_or_path": "tiiuae/falcon-7b",
|
| 78 |
-
"transformers_version": "4.31.0",
|
| 79 |
-
"auto_map": {
|
| 80 |
-
"AutoConfig": "tiiuae/falcon-7b--configuration_RW.RWConfig",
|
| 81 |
-
"AutoModel": "tiiuae/falcon-7b--modelling_RW.RWModel",
|
| 82 |
-
"AutoModelForSequenceClassification": "tiiuae/falcon-7b--modelling_RW.RWForSequenceClassification",
|
| 83 |
-
"AutoModelForTokenClassification": "tiiuae/falcon-7b--modelling_RW.RWForTokenClassification",
|
| 84 |
-
"AutoModelForQuestionAnswering": "tiiuae/falcon-7b--modelling_RW.RWForQuestionAnswering",
|
| 85 |
-
"AutoModelForCausalLM": "tiiuae/falcon-7b--modelling_RW.RWForCausalLM"
|
| 86 |
-
},
|
| 87 |
-
"model_type": "RefinedWebModel",
|
| 88 |
-
"quantization_config": {
|
| 89 |
-
"load_in_8bit": false,
|
| 90 |
-
"load_in_4bit": true,
|
| 91 |
-
"llm_int8_threshold": 6.0,
|
| 92 |
-
"llm_int8_skip_modules": "None",
|
| 93 |
-
"llm_int8_enable_fp32_cpu_offload": false,
|
| 94 |
-
"llm_int8_has_fp16_weight": false,
|
| 95 |
-
"bnb_4bit_quant_type": "nf4",
|
| 96 |
-
"bnb_4bit_use_double_quant": false,
|
| 97 |
-
"bnb_4bit_compute_dtype": "float16"
|
| 98 |
-
}
|
| 99 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "tiiuae/falcon-7b",
|
| 3 |
+
"alibi": false,
|
| 4 |
+
"apply_residual_connection_post_layernorm": false,
|
| 5 |
+
"architectures": [
|
| 6 |
+
"RWForCausalLM"
|
| 7 |
+
],
|
| 8 |
+
"attention_dropout": 0.0,
|
| 9 |
+
"auto_map": {
|
| 10 |
+
"AutoConfig": "tiiuae/falcon-7b--configuration_RW.RWConfig",
|
| 11 |
+
"AutoModel": "tiiuae/falcon-7b--modelling_RW.RWModel",
|
| 12 |
+
"AutoModelForCausalLM": "tiiuae/falcon-7b--modelling_RW.RWForCausalLM",
|
| 13 |
+
"AutoModelForQuestionAnswering": "tiiuae/falcon-7b--modelling_RW.RWForQuestionAnswering",
|
| 14 |
+
"AutoModelForSequenceClassification": "tiiuae/falcon-7b--modelling_RW.RWForSequenceClassification",
|
| 15 |
+
"AutoModelForTokenClassification": "tiiuae/falcon-7b--modelling_RW.RWForTokenClassification"
|
| 16 |
+
},
|
| 17 |
+
"bias": false,
|
| 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": "RefinedWebModel",
|
| 25 |
+
"multi_query": true,
|
| 26 |
+
"n_head": 71,
|
| 27 |
+
"n_layer": 32,
|
| 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.31.0",
|
| 42 |
+
"use_cache": false,
|
| 43 |
+
"vocab_size": 65024
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
}
|