Matt
commited on
Commit
•
a68ca4b
1
Parent(s):
c47b371
Convert to in-library checkpoint
Browse files- config.json +7 -14
- generation_config.json +4 -4
- tokenizer_config.json +5 -1
config.json
CHANGED
@@ -2,17 +2,9 @@
|
|
2 |
"alibi": false,
|
3 |
"apply_residual_connection_post_layernorm": false,
|
4 |
"architectures": [
|
5 |
-
"
|
6 |
],
|
7 |
"attention_dropout": 0.0,
|
8 |
-
"auto_map": {
|
9 |
-
"AutoConfig": "configuration_RW.RWConfig",
|
10 |
-
"AutoModel": "modelling_RW.RWModel",
|
11 |
-
"AutoModelForSequenceClassification": "modelling_RW.RWForSequenceClassification",
|
12 |
-
"AutoModelForTokenClassification": "modelling_RW.RWForTokenClassification",
|
13 |
-
"AutoModelForQuestionAnswering": "modelling_RW.RWForQuestionAnswering",
|
14 |
-
"AutoModelForCausalLM": "modelling_RW.RWForCausalLM"
|
15 |
-
},
|
16 |
"bias": false,
|
17 |
"bos_token_id": 11,
|
18 |
"eos_token_id": 11,
|
@@ -20,13 +12,14 @@
|
|
20 |
"hidden_size": 8192,
|
21 |
"initializer_range": 0.02,
|
22 |
"layer_norm_epsilon": 1e-05,
|
23 |
-
"model_type": "
|
24 |
-
"
|
25 |
-
"
|
26 |
-
"
|
|
|
27 |
"parallel_attn": true,
|
28 |
"torch_dtype": "bfloat16",
|
29 |
"transformers_version": "4.27.4",
|
30 |
"use_cache": true,
|
31 |
"vocab_size": 65024
|
32 |
-
}
|
|
|
2 |
"alibi": false,
|
3 |
"apply_residual_connection_post_layernorm": false,
|
4 |
"architectures": [
|
5 |
+
"FalconForCausalLM"
|
6 |
],
|
7 |
"attention_dropout": 0.0,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
"bias": false,
|
9 |
"bos_token_id": 11,
|
10 |
"eos_token_id": 11,
|
|
|
12 |
"hidden_size": 8192,
|
13 |
"initializer_range": 0.02,
|
14 |
"layer_norm_epsilon": 1e-05,
|
15 |
+
"model_type": "falcon",
|
16 |
+
"new_decoder_architecture": true,
|
17 |
+
"num_attention_heads": 128,
|
18 |
+
"num_hidden_layers": 60,
|
19 |
+
"num_kv_heads": 8,
|
20 |
"parallel_attn": true,
|
21 |
"torch_dtype": "bfloat16",
|
22 |
"transformers_version": "4.27.4",
|
23 |
"use_cache": true,
|
24 |
"vocab_size": 65024
|
25 |
+
}
|
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.31.0.dev0"
|
6 |
+
}
|
tokenizer_config.json
CHANGED
@@ -1,7 +1,11 @@
|
|
1 |
{
|
2 |
"add_prefix_space": false,
|
3 |
"eos_token": "<|endoftext|>",
|
|
|
|
|
|
|
|
|
4 |
"model_max_length": 2048,
|
5 |
"special_tokens_map_file": null,
|
6 |
"tokenizer_class": "PreTrainedTokenizerFast"
|
7 |
-
}
|
|
|
1 |
{
|
2 |
"add_prefix_space": false,
|
3 |
"eos_token": "<|endoftext|>",
|
4 |
+
"model_input_names": [
|
5 |
+
"input_ids",
|
6 |
+
"attention_mask"
|
7 |
+
],
|
8 |
"model_max_length": 2048,
|
9 |
"special_tokens_map_file": null,
|
10 |
"tokenizer_class": "PreTrainedTokenizerFast"
|
11 |
+
}
|