Upload folder using huggingface_hub
Browse files- config.json +1 -2
- onnx/model.onnx +1 -1
- onnx/model_quantized.onnx +3 -0
- quantize_config.json +33 -0
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"activation": "gelu",
|
4 |
"architectures": [
|
5 |
"DistilBertModel"
|
@@ -249,7 +249,6 @@
|
|
249 |
"seq_classif_dropout": 0.2,
|
250 |
"sinusoidal_pos_embds": true,
|
251 |
"tie_weights_": true,
|
252 |
-
"torch_dtype": "float32",
|
253 |
"transformers_version": "4.36.2",
|
254 |
"vocab_size": 31102
|
255 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "Isotonic/distilbert-base-german-cased_finetuned_ai4privacy_v2",
|
3 |
"activation": "gelu",
|
4 |
"architectures": [
|
5 |
"DistilBertModel"
|
|
|
249 |
"seq_classif_dropout": 0.2,
|
250 |
"sinusoidal_pos_embds": true,
|
251 |
"tie_weights_": true,
|
|
|
252 |
"transformers_version": "4.36.2",
|
253 |
"vocab_size": 31102
|
254 |
}
|
onnx/model.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 267716023
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ff181e3cd9e59c021b5f07b68191c1e7becbdeb23a6d4e7679f524f2fcfc34bd
|
3 |
size 267716023
|
onnx/model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b877bfc9038ec250421b9a80212194e03ab2ae0f299978ce43f065c7e1259a74
|
3 |
+
size 67514887
|
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 |
+
"Erf",
|
8 |
+
"Div",
|
9 |
+
"Cast",
|
10 |
+
"Transpose",
|
11 |
+
"Constant",
|
12 |
+
"Unsqueeze",
|
13 |
+
"MatMul",
|
14 |
+
"Slice",
|
15 |
+
"Add",
|
16 |
+
"ReduceMean",
|
17 |
+
"Gather",
|
18 |
+
"Softmax",
|
19 |
+
"Concat",
|
20 |
+
"Where",
|
21 |
+
"Sqrt",
|
22 |
+
"Mul",
|
23 |
+
"Sub",
|
24 |
+
"Expand",
|
25 |
+
"Pow",
|
26 |
+
"Reshape",
|
27 |
+
"Equal",
|
28 |
+
"Shape"
|
29 |
+
],
|
30 |
+
"weight_type": "QInt8"
|
31 |
+
}
|
32 |
+
}
|
33 |
+
}
|