iagovar commited on
Commit
fa116ce
1 Parent(s): c100131

Initial commit

Browse files
zeroshot_selectra_medium/config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Recognai/zeroshot_selectra_medium",
3
+ "architectures": [
4
+ "ElectraForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "embedding_size": 384,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 384,
12
+ "id2label": {
13
+ "0": "contradiction",
14
+ "1": "neutral",
15
+ "2": "entailment"
16
+ },
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 1536,
19
+ "label2id": {
20
+ "contradiction": 0,
21
+ "entailment": 2,
22
+ "neutral": 1
23
+ },
24
+ "layer_norm_eps": 1e-12,
25
+ "max_position_embeddings": 512,
26
+ "model_type": "electra",
27
+ "num_attention_heads": 6,
28
+ "num_hidden_layers": 12,
29
+ "pad_token_id": 0,
30
+ "position_embedding_type": "absolute",
31
+ "problem_type": "single_label_classification",
32
+ "summary_activation": "gelu",
33
+ "summary_last_dropout": 0.1,
34
+ "summary_type": "first",
35
+ "summary_use_proj": true,
36
+ "transformers_version": "4.33.2",
37
+ "type_vocab_size": 2,
38
+ "use_cache": true,
39
+ "vocab_size": 50000
40
+ }
zeroshot_selectra_medium/onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ba34c5f6622a640b2574a74493fff34968b364eea5812a4539c8c7ede6031244
3
+ size 163642799
zeroshot_selectra_medium/onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c864247e5e281679dfb39ff73846337947226d4722d1a7026702a413a9654d91
3
+ size 41702104
zeroshot_selectra_medium/quantize_config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "per_channel": true,
3
+ "reduce_range": true,
4
+ "per_model_config": {
5
+ "model": {
6
+ "op_types": [
7
+ "Concat",
8
+ "Gemm",
9
+ "Erf",
10
+ "Sub",
11
+ "Softmax",
12
+ "Slice",
13
+ "Transpose",
14
+ "ReduceMean",
15
+ "MatMul",
16
+ "Shape",
17
+ "Cast",
18
+ "Div",
19
+ "Add",
20
+ "Mul",
21
+ "Pow",
22
+ "Sqrt",
23
+ "Gather",
24
+ "Constant",
25
+ "Reshape",
26
+ "Unsqueeze"
27
+ ],
28
+ "weight_type": "QInt8"
29
+ }
30
+ }
31
+ }
zeroshot_selectra_medium/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
+ }
zeroshot_selectra_medium/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
zeroshot_selectra_medium/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": false,
6
+ "mask_token": "[MASK]",
7
+ "model_max_length": 512,
8
+ "never_split": null,
9
+ "pad_token": "[PAD]",
10
+ "sep_token": "[SEP]",
11
+ "strip_accents": false,
12
+ "tokenize_chinese_chars": true,
13
+ "tokenizer_class": "ElectraTokenizer",
14
+ "unk_token": "[UNK]"
15
+ }
zeroshot_selectra_medium/vocab.txt ADDED
The diff for this file is too large to render. See raw diff