Bram Vanroy
commited on
Commit
•
005b68b
1
Parent(s):
9d1d59d
update to new transformers
Browse files- config.json +6 -13
- generation_config.json +4 -4
- tokenizer_config.json +5 -1
config.json
CHANGED
@@ -3,17 +3,9 @@
|
|
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-40b--configuration_RW.RWConfig",
|
11 |
-
"AutoModel": "tiiuae/falcon-40b--modelling_RW.RWModel",
|
12 |
-
"AutoModelForCausalLM": "tiiuae/falcon-40b--modelling_RW.RWForCausalLM",
|
13 |
-
"AutoModelForQuestionAnswering": "tiiuae/falcon-40b--modelling_RW.RWForQuestionAnswering",
|
14 |
-
"AutoModelForSequenceClassification": "tiiuae/falcon-40b--modelling_RW.RWForSequenceClassification",
|
15 |
-
"AutoModelForTokenClassification": "tiiuae/falcon-40b--modelling_RW.RWForTokenClassification"
|
16 |
-
},
|
17 |
"bias": false,
|
18 |
"bos_token_id": 11,
|
19 |
"eos_token_id": 11,
|
@@ -21,10 +13,11 @@
|
|
21 |
"hidden_size": 8192,
|
22 |
"initializer_range": 0.02,
|
23 |
"layer_norm_epsilon": 1e-05,
|
24 |
-
"model_type": "
|
25 |
-
"
|
26 |
-
"
|
27 |
-
"
|
|
|
28 |
"parallel_attn": true,
|
29 |
"torch_dtype": "bfloat16",
|
30 |
"transformers_version": "4.30.1",
|
|
|
3 |
"alibi": false,
|
4 |
"apply_residual_connection_post_layernorm": false,
|
5 |
"architectures": [
|
6 |
+
"FalconForCausalLM"
|
7 |
],
|
8 |
"attention_dropout": 0.0,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
"bias": false,
|
10 |
"bos_token_id": 11,
|
11 |
"eos_token_id": 11,
|
|
|
13 |
"hidden_size": 8192,
|
14 |
"initializer_range": 0.02,
|
15 |
"layer_norm_epsilon": 1e-05,
|
16 |
+
"model_type": "falcon",
|
17 |
+
"new_decoder_architecture": true,
|
18 |
+
"num_attention_heads": 128,
|
19 |
+
"num_hidden_layers": 60,
|
20 |
+
"num_kv_heads": 8,
|
21 |
"parallel_attn": true,
|
22 |
"torch_dtype": "bfloat16",
|
23 |
"transformers_version": "4.30.1",
|
generation_config.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
-
"bos_token_id":
|
4 |
-
"eos_token_id":
|
5 |
-
"transformers_version": "4.
|
6 |
-
}
|
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
+
"bos_token_id": 11,
|
4 |
+
"eos_token_id": 11,
|
5 |
+
"transformers_version": "4.33.0.dev0"
|
6 |
+
}
|
tokenizer_config.json
CHANGED
@@ -2,6 +2,10 @@
|
|
2 |
"add_prefix_space": false,
|
3 |
"clean_up_tokenization_spaces": true,
|
4 |
"eos_token": "<|endoftext|>",
|
|
|
|
|
|
|
|
|
5 |
"model_max_length": 2048,
|
6 |
"tokenizer_class": "PreTrainedTokenizerFast"
|
7 |
-
}
|
|
|
2 |
"add_prefix_space": false,
|
3 |
"clean_up_tokenization_spaces": true,
|
4 |
"eos_token": "<|endoftext|>",
|
5 |
+
"model_input_names": [
|
6 |
+
"input_ids",
|
7 |
+
"attention_mask"
|
8 |
+
],
|
9 |
"model_max_length": 2048,
|
10 |
"tokenizer_class": "PreTrainedTokenizerFast"
|
11 |
+
}
|