Upload folder using huggingface_hub
Browse files- config.json +1 -1
- quantize_config.json +33 -0
config.json
CHANGED
@@ -16,6 +16,6 @@
|
|
16 |
"seq_classif_dropout": 0.2,
|
17 |
"sinusoidal_pos_embds": false,
|
18 |
"tie_weights_": true,
|
19 |
-
"transformers_version": "4.
|
20 |
"vocab_size": 28996
|
21 |
}
|
|
|
16 |
"seq_classif_dropout": 0.2,
|
17 |
"sinusoidal_pos_embds": false,
|
18 |
"tie_weights_": true,
|
19 |
+
"transformers_version": "4.33.0.dev0",
|
20 |
"vocab_size": 28996
|
21 |
}
|
quantize_config.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"per_channel": true,
|
3 |
+
"reduce_range": true,
|
4 |
+
"per_model_config": {
|
5 |
+
"model": {
|
6 |
+
"op_types": [
|
7 |
+
"Cast",
|
8 |
+
"Constant",
|
9 |
+
"Expand",
|
10 |
+
"MatMul",
|
11 |
+
"Softmax",
|
12 |
+
"Concat",
|
13 |
+
"Unsqueeze",
|
14 |
+
"Shape",
|
15 |
+
"Pow",
|
16 |
+
"Transpose",
|
17 |
+
"Sub",
|
18 |
+
"Slice",
|
19 |
+
"ReduceMean",
|
20 |
+
"Sqrt",
|
21 |
+
"Where",
|
22 |
+
"Gather",
|
23 |
+
"Add",
|
24 |
+
"Equal",
|
25 |
+
"Reshape",
|
26 |
+
"Mul",
|
27 |
+
"Erf",
|
28 |
+
"Div"
|
29 |
+
],
|
30 |
+
"weight_type": "QInt8"
|
31 |
+
}
|
32 |
+
}
|
33 |
+
}
|