hf-transformers-bot
commited on
Commit
•
7629e8a
1
Parent(s):
b1fb058
Upload tiny models for PoolFormerModel
Browse files- config.json +51 -0
- preprocessor_config.json +27 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"PoolFormerModel"
|
4 |
+
],
|
5 |
+
"depths": [
|
6 |
+
2,
|
7 |
+
2,
|
8 |
+
2,
|
9 |
+
2
|
10 |
+
],
|
11 |
+
"drop_path_rate": 0.0,
|
12 |
+
"hidden_act": "gelu",
|
13 |
+
"hidden_dropout_prob": 0.1,
|
14 |
+
"hidden_sizes": [
|
15 |
+
16,
|
16 |
+
32,
|
17 |
+
64,
|
18 |
+
128
|
19 |
+
],
|
20 |
+
"image_size": 64,
|
21 |
+
"initializer_range": 0.02,
|
22 |
+
"layer_scale_init_value": 1e-05,
|
23 |
+
"mlp_ratio": 4.0,
|
24 |
+
"model_type": "poolformer",
|
25 |
+
"num_channels": 3,
|
26 |
+
"num_encoder_blocks": 4,
|
27 |
+
"padding": [
|
28 |
+
2,
|
29 |
+
1,
|
30 |
+
1,
|
31 |
+
1
|
32 |
+
],
|
33 |
+
"patch_size": 16,
|
34 |
+
"patch_sizes": [
|
35 |
+
7,
|
36 |
+
3,
|
37 |
+
3,
|
38 |
+
3
|
39 |
+
],
|
40 |
+
"pool_size": 3,
|
41 |
+
"stride": 16,
|
42 |
+
"strides": [
|
43 |
+
4,
|
44 |
+
2,
|
45 |
+
2,
|
46 |
+
2
|
47 |
+
],
|
48 |
+
"torch_dtype": "float32",
|
49 |
+
"transformers_version": "4.28.0.dev0",
|
50 |
+
"use_layer_scale": true
|
51 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_pct": 0.9,
|
3 |
+
"crop_size": {
|
4 |
+
"height": 64,
|
5 |
+
"width": 64
|
6 |
+
},
|
7 |
+
"do_center_crop": true,
|
8 |
+
"do_normalize": true,
|
9 |
+
"do_rescale": true,
|
10 |
+
"do_resize": true,
|
11 |
+
"image_mean": [
|
12 |
+
0.485,
|
13 |
+
0.456,
|
14 |
+
0.406
|
15 |
+
],
|
16 |
+
"image_processor_type": "PoolFormerImageProcessor",
|
17 |
+
"image_std": [
|
18 |
+
0.229,
|
19 |
+
0.224,
|
20 |
+
0.225
|
21 |
+
],
|
22 |
+
"resample": 3,
|
23 |
+
"rescale_factor": 0.00392156862745098,
|
24 |
+
"size": {
|
25 |
+
"shortest_edge": 64
|
26 |
+
}
|
27 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:29b541de8c13a49a78c05d0661be7b93970d0887956b9774a898289de0adb7f9
|
3 |
+
size 1838649
|