hf-transformers-bot commited on
Commit
00610fc
·
verified ·
1 Parent(s): b96ed2c

Update tiny models for FalconForCausalLM

Browse files
config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation": "gelu",
3
+ "alibi": false,
4
+ "architectures": [
5
+ "FalconForCausalLM"
6
+ ],
7
+ "attention_dropout": 0.0,
8
+ "bias": false,
9
+ "bos_token_id": 1,
10
+ "dtype": "float32",
11
+ "eos_token_id": 11,
12
+ "ffn_hidden_size": 128,
13
+ "hidden_dropout": 0.0,
14
+ "hidden_size": 32,
15
+ "initializer_range": 0.02,
16
+ "is_decoder": true,
17
+ "layer_norm_epsilon": 1e-05,
18
+ "max_position_embeddings": 512,
19
+ "model_type": "falcon",
20
+ "multi_query": true,
21
+ "new_decoder_architecture": true,
22
+ "num_attention_heads": 2,
23
+ "num_hidden_layers": 2,
24
+ "num_kv_heads": 2,
25
+ "num_ln_in_parallel_attn": 2,
26
+ "pad_token_id": 0,
27
+ "parallel_attn": true,
28
+ "rope_parameters": {
29
+ "rope_theta": 10000.0,
30
+ "rope_type": "default"
31
+ },
32
+ "tie_word_embeddings": false,
33
+ "transformers_version": "5.16.0.dev0",
34
+ "use_cache": true,
35
+ "vocab_size": 65024
36
+ }
generation_config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 11,
5
+ "output_attentions": false,
6
+ "output_hidden_states": false,
7
+ "pad_token_id": 0,
8
+ "transformers_version": "5.16.0.dev0",
9
+ "use_cache": true
10
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:44f1785383a3bcf89c61bd029fca76100f3501e7efc9648b5369d70a8f698970
3
+ size 16747776
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "eos_token": "<|endoftext|>",
5
+ "extra_special_tokens": [
6
+ ">>TITLE<<",
7
+ ">>ABSTRACT<<",
8
+ ">>INTRODUCTION<<",
9
+ ">>SUMMARY<<",
10
+ ">>COMMENT<<",
11
+ ">>ANSWER<<",
12
+ ">>QUESTION<<",
13
+ ">>DOMAIN<<",
14
+ ">>PREFIX<<",
15
+ ">>SUFFIX<<",
16
+ ">>MIDDLE<<"
17
+ ],
18
+ "is_local": true,
19
+ "local_files_only": false,
20
+ "model_input_names": [
21
+ "input_ids",
22
+ "attention_mask"
23
+ ],
24
+ "model_max_length": 512,
25
+ "tokenizer_class": "TokenizersBackend"
26
+ }