lBober commited on
Commit
1298c28
·
verified ·
1 Parent(s): f7176c7

lBober/my-model-Bertin-Sentimento

Browse files
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ base_model: bertin-project/bertin-roberta-base-spanish
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: my-model-Bertin-Sentimento
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-Bertin-Sentimento
17
+
18
+ This model is a fine-tuned version of [bertin-project/bertin-roberta-base-spanish](https://huggingface.co/bertin-project/bertin-roberta-base-spanish) on the None dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.3785
21
+ - Accuracy: 0.8903
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: 0.2
41
+ - train_batch_size: 10
42
+ - eval_batch_size: 10
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
+ | 27.7894 | 1.0 | 73 | 4.2711 | 0.8903 |
53
+ | 21.2038 | 2.0 | 146 | 100.7602 | 0.1097 |
54
+ | 24.6546 | 3.0 | 219 | 5.8194 | 0.8903 |
55
+ | 12.5356 | 4.0 | 292 | 13.9993 | 0.1097 |
56
+ | 11.6246 | 5.0 | 365 | 4.3527 | 0.8903 |
57
+ | 9.2618 | 6.0 | 438 | 5.9925 | 0.8903 |
58
+ | 5.2274 | 7.0 | 511 | 2.8368 | 0.8903 |
59
+ | 6.2542 | 8.0 | 584 | 4.2015 | 0.8903 |
60
+ | 2.461 | 9.0 | 657 | 2.3659 | 0.1097 |
61
+ | 1.6263 | 10.0 | 730 | 0.3785 | 0.8903 |
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,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bertin-project/bertin-roberta-base-spanish",
3
+ "architectures": [
4
+ "RobertaForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
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.0,
13
+ "hidden_size": 768,
14
+ "id2label": {
15
+ "0": "LABEL_0",
16
+ "1": "LABEL_1",
17
+ "2": "LABEL_2"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "LABEL_0": 0,
23
+ "LABEL_1": 1,
24
+ "LABEL_2": 2
25
+ },
26
+ "layer_norm_eps": 1e-05,
27
+ "max_position_embeddings": 514,
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
+ "torch_dtype": "float32",
35
+ "transformers_version": "4.41.0",
36
+ "type_vocab_size": 1,
37
+ "use_cache": true,
38
+ "vocab_size": 50262
39
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2fdfa75d237d67f0257b47263e2bc2ed7946c0d7fb07eb4e934d790cffd94059
3
+ size 498606684
runs/May25_10-59-00_d054577ce978/events.out.tfevents.1716634742.d054577ce978.5289.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b41e1607c2bf190d2619024c0534834a960515ed2b39ff501caf40b8e08f41e4
3
+ size 10748
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:501c174cfcd2a0c1252f3ffc514c096609e1d018a8246156235eaa8a535a800e
3
+ size 5112