Felladrin commited on
Commit
aca75bd
·
verified ·
1 Parent(s): af0fa37

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers.js
3
+ base_model:
4
+ - AliGhiasvand86/10-animals-classification
5
+ ---
6
+
7
+ # 10-animals-classification (ONNX)
8
+
9
+ This is an ONNX version of [AliGhiasvand86/10-animals-classification](https://huggingface.co/AliGhiasvand86/10-animals-classification). It was automatically converted and uploaded using [this space](https://huggingface.co/spaces/onnx-community/convert-to-onnx).
config.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "AliGhiasvand86/10-animals-classification",
4
+ "architectures": [
5
+ "ViTForImageClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.0,
8
+ "encoder_stride": 16,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.0,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "cat",
14
+ "1": "cow",
15
+ "2": "dog",
16
+ "3": "dolphin",
17
+ "4": "eagle",
18
+ "5": "giant panda",
19
+ "6": "horse",
20
+ "7": "monkey",
21
+ "8": "sheep",
22
+ "9": "spider"
23
+ },
24
+ "image_size": 224,
25
+ "initializer_range": 0.02,
26
+ "intermediate_size": 3072,
27
+ "label2id": {
28
+ "cat": "0",
29
+ "cow": "1",
30
+ "dog": "2",
31
+ "dolphin": "3",
32
+ "eagle": "4",
33
+ "giant panda": "5",
34
+ "horse": "6",
35
+ "monkey": "7",
36
+ "sheep": "8",
37
+ "spider": "9"
38
+ },
39
+ "layer_norm_eps": 1e-12,
40
+ "model_type": "vit",
41
+ "num_attention_heads": 12,
42
+ "num_channels": 3,
43
+ "num_hidden_layers": 12,
44
+ "patch_size": 16,
45
+ "problem_type": "single_label_classification",
46
+ "qkv_bias": true,
47
+ "torch_dtype": "float32",
48
+ "transformers_version": "4.49.0"
49
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f466b9c0b76d58682b2898b45a3a7b67c11e99be7682e04078f5948d12b58b2
3
+ size 343426298
onnx/model_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c7e593d764912ad0348164cb53cea28dac84d3a2f660b64ad8d329ce4230d26f
3
+ size 51474620
onnx/model_fp16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d6a9203e81ca4da799a6cbf0688a7971f5c618e5f73ef7501feac749bda0538e
3
+ size 171813686
onnx/model_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df45a8bc37ca69d1aec4e7ab6938ecb7cbe96a28d6d8783a0f8bd86b7a6a9790
3
+ size 87339845
onnx/model_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d8318aee5a881f209fcc73c6f3f2b3fc70dd54c14deae79d1977956d214b908
3
+ size 56782508
onnx/model_q4f16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:84c05a8c90ecacaaaeee029c275c3390900259c25f72d3260b5ae80bcdbcb914
3
+ size 49730889
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9113b5ebd75bcec8b6b21c384ad22b91b4a16ad19c6355105c98ac6382f6a20a
3
+ size 87339845
onnx/model_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9113b5ebd75bcec8b6b21c384ad22b91b4a16ad19c6355105c98ac6382f6a20a
3
+ size 87339845
preprocessor_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_convert_rgb": null,
3
+ "do_normalize": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "image_mean": [
7
+ 0.5,
8
+ 0.5,
9
+ 0.5
10
+ ],
11
+ "image_processor_type": "ViTFeatureExtractor",
12
+ "image_std": [
13
+ 0.5,
14
+ 0.5,
15
+ 0.5
16
+ ],
17
+ "resample": 2,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "height": 224,
21
+ "width": 224
22
+ }
23
+ }
quantize_config.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "modes": [
3
+ "fp16",
4
+ "q8",
5
+ "int8",
6
+ "uint8",
7
+ "q4",
8
+ "q4f16",
9
+ "bnb4"
10
+ ],
11
+ "per_channel": true,
12
+ "reduce_range": true,
13
+ "block_size": null,
14
+ "is_symmetric": true,
15
+ "accuracy_level": null,
16
+ "quant_type": 1,
17
+ "op_block_list": null
18
+ }