Upload RobertaForSequenceClassification
Browse files- config.json +7 -11
- model.safetensors +3 -0
config.json
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "PlanTL-GOB-ES/roberta-base-bne",
|
3 |
"architectures": [
|
4 |
"RobertaForSequenceClassification"
|
5 |
],
|
@@ -12,20 +11,17 @@
|
|
12 |
"hidden_dropout_prob": 0.0,
|
13 |
"hidden_size": 768,
|
14 |
"id2label": {
|
15 |
-
"0": "
|
16 |
-
"1": "
|
17 |
-
"2": "
|
18 |
-
"3": "Muy t贸xico"
|
19 |
},
|
20 |
"initializer_range": 0.02,
|
21 |
"intermediate_size": 3072,
|
22 |
"label2id": {
|
23 |
-
"
|
24 |
-
"
|
25 |
-
"
|
26 |
-
"Muy t贸xico": 3
|
27 |
},
|
28 |
-
|
29 |
"layer_norm_eps": 1e-05,
|
30 |
"max_position_embeddings": 514,
|
31 |
"model_type": "roberta",
|
@@ -35,7 +31,7 @@
|
|
35 |
"position_embedding_type": "absolute",
|
36 |
"problem_type": "single_label_classification",
|
37 |
"torch_dtype": "float32",
|
38 |
-
"transformers_version": "4.
|
39 |
"type_vocab_size": 1,
|
40 |
"use_cache": true,
|
41 |
"vocab_size": 50262
|
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
"RobertaForSequenceClassification"
|
4 |
],
|
|
|
11 |
"hidden_dropout_prob": 0.0,
|
12 |
"hidden_size": 768,
|
13 |
"id2label": {
|
14 |
+
"0": "LABEL_0",
|
15 |
+
"1": "LABEL_1",
|
16 |
+
"2": "LABEL_2"
|
|
|
17 |
},
|
18 |
"initializer_range": 0.02,
|
19 |
"intermediate_size": 3072,
|
20 |
"label2id": {
|
21 |
+
"LABEL_0": 0,
|
22 |
+
"LABEL_1": 1,
|
23 |
+
"LABEL_2": 2
|
|
|
24 |
},
|
|
|
25 |
"layer_norm_eps": 1e-05,
|
26 |
"max_position_embeddings": 514,
|
27 |
"model_type": "roberta",
|
|
|
31 |
"position_embedding_type": "absolute",
|
32 |
"problem_type": "single_label_classification",
|
33 |
"torch_dtype": "float32",
|
34 |
+
"transformers_version": "4.52.4",
|
35 |
"type_vocab_size": 1,
|
36 |
"use_cache": true,
|
37 |
"vocab_size": 50262
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6dd292abe51a51a7d6b8906dfae6a9e474e0ad3c329608b13027f1c2debfd718
|
3 |
+
size 498606684
|