Xenova HF staff commited on
Commit
990d0e4
·
1 Parent(s): 37f98ea

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "YituTech/conv-bert-medium-small",
3
+ "architectures": [
4
+ "ConvBertModel"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "conv_kernel_size": 9,
10
+ "embedding_size": 128,
11
+ "eos_token_id": 2,
12
+ "head_ratio": 2,
13
+ "hidden_act": "gelu",
14
+ "hidden_dropout_prob": 0.1,
15
+ "hidden_size": 384,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 1536,
18
+ "layer_norm_eps": 1e-12,
19
+ "max_position_embeddings": 512,
20
+ "model_type": "convbert",
21
+ "num_attention_heads": 8,
22
+ "num_groups": 2,
23
+ "num_hidden_layers": 12,
24
+ "pad_token_id": 0,
25
+ "transformers_version": "4.33.2",
26
+ "type_vocab_size": 2,
27
+ "vocab_size": 30522
28
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:664f938b5dd1900e67ab059df8da724e000dfa9b07f52efe19e1588b8dbf8ba3
3
+ size 70409481
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf84fb0aa3b60d4c0a97c268e7c284dfafc686b9156a02b7f996fc7514bd7f85
3
+ size 18618940
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
+ "Sub",
8
+ "Sqrt",
9
+ "Conv",
10
+ "Erf",
11
+ "Slice",
12
+ "Range",
13
+ "ReduceMean",
14
+ "Cast",
15
+ "Concat",
16
+ "Reshape",
17
+ "Unsqueeze",
18
+ "Pad",
19
+ "Pow",
20
+ "Transpose",
21
+ "Mul",
22
+ "Div",
23
+ "MatMul",
24
+ "Shape",
25
+ "Constant",
26
+ "Softmax",
27
+ "Add",
28
+ "Gather"
29
+ ],
30
+ "weight_type": "QUInt8"
31
+ }
32
+ }
33
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "clean_up_tokenization_spaces": true,
3
+ "cls_token": "[CLS]",
4
+ "do_basic_tokenize": true,
5
+ "do_lower_case": true,
6
+ "mask_token": "[MASK]",
7
+ "model_max_length": 512,
8
+ "never_split": null,
9
+ "pad_token": "[PAD]",
10
+ "sep_token": "[SEP]",
11
+ "strip_accents": null,
12
+ "tokenize_chinese_chars": true,
13
+ "tokenizer_class": "ConvBertTokenizer",
14
+ "unk_token": "[UNK]"
15
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff