albertmartinez commited on
Commit
e8eab87
1 Parent(s): 59c831b

update onnx

Browse files
onnx/config.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "albertmartinez/distilbert-multilingual-sdg-classification",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertForSequenceClassification"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "finetuning_task": "text-classification",
11
+ "hidden_dim": 3072,
12
+ "id2label": {
13
+ "0": "sdg1",
14
+ "1": "sdg10",
15
+ "2": "sdg11",
16
+ "3": "sdg12",
17
+ "4": "sdg13",
18
+ "5": "sdg14",
19
+ "6": "sdg15",
20
+ "7": "sdg16",
21
+ "8": "sdg2",
22
+ "9": "sdg3",
23
+ "10": "sdg4",
24
+ "11": "sdg5",
25
+ "12": "sdg6",
26
+ "13": "sdg7",
27
+ "14": "sdg8",
28
+ "15": "sdg9"
29
+ },
30
+ "initializer_range": 0.02,
31
+ "label2id": {
32
+ "sdg1": 0,
33
+ "sdg10": 1,
34
+ "sdg11": 2,
35
+ "sdg12": 3,
36
+ "sdg13": 4,
37
+ "sdg14": 5,
38
+ "sdg15": 6,
39
+ "sdg16": 7,
40
+ "sdg2": 8,
41
+ "sdg3": 9,
42
+ "sdg4": 10,
43
+ "sdg5": 11,
44
+ "sdg6": 12,
45
+ "sdg7": 13,
46
+ "sdg8": 14,
47
+ "sdg9": 15
48
+ },
49
+ "max_position_embeddings": 512,
50
+ "model_type": "distilbert",
51
+ "n_heads": 12,
52
+ "n_layers": 6,
53
+ "output_past": true,
54
+ "pad_token_id": 0,
55
+ "problem_type": "single_label_classification",
56
+ "qa_dropout": 0.1,
57
+ "seq_classif_dropout": 0.2,
58
+ "sinusoidal_pos_embds": false,
59
+ "tie_weights_": true,
60
+ "transformers_version": "4.38.2",
61
+ "vocab_size": 119547
62
+ }
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7010d2d9ff3876817ee4559d03ddd0fdd01e4154cb7e466af3b3d9a5ca22d952
3
+ size 541483583
onnx/special_tokens_map.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "[UNK]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
+ }
onnx/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
onnx/tokenizer_config.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": false,
47
+ "mask_token": "[MASK]",
48
+ "max_length": 512,
49
+ "model_max_length": 512,
50
+ "pad_to_multiple_of": null,
51
+ "pad_token": "[PAD]",
52
+ "pad_token_type_id": 0,
53
+ "padding_side": "right",
54
+ "sep_token": "[SEP]",
55
+ "stride": 0,
56
+ "strip_accents": null,
57
+ "tokenize_chinese_chars": true,
58
+ "tokenizer_class": "DistilBertTokenizer",
59
+ "truncation_side": "right",
60
+ "truncation_strategy": "longest_first",
61
+ "unk_token": "[UNK]"
62
+ }
onnx/vocab.txt ADDED
The diff for this file is too large to render. See raw diff