Upload 8 files
Browse files- config.json +33 -0
- onnx/model.onnx +3 -0
- onnx/model_quantized.onnx +3 -0
- quantize_config.json +36 -0
- sentencepiece.bpe.model +3 -0
- special_tokens_map.json +19 -0
- tokenizer.json +0 -0
- tokenizer_config.json +31 -0
config.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "antoinelouis/crossencoder-distilcamembert-mmarcoFR",
|
3 |
+
"architectures": [
|
4 |
+
"CamembertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"gradient_checkpointing": false,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_dropout_prob": 0.1,
|
13 |
+
"hidden_size": 768,
|
14 |
+
"id2label": {
|
15 |
+
"0": "LABEL_0"
|
16 |
+
},
|
17 |
+
"initializer_range": 0.02,
|
18 |
+
"intermediate_size": 3072,
|
19 |
+
"label2id": {
|
20 |
+
"LABEL_0": 0
|
21 |
+
},
|
22 |
+
"layer_norm_eps": 1e-05,
|
23 |
+
"max_position_embeddings": 514,
|
24 |
+
"model_type": "camembert",
|
25 |
+
"num_attention_heads": 12,
|
26 |
+
"num_hidden_layers": 6,
|
27 |
+
"pad_token_id": 1,
|
28 |
+
"position_embedding_type": "absolute",
|
29 |
+
"transformers_version": "4.33.2",
|
30 |
+
"type_vocab_size": 1,
|
31 |
+
"use_cache": true,
|
32 |
+
"vocab_size": 32005
|
33 |
+
}
|
onnx/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dc2aa99f61e5b58fb1eaaa7a3a5f5181662f4c792ab59eadbb8736dcb94cd40c
|
3 |
+
size 270144586
|
onnx/model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b0a3ee15167a70f6ac38815f3edeaf01132ca295c755fe98b12b92a928232beb
|
3 |
+
size 68109949
|
quantize_config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"per_channel": true,
|
3 |
+
"reduce_range": true,
|
4 |
+
"per_model_config": {
|
5 |
+
"model": {
|
6 |
+
"op_types": [
|
7 |
+
"Div",
|
8 |
+
"Concat",
|
9 |
+
"CumSum",
|
10 |
+
"Not",
|
11 |
+
"Unsqueeze",
|
12 |
+
"Sub",
|
13 |
+
"Reshape",
|
14 |
+
"ReduceMean",
|
15 |
+
"Erf",
|
16 |
+
"Sqrt",
|
17 |
+
"Constant",
|
18 |
+
"Slice",
|
19 |
+
"Transpose",
|
20 |
+
"Softmax",
|
21 |
+
"Add",
|
22 |
+
"Shape",
|
23 |
+
"MatMul",
|
24 |
+
"Cast",
|
25 |
+
"Expand",
|
26 |
+
"Where",
|
27 |
+
"Equal",
|
28 |
+
"ConstantOfShape",
|
29 |
+
"Pow",
|
30 |
+
"Gather",
|
31 |
+
"Mul"
|
32 |
+
],
|
33 |
+
"weight_type": "QInt8"
|
34 |
+
}
|
35 |
+
}
|
36 |
+
}
|
sentencepiece.bpe.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:988bc5a00281c6d210a5d34bd143d0363741a432fefe741bf71e61b1869d4314
|
3 |
+
size 810912
|
special_tokens_map.json
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<s>NOTUSED",
|
4 |
+
"</s>NOTUSED"
|
5 |
+
],
|
6 |
+
"bos_token": "<s>",
|
7 |
+
"cls_token": "<s>",
|
8 |
+
"eos_token": "</s>",
|
9 |
+
"mask_token": {
|
10 |
+
"content": "<mask>",
|
11 |
+
"lstrip": true,
|
12 |
+
"normalized": true,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": "<pad>",
|
17 |
+
"sep_token": "</s>",
|
18 |
+
"unk_token": "<unk>"
|
19 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<s>NOTUSED",
|
4 |
+
"</s>NOTUSED"
|
5 |
+
],
|
6 |
+
"bos_token": "<s>",
|
7 |
+
"clean_up_tokenization_spaces": true,
|
8 |
+
"cls_token": "<s>",
|
9 |
+
"eos_token": "</s>",
|
10 |
+
"mask_token": {
|
11 |
+
"__type": "AddedToken",
|
12 |
+
"content": "<mask>",
|
13 |
+
"lstrip": true,
|
14 |
+
"normalized": true,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false
|
17 |
+
},
|
18 |
+
"max_length": 512,
|
19 |
+
"model_max_length": 512,
|
20 |
+
"pad_to_multiple_of": null,
|
21 |
+
"pad_token": "<pad>",
|
22 |
+
"pad_token_type_id": 0,
|
23 |
+
"padding_side": "right",
|
24 |
+
"sep_token": "</s>",
|
25 |
+
"sp_model_kwargs": {},
|
26 |
+
"stride": 0,
|
27 |
+
"tokenizer_class": "CamembertTokenizer",
|
28 |
+
"truncation_side": "right",
|
29 |
+
"truncation_strategy": "longest_first",
|
30 |
+
"unk_token": "<unk>"
|
31 |
+
}
|