Mihaiii commited on
Commit
46fe316
1 Parent(s): d0b4774

Upload 8 files

Browse files
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "Mihaiii/test20",
3
  "architectures": [
4
  "BertModel"
5
  ],
@@ -23,7 +23,6 @@
23
  "num_hidden_layers": 2,
24
  "pad_token_id": 0,
25
  "position_embedding_type": "absolute",
26
- "torch_dtype": "float32",
27
  "transformers_version": "4.40.1",
28
  "type_vocab_size": 2,
29
  "use_cache": true,
 
1
  {
2
+ "_name_or_path": "Mihaiii/test21",
3
  "architectures": [
4
  "BertModel"
5
  ],
 
23
  "num_hidden_layers": 2,
24
  "pad_token_id": 0,
25
  "position_embedding_type": "absolute",
 
26
  "transformers_version": "4.40.1",
27
  "type_vocab_size": 2,
28
  "use_cache": true,
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d5eb8a6b1f2aceeb276e9dfea8febe3c6baa85e311acbb20eade2a73f2a39dc9
3
+ size 61917599
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:36929ab343eba467365fa7dbed355751472c0f4a4b0de1c308f6802a417ceb8b
3
+ size 15612513
quantize_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "per_channel": true,
3
+ "reduce_range": true,
4
+ "per_model_config": {
5
+ "model": {
6
+ "op_types": [
7
+ "Slice",
8
+ "Div",
9
+ "Concat",
10
+ "Mul",
11
+ "Shape",
12
+ "Transpose",
13
+ "Pow",
14
+ "Softmax",
15
+ "Sqrt",
16
+ "Erf",
17
+ "ReduceMean",
18
+ "Unsqueeze",
19
+ "Cast",
20
+ "Reshape",
21
+ "Constant",
22
+ "MatMul",
23
+ "Gather",
24
+ "Sub",
25
+ "Add"
26
+ ],
27
+ "weight_type": "QInt8"
28
+ }
29
+ }
30
+ }