ydshieh HF Staff commited on
Commit
7b3b47a
·
1 Parent(s): 55429ca

Upload tiny models for ConvNextModel

Browse files
Files changed (4) hide show
  1. config.json +30 -0
  2. preprocessor_config.json +23 -0
  3. pytorch_model.bin +3 -0
  4. tf_model.h5 +3 -0
config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "temp/dummy/convnext/ConvNextModel",
3
+ "architectures": [
4
+ "ConvNextModel"
5
+ ],
6
+ "depths": [
7
+ 2,
8
+ 2,
9
+ 3,
10
+ 2
11
+ ],
12
+ "drop_path_rate": 0.0,
13
+ "hidden_act": "gelu",
14
+ "hidden_sizes": [
15
+ 10,
16
+ 20,
17
+ 30,
18
+ 40
19
+ ],
20
+ "image_size": 224,
21
+ "initializer_range": 0.02,
22
+ "layer_norm_eps": 1e-12,
23
+ "layer_scale_init_value": 1e-06,
24
+ "model_type": "convnext",
25
+ "num_channels": 3,
26
+ "num_stages": 4,
27
+ "patch_size": 4,
28
+ "torch_dtype": "float32",
29
+ "transformers_version": "4.25.0.dev0"
30
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_pct": 0.875,
3
+ "crop_size": 224,
4
+ "do_normalize": true,
5
+ "do_rescale": true,
6
+ "do_resize": true,
7
+ "image_mean": [
8
+ 0.5,
9
+ 0.5,
10
+ 0.5
11
+ ],
12
+ "image_processor_type": "ConvNextImageProcessor",
13
+ "image_std": [
14
+ 0.5,
15
+ 0.5,
16
+ 0.5
17
+ ],
18
+ "resample": 2,
19
+ "rescale_factor": 0.00392156862745098,
20
+ "size": {
21
+ "shortest_edge": 224
22
+ }
23
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe5b90669ff950489029d4f5a02fcb03f8b7f886aadd7762e691145b59eb218f
3
+ size 337882
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eeb9ce52e648d4057aaa03fc6de3435347a3efb4b6bb6be1ba3c17923acc6fd5
3
+ size 418448