Upload folder using huggingface_hub
Browse files- added_tokens.json +3 -0
- config.json +44 -0
- onnx/model.onnx +3 -0
- onnx/model_quantized.onnx +3 -0
- quantize_config.json +50 -0
- special_tokens_map.json +9 -0
- spm.model +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +20 -0
added_tokens.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"[MASK]": 128000
|
3 |
+
}
|
config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "MoritzLaurer/DeBERTa-v3-large-mnli-fever-anli-ling-wanli",
|
3 |
+
"architectures": [
|
4 |
+
"DebertaV2ForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"hidden_act": "gelu",
|
8 |
+
"hidden_dropout_prob": 0.1,
|
9 |
+
"hidden_size": 1024,
|
10 |
+
"id2label": {
|
11 |
+
"0": "entailment",
|
12 |
+
"1": "neutral",
|
13 |
+
"2": "contradiction"
|
14 |
+
},
|
15 |
+
"initializer_range": 0.02,
|
16 |
+
"intermediate_size": 4096,
|
17 |
+
"label2id": {
|
18 |
+
"contradiction": 2,
|
19 |
+
"entailment": 0,
|
20 |
+
"neutral": 1
|
21 |
+
},
|
22 |
+
"layer_norm_eps": 1e-07,
|
23 |
+
"max_position_embeddings": 512,
|
24 |
+
"max_relative_positions": -1,
|
25 |
+
"model_type": "deberta-v2",
|
26 |
+
"norm_rel_ebd": "layer_norm",
|
27 |
+
"num_attention_heads": 16,
|
28 |
+
"num_hidden_layers": 24,
|
29 |
+
"pad_token_id": 0,
|
30 |
+
"pooler_dropout": 0,
|
31 |
+
"pooler_hidden_act": "gelu",
|
32 |
+
"pooler_hidden_size": 1024,
|
33 |
+
"pos_att_type": [
|
34 |
+
"p2c",
|
35 |
+
"c2p"
|
36 |
+
],
|
37 |
+
"position_biased_input": false,
|
38 |
+
"position_buckets": 256,
|
39 |
+
"relative_attention": true,
|
40 |
+
"share_att_key": true,
|
41 |
+
"transformers_version": "4.32.0.dev0",
|
42 |
+
"type_vocab_size": 0,
|
43 |
+
"vocab_size": 128100
|
44 |
+
}
|
onnx/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9fbf57959bd9143720289cd1eab1aaaa00fc99459fd25ffeff8eba1ccf955d2b
|
3 |
+
size 1741989392
|
onnx/model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f28cc7e69eb2834597c5ef2336f2adb7398b7bcb019282fb3f11d0130a3c0010
|
3 |
+
size 642587600
|
quantize_config.json
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"per_channel": true,
|
3 |
+
"reduce_range": true,
|
4 |
+
"per_model_config": {
|
5 |
+
"model": {
|
6 |
+
"op_types": [
|
7 |
+
"Abs",
|
8 |
+
"Less",
|
9 |
+
"Cast",
|
10 |
+
"Tile",
|
11 |
+
"Clip",
|
12 |
+
"Reshape",
|
13 |
+
"Concat",
|
14 |
+
"Sign",
|
15 |
+
"Transpose",
|
16 |
+
"Gemm",
|
17 |
+
"Constant",
|
18 |
+
"Log",
|
19 |
+
"Identity",
|
20 |
+
"Div",
|
21 |
+
"Softmax",
|
22 |
+
"Pow",
|
23 |
+
"LessOrEqual",
|
24 |
+
"And",
|
25 |
+
"Erf",
|
26 |
+
"Mul",
|
27 |
+
"Slice",
|
28 |
+
"Gather",
|
29 |
+
"Expand",
|
30 |
+
"Sub",
|
31 |
+
"ConstantOfShape",
|
32 |
+
"ReduceMean",
|
33 |
+
"Shape",
|
34 |
+
"Equal",
|
35 |
+
"GatherElements",
|
36 |
+
"Squeeze",
|
37 |
+
"Neg",
|
38 |
+
"Sqrt",
|
39 |
+
"Ceil",
|
40 |
+
"Range",
|
41 |
+
"Where",
|
42 |
+
"Add",
|
43 |
+
"Greater",
|
44 |
+
"MatMul",
|
45 |
+
"Unsqueeze"
|
46 |
+
],
|
47 |
+
"weight_type": "QInt8"
|
48 |
+
}
|
49 |
+
}
|
50 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "[CLS]",
|
3 |
+
"cls_token": "[CLS]",
|
4 |
+
"eos_token": "[SEP]",
|
5 |
+
"mask_token": "[MASK]",
|
6 |
+
"pad_token": "[PAD]",
|
7 |
+
"sep_token": "[SEP]",
|
8 |
+
"unk_token": "[UNK]"
|
9 |
+
}
|
spm.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd
|
3 |
+
size 2464616
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "[CLS]",
|
3 |
+
"clean_up_tokenization_spaces": true,
|
4 |
+
"cls_token": "[CLS]",
|
5 |
+
"do_lower_case": false,
|
6 |
+
"eos_token": "[SEP]",
|
7 |
+
"mask_token": "[MASK]",
|
8 |
+
"max_length": 512,
|
9 |
+
"model_max_length": 512,
|
10 |
+
"pad_token": "[PAD]",
|
11 |
+
"sep_token": "[SEP]",
|
12 |
+
"sp_model_kwargs": {},
|
13 |
+
"split_by_punct": false,
|
14 |
+
"stride": 0,
|
15 |
+
"tokenizer_class": "DebertaV2Tokenizer",
|
16 |
+
"truncation_side": "right",
|
17 |
+
"truncation_strategy": "longest_first",
|
18 |
+
"unk_token": "[UNK]",
|
19 |
+
"vocab_type": "spm"
|
20 |
+
}
|