lBober commited on
Commit
5e2a858
1 Parent(s): 01209bb

lBober/my-model-SaBERT-Area

Browse files
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: VerificadoProfesional/SaBERT-Spanish-Sentiment-Analysis
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: my-model-SaBERT-Area
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # my-model-SaBERT-Area
17
+
18
+ This model is a fine-tuned version of [VerificadoProfesional/SaBERT-Spanish-Sentiment-Analysis](https://huggingface.co/VerificadoProfesional/SaBERT-Spanish-Sentiment-Analysis) on the None dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 1.5236
21
+ - Accuracy: 0.4173
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 2e-05
41
+ - train_batch_size: 100
42
+ - eval_batch_size: 100
43
+ - seed: 42
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: linear
46
+ - num_epochs: 10
47
+
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
51
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
52
+ | 1.8312 | 1.0 | 7 | 1.7417 | 0.3022 |
53
+ | 1.6365 | 2.0 | 14 | 1.6915 | 0.3165 |
54
+ | 1.5135 | 3.0 | 21 | 1.6488 | 0.3525 |
55
+ | 1.3915 | 4.0 | 28 | 1.6102 | 0.3525 |
56
+ | 1.2707 | 5.0 | 35 | 1.5685 | 0.4173 |
57
+ | 1.1772 | 6.0 | 42 | 1.5384 | 0.4388 |
58
+ | 1.0696 | 7.0 | 49 | 1.5229 | 0.4245 |
59
+ | 0.9962 | 8.0 | 56 | 1.5187 | 0.4173 |
60
+ | 0.9411 | 9.0 | 63 | 1.5232 | 0.4317 |
61
+ | 0.9334 | 10.0 | 70 | 1.5236 | 0.4173 |
62
+
63
+
64
+ ### Framework versions
65
+
66
+ - Transformers 4.41.0
67
+ - Pytorch 2.3.0+cu121
68
+ - Datasets 2.19.1
69
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "VerificadoProfesional/SaBERT-Spanish-Sentiment-Analysis",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "LABEL_0",
14
+ "1": "LABEL_1",
15
+ "2": "LABEL_2",
16
+ "3": "LABEL_3",
17
+ "4": "LABEL_4",
18
+ "5": "LABEL_5",
19
+ "6": "LABEL_6"
20
+ },
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 3072,
23
+ "label2id": {
24
+ "LABEL_0": 0,
25
+ "LABEL_1": 1,
26
+ "LABEL_2": 2,
27
+ "LABEL_3": 3,
28
+ "LABEL_4": 4,
29
+ "LABEL_5": 5,
30
+ "LABEL_6": 6
31
+ },
32
+ "layer_norm_eps": 1e-12,
33
+ "max_position_embeddings": 512,
34
+ "model_type": "bert",
35
+ "num_attention_heads": 12,
36
+ "num_hidden_layers": 12,
37
+ "output_past": true,
38
+ "pad_token_id": 1,
39
+ "position_embedding_type": "absolute",
40
+ "problem_type": "single_label_classification",
41
+ "torch_dtype": "float32",
42
+ "transformers_version": "4.41.0",
43
+ "type_vocab_size": 2,
44
+ "use_cache": true,
45
+ "vocab_size": 31002
46
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c6ee10646ad9d15dc8aa24e71a767ed5b626cd74d28b9fc1df25bfc65f4397b9
3
+ size 439448588
runs/May25_10-17-19_883a8495c7ab/events.out.tfevents.1716632242.883a8495c7ab.1107.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e5163f09c26533150365ff1dd66fbc4ecc94a7c4e4efb3a77568e28c685c78b
3
+ size 10820
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fddbbf0f44c0dedff65cd07085e56a04d72dcb52db2d35c68619629d37380ffa
3
+ size 5112