Upload folder using huggingface_hub
Browse files- config.json +38 -0
- onnx/model.onnx +3 -0
- onnx/model_bnb4.onnx +3 -0
- onnx/model_fp16.onnx +3 -0
- onnx/model_int8.onnx +3 -0
- onnx/model_q4.onnx +3 -0
- onnx/model_quantized.onnx +3 -0
- onnx/model_uint8.onnx +3 -0
- quantize_config.json +126 -0
- special_tokens_map.json +51 -0
- tokenizer.json +0 -0
- tokenizer_config.json +90 -0
config.json
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "pysentimiento/robertuito-sentiment-analysis",
|
3 |
+
"architectures": [
|
4 |
+
"RobertaForSequenceClassification"
|
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": "NEG",
|
16 |
+
"1": "NEU",
|
17 |
+
"2": "POS"
|
18 |
+
},
|
19 |
+
"initializer_range": 0.02,
|
20 |
+
"intermediate_size": 3072,
|
21 |
+
"label2id": {
|
22 |
+
"NEG": 0,
|
23 |
+
"NEU": 1,
|
24 |
+
"POS": 2
|
25 |
+
},
|
26 |
+
"layer_norm_eps": 1e-12,
|
27 |
+
"max_position_embeddings": 130,
|
28 |
+
"model_type": "roberta",
|
29 |
+
"num_attention_heads": 12,
|
30 |
+
"num_hidden_layers": 12,
|
31 |
+
"pad_token_id": 1,
|
32 |
+
"position_embedding_type": "absolute",
|
33 |
+
"problem_type": "single_label_classification",
|
34 |
+
"transformers_version": "4.38.2",
|
35 |
+
"type_vocab_size": 1,
|
36 |
+
"use_cache": true,
|
37 |
+
"vocab_size": 30002
|
38 |
+
}
|
onnx/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:862a948a9de6b98c25587b730106954cdaeec8a8ab13752a7adf521abc7ff482
|
3 |
+
size 435443021
|
onnx/model_bnb4.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3baa5896f15e5b81f1a2089a557cf9974fcc95d881925575f1c039aa1c7af24b
|
3 |
+
size 143491343
|
onnx/model_fp16.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6565f12d6c7880d4c2b4d8cb66365dbfc69a30f9cbbc414c0573a7fced873623
|
3 |
+
size 217952330
|
onnx/model_int8.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:339fa4f51004ac3d7bad27dbea7ed605ae69555956e9253acad530891d7925d0
|
3 |
+
size 110045457
|
onnx/model_q4.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:75703a59ed3548a04310954fbb3ac153a83b8d0070edaa3b57a2f7be617e7075
|
3 |
+
size 148799231
|
onnx/model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:339fa4f51004ac3d7bad27dbea7ed605ae69555956e9253acad530891d7925d0
|
3 |
+
size 110045457
|
onnx/model_uint8.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2c0ae8a3ded7154d726b5c9472aca3ba45892fef90f4071cdb86d67321e671a0
|
3 |
+
size 110045455
|
quantize_config.json
ADDED
@@ -0,0 +1,126 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"fp16": {},
|
3 |
+
"q8": {
|
4 |
+
"per_model_config": {
|
5 |
+
"model": {
|
6 |
+
"op_types": [
|
7 |
+
"Add",
|
8 |
+
"Cast",
|
9 |
+
"Concat",
|
10 |
+
"Constant",
|
11 |
+
"ConstantOfShape",
|
12 |
+
"CumSum",
|
13 |
+
"Div",
|
14 |
+
"Equal",
|
15 |
+
"Erf",
|
16 |
+
"Expand",
|
17 |
+
"Gather",
|
18 |
+
"Gemm",
|
19 |
+
"MatMul",
|
20 |
+
"Mul",
|
21 |
+
"Not",
|
22 |
+
"Pow",
|
23 |
+
"ReduceMean",
|
24 |
+
"Reshape",
|
25 |
+
"Shape",
|
26 |
+
"Slice",
|
27 |
+
"Softmax",
|
28 |
+
"Sqrt",
|
29 |
+
"Sub",
|
30 |
+
"Tanh",
|
31 |
+
"Transpose",
|
32 |
+
"Unsqueeze",
|
33 |
+
"Where"
|
34 |
+
],
|
35 |
+
"weight_type": "QInt8"
|
36 |
+
}
|
37 |
+
},
|
38 |
+
"per_channel": true,
|
39 |
+
"reduce_range": true
|
40 |
+
},
|
41 |
+
"int8": {
|
42 |
+
"per_model_config": {
|
43 |
+
"model": {
|
44 |
+
"op_types": [
|
45 |
+
"Add",
|
46 |
+
"Cast",
|
47 |
+
"Concat",
|
48 |
+
"Constant",
|
49 |
+
"ConstantOfShape",
|
50 |
+
"CumSum",
|
51 |
+
"Div",
|
52 |
+
"Equal",
|
53 |
+
"Erf",
|
54 |
+
"Expand",
|
55 |
+
"Gather",
|
56 |
+
"Gemm",
|
57 |
+
"MatMul",
|
58 |
+
"Mul",
|
59 |
+
"Not",
|
60 |
+
"Pow",
|
61 |
+
"ReduceMean",
|
62 |
+
"Reshape",
|
63 |
+
"Shape",
|
64 |
+
"Slice",
|
65 |
+
"Softmax",
|
66 |
+
"Sqrt",
|
67 |
+
"Sub",
|
68 |
+
"Tanh",
|
69 |
+
"Transpose",
|
70 |
+
"Unsqueeze",
|
71 |
+
"Where"
|
72 |
+
],
|
73 |
+
"weight_type": "QInt8"
|
74 |
+
}
|
75 |
+
},
|
76 |
+
"per_channel": true,
|
77 |
+
"reduce_range": true
|
78 |
+
},
|
79 |
+
"uint8": {
|
80 |
+
"per_model_config": {
|
81 |
+
"model": {
|
82 |
+
"op_types": [
|
83 |
+
"Add",
|
84 |
+
"Cast",
|
85 |
+
"Concat",
|
86 |
+
"Constant",
|
87 |
+
"ConstantOfShape",
|
88 |
+
"CumSum",
|
89 |
+
"Div",
|
90 |
+
"Equal",
|
91 |
+
"Erf",
|
92 |
+
"Expand",
|
93 |
+
"Gather",
|
94 |
+
"Gemm",
|
95 |
+
"MatMul",
|
96 |
+
"Mul",
|
97 |
+
"Not",
|
98 |
+
"Pow",
|
99 |
+
"ReduceMean",
|
100 |
+
"Reshape",
|
101 |
+
"Shape",
|
102 |
+
"Slice",
|
103 |
+
"Softmax",
|
104 |
+
"Sqrt",
|
105 |
+
"Sub",
|
106 |
+
"Tanh",
|
107 |
+
"Transpose",
|
108 |
+
"Unsqueeze",
|
109 |
+
"Where"
|
110 |
+
],
|
111 |
+
"weight_type": "QUInt8"
|
112 |
+
}
|
113 |
+
},
|
114 |
+
"per_channel": true,
|
115 |
+
"reduce_range": true
|
116 |
+
},
|
117 |
+
"q4": {
|
118 |
+
"block_size": 32,
|
119 |
+
"is_symmetric": true,
|
120 |
+
"accuracy_level": null
|
121 |
+
},
|
122 |
+
"bnb4": {
|
123 |
+
"block_size": 64,
|
124 |
+
"quant_type": 1
|
125 |
+
}
|
126 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"cls_token": {
|
10 |
+
"content": "<s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"eos_token": {
|
17 |
+
"content": "</s>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"mask_token": {
|
24 |
+
"content": "<mask>",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"pad_token": {
|
31 |
+
"content": "<pad>",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": false,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
},
|
37 |
+
"sep_token": {
|
38 |
+
"content": "</s>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false
|
43 |
+
},
|
44 |
+
"unk_token": {
|
45 |
+
"content": "<unk>",
|
46 |
+
"lstrip": false,
|
47 |
+
"normalized": false,
|
48 |
+
"rstrip": false,
|
49 |
+
"single_word": false
|
50 |
+
}
|
51 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "<s>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "<pad>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "</s>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"3": {
|
28 |
+
"content": "<unk>",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"4": {
|
36 |
+
"content": "<mask>",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
},
|
43 |
+
"430": {
|
44 |
+
"content": "@usuario",
|
45 |
+
"lstrip": false,
|
46 |
+
"normalized": true,
|
47 |
+
"rstrip": false,
|
48 |
+
"single_word": false,
|
49 |
+
"special": false
|
50 |
+
},
|
51 |
+
"27394": {
|
52 |
+
"content": "url",
|
53 |
+
"lstrip": false,
|
54 |
+
"normalized": true,
|
55 |
+
"rstrip": false,
|
56 |
+
"single_word": false,
|
57 |
+
"special": false
|
58 |
+
},
|
59 |
+
"30000": {
|
60 |
+
"content": "hashtag",
|
61 |
+
"lstrip": false,
|
62 |
+
"normalized": true,
|
63 |
+
"rstrip": false,
|
64 |
+
"single_word": false,
|
65 |
+
"special": false
|
66 |
+
},
|
67 |
+
"30001": {
|
68 |
+
"content": "emoji",
|
69 |
+
"lstrip": false,
|
70 |
+
"normalized": true,
|
71 |
+
"rstrip": false,
|
72 |
+
"single_word": false,
|
73 |
+
"special": false
|
74 |
+
}
|
75 |
+
},
|
76 |
+
"bos_token": "<s>",
|
77 |
+
"clean_up_tokenization_spaces": true,
|
78 |
+
"cls_token": "<s>",
|
79 |
+
"eos_token": "</s>",
|
80 |
+
"mask_token": "<mask>",
|
81 |
+
"max_length": 128,
|
82 |
+
"model_max_length": 128,
|
83 |
+
"pad_token": "<pad>",
|
84 |
+
"sep_token": "</s>",
|
85 |
+
"stride": 0,
|
86 |
+
"tokenizer_class": "PreTrainedTokenizerFast",
|
87 |
+
"truncation_side": "right",
|
88 |
+
"truncation_strategy": "longest_first",
|
89 |
+
"unk_token": "<unk>"
|
90 |
+
}
|