hf-transformers-bot commited on
Commit
b14fb30
·
verified ·
1 Parent(s): df4a59b

Update tiny models for PerceiverForMaskedLM

Browse files
config.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_label_trainable_num_channels": 16,
3
+ "architectures": [
4
+ "PerceiverForMaskedLM"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "audio_samples_per_frame": 200,
8
+ "cross_attention_shape_for_attention": "kv",
9
+ "cross_attention_widening_factor": 4,
10
+ "d_latents": 20,
11
+ "d_model": 64,
12
+ "dtype": "float32",
13
+ "hidden_act": "gelu",
14
+ "id2label": {
15
+ "0": "LABEL_0",
16
+ "1": "LABEL_1",
17
+ "2": "LABEL_2"
18
+ },
19
+ "image_size": 32,
20
+ "initializer_range": 0.02,
21
+ "label2id": {
22
+ "LABEL_0": 0,
23
+ "LABEL_1": 1,
24
+ "LABEL_2": 2
25
+ },
26
+ "layer_norm_eps": 1e-12,
27
+ "max_position_embeddings": 200,
28
+ "model_type": "perceiver",
29
+ "num_blocks": 1,
30
+ "num_cross_attention_heads": 1,
31
+ "num_frames": 5,
32
+ "num_latents": 10,
33
+ "num_self_attends_per_block": 2,
34
+ "num_self_attention_heads": 1,
35
+ "output_num_channels": 32,
36
+ "output_shape": [
37
+ 1,
38
+ 16,
39
+ 224,
40
+ 224
41
+ ],
42
+ "qk_channels": 20,
43
+ "samples_per_patch": 20,
44
+ "self_attention_widening_factor": 4,
45
+ "train_size": [
46
+ 20,
47
+ 20
48
+ ],
49
+ "transformers_version": "5.16.0.dev0",
50
+ "use_query_residual": true,
51
+ "v_channels": 20,
52
+ "vocab_size": 262
53
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29507fa9c2c36e85842f850165552447cbc26baae2740349b798e4f1bc416e54
3
+ size 393080
preprocessor_config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 32,
4
+ "width": 32
5
+ },
6
+ "do_center_crop": true,
7
+ "do_normalize": true,
8
+ "do_rescale": true,
9
+ "do_resize": true,
10
+ "image_mean": [
11
+ 0.485,
12
+ 0.456,
13
+ 0.406
14
+ ],
15
+ "image_processor_type": "PerceiverImageProcessor",
16
+ "image_std": [
17
+ 0.229,
18
+ 0.224,
19
+ 0.225
20
+ ],
21
+ "resample": 3,
22
+ "rescale_factor": 0.00392156862745098,
23
+ "size": {
24
+ "height": 32,
25
+ "width": 32
26
+ }
27
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": true,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "[BOS]",
13
+ "lstrip": false,
14
+ "normalized": true,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "[EOS]",
21
+ "lstrip": false,
22
+ "normalized": true,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "[MASK]",
29
+ "lstrip": false,
30
+ "normalized": true,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "4": {
36
+ "content": "[CLS]",
37
+ "lstrip": false,
38
+ "normalized": true,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ },
43
+ "5": {
44
+ "content": "[SEP]",
45
+ "lstrip": false,
46
+ "normalized": true,
47
+ "rstrip": false,
48
+ "single_word": false,
49
+ "special": true
50
+ }
51
+ },
52
+ "backend": "custom",
53
+ "bos_token": "[BOS]",
54
+ "cls_token": "[CLS]",
55
+ "eos_token": "[EOS]",
56
+ "is_local": false,
57
+ "local_files_only": false,
58
+ "mask_token": "[MASK]",
59
+ "model_max_length": 200,
60
+ "pad_token": "[PAD]",
61
+ "sep_token": "[SEP]",
62
+ "tokenizer_class": "PerceiverTokenizer"
63
+ }