adriansanz commited on
Commit
dd63d8d
·
verified ·
1 Parent(s): 570e093

End of training

Browse files
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: projecte-aina/roberta-base-ca-v2
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - precision
9
+ - recall
10
+ - f1
11
+ model-index:
12
+ - name: FS_25_05
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # FS_25_05
20
+
21
+ This model is a fine-tuned version of [projecte-aina/roberta-base-ca-v2](https://huggingface.co/projecte-aina/roberta-base-ca-v2) on the None dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.1830
24
+ - Accuracy: 0.9608
25
+ - Precision: 0.9618
26
+ - Recall: 0.9606
27
+ - F1: 0.9603
28
+ - Ratio: 0.0510
29
+
30
+ ## Model description
31
+
32
+ More information needed
33
+
34
+ ## Intended uses & limitations
35
+
36
+ More information needed
37
+
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+
42
+ ## Training procedure
43
+
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 5e-05
48
+ - train_batch_size: 8
49
+ - eval_batch_size: 8
50
+ - seed: 42
51
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
52
+ - lr_scheduler_type: linear
53
+ - lr_scheduler_warmup_steps: 500
54
+ - num_epochs: 5
55
+
56
+ ### Training results
57
+
58
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 | Ratio |
59
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|:------:|
60
+ | 1.7701 | 1.0 | 362 | 1.6423 | 0.8980 | 0.9086 | 0.8982 | 0.8983 | 0.0549 |
61
+ | 0.3762 | 2.0 | 724 | 0.3326 | 0.9451 | 0.9466 | 0.9449 | 0.9446 | 0.0529 |
62
+ | 0.1056 | 3.0 | 1086 | 0.1995 | 0.9608 | 0.9617 | 0.9608 | 0.9605 | 0.0510 |
63
+ | 0.0238 | 4.0 | 1448 | 0.1830 | 0.9608 | 0.9618 | 0.9606 | 0.9603 | 0.0510 |
64
+ | 0.1092 | 5.0 | 1810 | 0.1919 | 0.9627 | 0.9641 | 0.9627 | 0.9626 | 0.0510 |
65
+
66
+
67
+ ### Framework versions
68
+
69
+ - Transformers 4.40.2
70
+ - Pytorch 2.2.1+cu121
71
+ - Datasets 2.19.1
72
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "projecte-aina/roberta-base-ca-v2",
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": "Aigues",
16
+ "1": "Consum, comer\u00e7 i mercats",
17
+ "2": "Cultura",
18
+ "3": "Economia",
19
+ "4": "Educaci\u00f3",
20
+ "5": "Enllumenat p\u00fablic",
21
+ "6": "Esports",
22
+ "7": "Habitatge",
23
+ "8": "Horta",
24
+ "9": "Informaci\u00f3 general",
25
+ "10": "Inform\u00e0tica",
26
+ "11": "Joventut",
27
+ "12": "Medi ambient",
28
+ "13": "Neteja de la via p\u00fablica",
29
+ "14": "Salut p\u00fablica i Cementiri",
30
+ "15": "Seguretat",
31
+ "16": "Serveis socials",
32
+ "17": "Tramitacions",
33
+ "18": "Urbanisme",
34
+ "19": "Via p\u00fablica i mobilitat"
35
+ },
36
+ "initializer_range": 0.02,
37
+ "intermediate_size": 3072,
38
+ "layer_norm_eps": 1e-05,
39
+ "max_position_embeddings": 514,
40
+ "model_type": "roberta",
41
+ "num_attention_heads": 12,
42
+ "num_hidden_layers": 12,
43
+ "pad_token_id": 1,
44
+ "position_embedding_type": "absolute",
45
+ "problem_type": "single_label_classification",
46
+ "torch_dtype": "float32",
47
+ "transformers_version": "4.40.2",
48
+ "type_vocab_size": 1,
49
+ "use_cache": true,
50
+ "vocab_size": 50262
51
+ }
logs/events.out.tfevents.1716288291.7ec673f72dad.530.9 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d42751c01eeb5f619b58f4a8ade3daeeb59aac5aa2d38f0b6ac9a1be8412e1c
3
+ size 46411
logs/events.out.tfevents.1716288929.7ec673f72dad.530.10 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:272099b67013ed2fde50b5b4ab319d3b96f40dd61943084a262b1b2975434c46
3
+ size 609
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17f9a01009c3e1185efce3db1584ef1561978c6c5137cfa238e3711ec04dab5f
3
+ size 498658976
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ccc4a755404da0d5f0d171ca43c304c1f935005b745aa776544be98f27b2b305
3
+ size 5048