nmarinnn commited on
Commit
847d1af
1 Parent(s): b792806

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +36 -40
config.json CHANGED
@@ -1,40 +1,36 @@
1
- {
2
- "_name_or_path": "cardiffnlp/twitter-xlm-roberta-base-sentiment",
3
- "architectures": [
4
- "XLMRobertaForSequenceClassification"
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": "negative",
16
- "1": "neutral",
17
- "2": "positive"
18
- },
19
- "initializer_range": 0.02,
20
- "intermediate_size": 3072,
21
- "label2id": {
22
- "negative": 0,
23
- "neutral": 1,
24
- "positive": 2
25
- },
26
- "layer_norm_eps": 1e-05,
27
- "max_position_embeddings": 514,
28
- "model_type": "xlm-roberta",
29
- "num_attention_heads": 12,
30
- "num_hidden_layers": 12,
31
- "output_past": true,
32
- "pad_token_id": 1,
33
- "position_embedding_type": "absolute",
34
- "problem_type": "single_label_classification",
35
- "torch_dtype": "float32",
36
- "transformers_version": "4.41.2",
37
- "type_vocab_size": 1,
38
- "use_cache": true,
39
- "vocab_size": 250002
40
- }
 
1
+ ---
2
+ language: es
3
+ tags:
4
+ •⁠ ⁠sentiment-analysis
5
+ •⁠ ⁠text-classification
6
+ •⁠ ⁠spanish
7
+ •⁠ ⁠xlm-roberta
8
+ datasets:
9
+ •⁠ ⁠custom # Reemplaza esto con el nombre del dataset si es público
10
+ metrics:
11
+ •⁠ ⁠accuracy
12
+ •⁠ ⁠f1
13
+ license: mit # Ajusta esto según la licencia de tu modelo
14
+ model-index:
15
+ •⁠ ⁠name: bert-bregman
16
+ results:
17
+ - task:
18
+ type: text-classification
19
+ name: Sentiment Analysis
20
+ dataset:
21
+ name: Custom Spanish Sentiment Dataset
22
+ type: custom # Ajusta esto si usaste un dataset público
23
+ metrics:
24
+ - type: accuracy
25
+ value: 0.7432432432432432
26
+ - type: f1
27
+ value: 0.7330748170322471
28
+ pipeline_tag: text-classification
29
+ widget:
30
+ - text: "Me encanta este producto, es excelente!"
31
+ example_title: "Ejemplo positivo"
32
+ - text: "No estoy seguro si me gusta o no."
33
+ example_title: "Ejemplo neutro"
34
+ - text: "Este servicio es terrible, nunca lo recomendaría."
35
+ example_title: "Ejemplo negativo"
36
+ ---