howdyaendra commited on
Commit
0049284
1 Parent(s): 61f26bb

Adding Onnx

Browse files
.gitattributes CHANGED
@@ -1,3 +1,4 @@
 
1
  *.7z filter=lfs diff=lfs merge=lfs -text
2
  *.arrow filter=lfs diff=lfs merge=lfs -text
3
  *.bin filter=lfs diff=lfs merge=lfs -text
 
1
+ *.onnx filter=lfs diff=lfs merge=lfs -text
2
  *.7z filter=lfs diff=lfs merge=lfs -text
3
  *.arrow filter=lfs diff=lfs merge=lfs -text
4
  *.bin filter=lfs diff=lfs merge=lfs -text
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "howdyaendra/xblock-large-patch2-224",
3
  "_num_labels": 11,
4
  "architectures": [
5
  "ViTForImageClassification"
@@ -46,6 +46,5 @@
46
  "patch_size": 16,
47
  "problem_type": "single_label_classification",
48
  "qkv_bias": true,
49
- "torch_dtype": "float32",
50
- "transformers_version": "4.40.1"
51
  }
 
1
  {
2
+ "_name_or_path": "howdyaendra/xblock-large-patch3-224",
3
  "_num_labels": 11,
4
  "architectures": [
5
  "ViTForImageClassification"
 
46
  "patch_size": 16,
47
  "problem_type": "single_label_classification",
48
  "qkv_bias": true,
49
+ "transformers_version": "4.33.2"
 
50
  }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:710946dd65108af1e4e30fff5935e07d6cd91e681e9a49fbe433459b31110831
3
+ size 1213774922
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:828c2fc83ea040a0fcfc347f251ebdb3600d074c4bcc4b582ce84873c77e5861
3
+ size 306878201
quantize_config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "per_channel": true,
3
+ "reduce_range": true,
4
+ "per_model_config": {
5
+ "model": {
6
+ "op_types": [
7
+ "Add",
8
+ "ReduceMean",
9
+ "Pow",
10
+ "Erf",
11
+ "ConstantOfShape",
12
+ "Slice",
13
+ "Sqrt",
14
+ "Concat",
15
+ "Equal",
16
+ "Shape",
17
+ "Transpose",
18
+ "Constant",
19
+ "Mul",
20
+ "Gemm",
21
+ "Expand",
22
+ "Unsqueeze",
23
+ "Where",
24
+ "Softmax",
25
+ "Sub",
26
+ "MatMul",
27
+ "Conv",
28
+ "Div",
29
+ "Gather",
30
+ "Reshape"
31
+ ],
32
+ "weight_type": "QUInt8"
33
+ }
34
+ }
35
+ }