hf-transformers-bot commited on
Commit
493fcc2
·
1 Parent(s): cf22ed5

Upload tiny models for BeitBackbone

Browse files
Files changed (3) hide show
  1. config.json +61 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +28 -0
config.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_fpn": false,
3
+ "architectures": [
4
+ "BeitBackbone"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "auxiliary_channels": 256,
8
+ "auxiliary_concat_input": false,
9
+ "auxiliary_loss_weight": 0.4,
10
+ "auxiliary_num_convs": 1,
11
+ "drop_path_rate": 0.1,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.1,
14
+ "hidden_size": 32,
15
+ "image_size": 30,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 37,
18
+ "layer_norm_eps": 1e-12,
19
+ "layer_scale_init_value": 0.1,
20
+ "model_type": "beit",
21
+ "num_attention_heads": 4,
22
+ "num_channels": 3,
23
+ "num_hidden_layers": 4,
24
+ "out_features": [
25
+ "stage1",
26
+ "stage2",
27
+ "stage3",
28
+ "stage4"
29
+ ],
30
+ "out_indices": [
31
+ 1,
32
+ 2,
33
+ 3,
34
+ 4
35
+ ],
36
+ "patch_size": 2,
37
+ "pool_scales": [
38
+ 1,
39
+ 2,
40
+ 3,
41
+ 6
42
+ ],
43
+ "reshape_hidden_states": true,
44
+ "semantic_loss_ignore_index": 255,
45
+ "stage_names": [
46
+ "stem",
47
+ "stage1",
48
+ "stage2",
49
+ "stage3",
50
+ "stage4"
51
+ ],
52
+ "torch_dtype": "float32",
53
+ "transformers_version": "4.36.0.dev0",
54
+ "use_absolute_position_embeddings": false,
55
+ "use_auxiliary_head": true,
56
+ "use_mask_token": false,
57
+ "use_mean_pooling": true,
58
+ "use_relative_position_bias": false,
59
+ "use_shared_relative_position_bias": false,
60
+ "vocab_size": 100
61
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0896f224ba212dc331a3b56c3b3bf941df40e9d48d825f8b590ce7ac83a6cc92
3
+ size 118168
preprocessor_config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 30,
4
+ "width": 30
5
+ },
6
+ "do_center_crop": true,
7
+ "do_normalize": true,
8
+ "do_reduce_labels": false,
9
+ "do_rescale": true,
10
+ "do_resize": true,
11
+ "image_mean": [
12
+ 0.5,
13
+ 0.5,
14
+ 0.5
15
+ ],
16
+ "image_processor_type": "BeitImageProcessor",
17
+ "image_std": [
18
+ 0.5,
19
+ 0.5,
20
+ 0.5
21
+ ],
22
+ "resample": 3,
23
+ "rescale_factor": 0.00392156862745098,
24
+ "size": {
25
+ "height": 30,
26
+ "width": 30
27
+ }
28
+ }