Xenova HF staff commited on
Commit
c3f5610
·
verified ·
1 Parent(s): 76a6127

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. config.json +68 -0
  2. onnx/model.onnx +3 -0
  3. preprocessor_config.json +26 -0
config.json ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "hf-internal-testing/tiny-random-LevitForImageClassification",
4
+ "architectures": [
5
+ "LevitForImageClassification"
6
+ ],
7
+ "attention_ratio": [
8
+ 2,
9
+ 2,
10
+ 2
11
+ ],
12
+ "depths": [
13
+ 2,
14
+ 3,
15
+ 4
16
+ ],
17
+ "down_ops": [
18
+ [
19
+ "Subsample",
20
+ 16,
21
+ 8,
22
+ 4,
23
+ 2,
24
+ 2
25
+ ],
26
+ [
27
+ "Subsample",
28
+ 16,
29
+ 16,
30
+ 4,
31
+ 2,
32
+ 2
33
+ ],
34
+ [
35
+ ""
36
+ ]
37
+ ],
38
+ "drop_path_rate": 0,
39
+ "hidden_sizes": [
40
+ 128,
41
+ 256,
42
+ 384
43
+ ],
44
+ "image_size": 64,
45
+ "initializer_range": 0.02,
46
+ "kernel_size": 3,
47
+ "key_dim": [
48
+ 16,
49
+ 16,
50
+ 16
51
+ ],
52
+ "mlp_ratio": [
53
+ 2,
54
+ 2,
55
+ 2
56
+ ],
57
+ "model_type": "levit",
58
+ "num_attention_heads": [
59
+ 4,
60
+ 6,
61
+ 8
62
+ ],
63
+ "num_channels": 3,
64
+ "padding": 1,
65
+ "patch_size": 16,
66
+ "stride": 2,
67
+ "transformers_version": "4.48.2"
68
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:366f984a1f3e4c8628a5f41b25dbecea6764d1047f2b50b546be66cce115ca1a
3
+ size 28094329
preprocessor_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 64,
4
+ "width": 64
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": "LevitFeatureExtractor",
16
+ "image_std": [
17
+ 0.229,
18
+ 0.224,
19
+ 0.225
20
+ ],
21
+ "resample": 3,
22
+ "rescale_factor": 0.00392156862745098,
23
+ "size": {
24
+ "shortest_edge": 64
25
+ }
26
+ }