hf-transformers-bot commited on
Commit
5dc9fe0
·
verified ·
1 Parent(s): 2ab40b9

Update tiny models for FunnelForTokenClassification

Browse files
Files changed (4) hide show
  1. config.json +40 -0
  2. model.safetensors +3 -0
  3. tokenizer.json +0 -0
  4. tokenizer_config.json +19 -0
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_dropout": 0.0,
3
+ "architectures": [
4
+ "FunnelForTokenClassification"
5
+ ],
6
+ "attention_dropout": 0.1,
7
+ "attention_type": "relative_shift",
8
+ "block_repeats": [
9
+ 1,
10
+ 1,
11
+ 1
12
+ ],
13
+ "block_sizes": [
14
+ 1,
15
+ 1,
16
+ 2
17
+ ],
18
+ "d_head": 8,
19
+ "d_inner": 37,
20
+ "d_model": 32,
21
+ "dtype": "float32",
22
+ "hidden_act": "gelu_new",
23
+ "hidden_dropout": 0.1,
24
+ "initializer_range": 0.1,
25
+ "initializer_std": 0.02,
26
+ "layer_norm_eps": 1e-09,
27
+ "max_position_embeddings": 512,
28
+ "model_type": "funnel",
29
+ "n_head": 4,
30
+ "num_decoder_layers": 1,
31
+ "pad_token_id": null,
32
+ "pool_q_only": true,
33
+ "pooling_type": "mean",
34
+ "separate_cls": true,
35
+ "tie_word_embeddings": true,
36
+ "transformers_version": "5.16.0.dev0",
37
+ "truncate_seq": true,
38
+ "type_vocab_size": 3,
39
+ "vocab_size": 30522
40
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bfb23543e9fcc4e455f9a50e77491cd3a5acde3223d48824ccac3996864600d2
3
+ size 4077820
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "bos_token": "<s>",
4
+ "clean_text": true,
5
+ "cls_token": "<cls>",
6
+ "do_lower_case": true,
7
+ "eos_token": "</s>",
8
+ "is_local": true,
9
+ "local_files_only": false,
10
+ "mask_token": "<mask>",
11
+ "model_max_length": 512,
12
+ "pad_token": "<pad>",
13
+ "sep_token": "<sep>",
14
+ "strip_accents": null,
15
+ "tokenize_chinese_chars": true,
16
+ "tokenizer_class": "FunnelTokenizer",
17
+ "unk_token": "<unk>",
18
+ "wordpieces_prefix": "##"
19
+ }