Safetensors
mpixel
pixel
mae
vit
tokenization-free
ilkerkesen commited on
Commit
323e591
·
verified ·
1 Parent(s): 166f0bb

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. config.json +33 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +5 -0
config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "MPIXELForPreTraining"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "decoder_hidden_size": 512,
7
+ "decoder_intermediate_size": 2048,
8
+ "decoder_num_attention_heads": 16,
9
+ "decoder_num_hidden_layers": 8,
10
+ "dtype": "float32",
11
+ "head_init": "pytorch",
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.1,
14
+ "hidden_size": 768,
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 3072,
17
+ "layer_norm_eps": 1e-12,
18
+ "mask_ratio": 0.25,
19
+ "max_num_patches": 512,
20
+ "model_type": "mpixel",
21
+ "norm_pix_loss": true,
22
+ "num_attention_heads": 12,
23
+ "num_channels": 3,
24
+ "num_hidden_layers": 12,
25
+ "patch_embedding_init": null,
26
+ "patch_size": 16,
27
+ "pooler_add_layer_norm": true,
28
+ "pooling_mode": "mean",
29
+ "qkv_bias": true,
30
+ "reference_compile": false,
31
+ "rope_theta": 160000.0,
32
+ "transformers_version": "4.57.3"
33
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:54685b889928f730665f734fc78b48412afdbf84471d7e4314fa2fdb96d5753e
3
+ size 446661824
preprocessor_config.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "patch_size": 16,
3
+ "max_num_patches": 512,
4
+ "font_size": 12
5
+ }