hyperparam optimization
Browse files- config.json +14 -20
- model.safetensors +2 -2
- onnx/model.onnx +2 -2
- onnx/model_bnb4.onnx +2 -2
- onnx/model_fp16.onnx +2 -2
- onnx/model_int8.onnx +2 -2
- onnx/model_q4.onnx +2 -2
- onnx/model_q4f16.onnx +2 -2
- onnx/model_quantized.onnx +2 -2
- onnx/model_uint8.onnx +2 -2
- quantize_config.json +2 -1
config.json
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
{
|
2 |
-
"
|
|
|
3 |
"architectures": [
|
4 |
"BertForSequenceClassification"
|
5 |
],
|
@@ -17,15 +18,11 @@
|
|
17 |
"4": "cc-name",
|
18 |
"5": "cc-number",
|
19 |
"6": "cc-type",
|
20 |
-
"7": "
|
21 |
-
"8": "
|
22 |
-
"9": "
|
23 |
-
"10": "
|
24 |
-
"11": "
|
25 |
-
"12": "new-password",
|
26 |
-
"13": "other",
|
27 |
-
"14": "postal-code",
|
28 |
-
"15": "tel"
|
29 |
},
|
30 |
"initializer_range": 0.02,
|
31 |
"intermediate_size": 512,
|
@@ -37,15 +34,11 @@
|
|
37 |
"cc-name": 4,
|
38 |
"cc-number": 5,
|
39 |
"cc-type": 6,
|
40 |
-
"
|
41 |
-
"
|
42 |
-
"
|
43 |
-
"
|
44 |
-
"
|
45 |
-
"new-password": 12,
|
46 |
-
"other": 13,
|
47 |
-
"postal-code": 14,
|
48 |
-
"tel": 15
|
49 |
},
|
50 |
"layer_norm_eps": 1e-12,
|
51 |
"max_position_embeddings": 512,
|
@@ -55,7 +48,8 @@
|
|
55 |
"pad_token_id": 0,
|
56 |
"position_embedding_type": "absolute",
|
57 |
"problem_type": "single_label_classification",
|
58 |
-
"
|
|
|
59 |
"type_vocab_size": 2,
|
60 |
"use_cache": true,
|
61 |
"vocab_size": 30522
|
|
|
1 |
{
|
2 |
+
"_attn_implementation_autoset": true,
|
3 |
+
"_name_or_path": "/content/cross-encoder/ms-marco-TinyBERT-L-2-v2",
|
4 |
"architectures": [
|
5 |
"BertForSequenceClassification"
|
6 |
],
|
|
|
18 |
"4": "cc-name",
|
19 |
"5": "cc-number",
|
20 |
"6": "cc-type",
|
21 |
+
"7": "email",
|
22 |
+
"8": "given-name",
|
23 |
+
"9": "last-name",
|
24 |
+
"10": "other",
|
25 |
+
"11": "postal-code"
|
|
|
|
|
|
|
|
|
26 |
},
|
27 |
"initializer_range": 0.02,
|
28 |
"intermediate_size": 512,
|
|
|
34 |
"cc-name": 4,
|
35 |
"cc-number": 5,
|
36 |
"cc-type": 6,
|
37 |
+
"email": 7,
|
38 |
+
"given-name": 8,
|
39 |
+
"last-name": 9,
|
40 |
+
"other": 10,
|
41 |
+
"postal-code": 11
|
|
|
|
|
|
|
|
|
42 |
},
|
43 |
"layer_norm_eps": 1e-12,
|
44 |
"max_position_embeddings": 512,
|
|
|
48 |
"pad_token_id": 0,
|
49 |
"position_embedding_type": "absolute",
|
50 |
"problem_type": "single_label_classification",
|
51 |
+
"sbert_ce_default_activation_function": "torch.nn.modules.linear.Identity",
|
52 |
+
"transformers_version": "4.46.3",
|
53 |
"type_vocab_size": 2,
|
54 |
"use_cache": true,
|
55 |
"vocab_size": 30522
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d095f0e0dd6ba39462fec2067c71b4e27fe1808abf0db79114f98a8ac3acb5b2
|
3 |
+
size 17554472
|
onnx/model.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:da31488b459a7851731ec263425d7af53b51bb497487fc76922677d8aea111f7
|
3 |
+
size 17612158
|
onnx/model_bnb4.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aef8c27f9dbaf27ba39d979442a822c1ff4051bfcf9ba32d535618a784c4cf13
|
3 |
+
size 16262309
|
onnx/model_fp16.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:70dc3df0f2c9420f8092090a51f73a83a5e535e65025533e02c1feb6a1e3d054
|
3 |
+
size 8837300
|
onnx/model_int8.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fe3aaada3f9b2699f57dc534d35a9e5882de6cd2ab0ae25c5b915cb335befcb0
|
3 |
+
size 4479682
|
onnx/model_q4.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9d2441385e5c3dc7e9a2639e58c335011152a757e8a4cf098ca2fb368cbdc92f
|
3 |
+
size 16286797
|
onnx/model_q4f16.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c2281c5e2b61e2bc7d7c0cf4cb2a392de10d2c2e81e25c94ef82a77efeee1ebf
|
3 |
+
size 8273795
|
onnx/model_quantized.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fe3aaada3f9b2699f57dc534d35a9e5882de6cd2ab0ae25c5b915cb335befcb0
|
3 |
+
size 4479682
|
onnx/model_uint8.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:175b941a81aac05aaae2cdb0aed7755f6c7d0efacb13ca682f2d0e49e021a900
|
3 |
+
size 4479682
|
quantize_config.json
CHANGED
@@ -13,5 +13,6 @@
|
|
13 |
"block_size": null,
|
14 |
"is_symmetric": true,
|
15 |
"accuracy_level": null,
|
16 |
-
"quant_type": 1
|
|
|
17 |
}
|
|
|
13 |
"block_size": null,
|
14 |
"is_symmetric": true,
|
15 |
"accuracy_level": null,
|
16 |
+
"quant_type": 1,
|
17 |
+
"op_block_list": null
|
18 |
}
|