adriansanz commited on
Commit
54c1f57
·
verified ·
1 Parent(s): e7916c4

End of training

Browse files
README.md ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: output
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
+ # output
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: 1.2062
24
+ - Accuracy: 0.674
25
+ - Precision: 0.3364
26
+ - Recall: 0.4130
27
+ - F1: 0.3663
28
+
29
+ ## Model description
30
+
31
+ More information needed
32
+
33
+ ## Intended uses & limitations
34
+
35
+ More information needed
36
+
37
+ ## Training and evaluation data
38
+
39
+ More information needed
40
+
41
+ ## Training procedure
42
+
43
+ ### Training hyperparameters
44
+
45
+ The following hyperparameters were used during training:
46
+ - learning_rate: 5e-05
47
+ - train_batch_size: 8
48
+ - eval_batch_size: 8
49
+ - seed: 42
50
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
+ - lr_scheduler_type: linear
52
+ - lr_scheduler_warmup_steps: 500
53
+ - num_epochs: 5
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
58
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
59
+ | 2.2715 | 1.0 | 568 | 1.6059 | 0.558 | 0.2024 | 0.2319 | 0.1918 |
60
+ | 1.4728 | 2.0 | 1136 | 1.2854 | 0.644 | 0.3297 | 0.3636 | 0.3367 |
61
+ | 1.1552 | 3.0 | 1704 | 1.2062 | 0.674 | 0.3364 | 0.4130 | 0.3663 |
62
+ | 0.8737 | 4.0 | 2272 | 1.2907 | 0.662 | 0.4354 | 0.4474 | 0.4240 |
63
+ | 0.7023 | 5.0 | 2840 | 1.3429 | 0.658 | 0.4609 | 0.4661 | 0.4461 |
64
+
65
+
66
+ ### Framework versions
67
+
68
+ - Transformers 4.41.0
69
+ - Pytorch 2.3.0+cu121
70
+ - Datasets 2.19.1
71
+ - 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": "Aig\u00fces",
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.41.0",
48
+ "type_vocab_size": 1,
49
+ "use_cache": true,
50
+ "vocab_size": 50262
51
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3a23ece55f36704f9033f7251fc0e6a9dabd118905314533c5a2bd600f0c288
3
+ size 498658976
runs/May27_06-32-37_1bbc57287f46/events.out.tfevents.1716791564.1bbc57287f46.353.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:89e1aa9f323d7f11b5e61be0d1fc633fb85bc2c86f31201298365b05c20cceb5
3
+ size 10764
runs/May27_06-42-47_1bbc57287f46/events.out.tfevents.1716792173.1bbc57287f46.353.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:276498b2bfc93cb2ed99c95cb3352bb1e884705b3d3b3af10d66cae59cde6131
3
+ size 4053
runs/May27_06-42-47_1bbc57287f46/events.out.tfevents.1716792230.1bbc57287f46.353.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f949341eb8474860018d35b64ced142711e1e6f5fde477c514e9b9fe4bfd1616
3
+ size 4053
runs/May27_06-49-40_1bbc57287f46/events.out.tfevents.1716792586.1bbc57287f46.5380.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a302050d6a7d8655b9f1abb093088249d16e874809fc4e73683e651c69a114d
3
+ size 4053
runs/May27_06-51-29_1bbc57287f46/events.out.tfevents.1716792696.1bbc57287f46.5380.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a5a444c4bc3dca6fc170eec8eb771aa68d0396beaac9646a93c2e0fd0cb3661
3
+ size 4053
runs/May27_06-51-29_1bbc57287f46/events.out.tfevents.1716792907.1bbc57287f46.5380.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e16fcab56e901653cda26a1168a6e9d2356ad439b1b8f92dfbda9f57a8acb720
3
+ size 4053
runs/May27_06-51-29_1bbc57287f46/events.out.tfevents.1716793249.1bbc57287f46.5380.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a677e209769cb2b658f9e72aeff7eaa961547bcebd1d6b44dbbd36acee707aa9
3
+ size 4053
runs/May27_07-30-34_1bbc57287f46/events.out.tfevents.1716795038.1bbc57287f46.5380.4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d424ce00b108ffbc6d4108cc1a7413f506f353c1ab750e05c502d28a93a6ad5a
3
+ size 4053
runs/May27_08-05-48_1bbc57287f46/events.out.tfevents.1716797153.1bbc57287f46.5380.5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f65f5d61a822a1c2bc1537785ca24ac402960669c1a36099e028d0f0f4377ea
3
+ size 8773
runs/May27_08-05-48_1bbc57287f46/events.out.tfevents.1716797609.1bbc57287f46.5380.6 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48db0aee3b1891a0c8d829b3b3aea9e1148e367ba6a6b42b9395e0af83917654
3
+ size 560
runs/May27_08-17-02_1bbc57287f46/events.out.tfevents.1716797827.1bbc57287f46.5380.7 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fbb4efa2ccd280fc57546b5d28e9be9a275ea70964ee861ccc99451c2754a666
3
+ size 9195
runs/May27_08-17-02_1bbc57287f46/events.out.tfevents.1716799279.1bbc57287f46.5380.8 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:241529778a63dd76ba6382507a596b44dd192770195b063fcffafd35673cef56
3
+ size 560
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": true,
26
+ "normalized": true,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": true,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "</s>",
39
+ "lstrip": false,
40
+ "normalized": true,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": true,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": true,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "<s>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "<pad>",
14
+ "lstrip": false,
15
+ "normalized": true,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "</s>",
22
+ "lstrip": false,
23
+ "normalized": true,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "<unk>",
30
+ "lstrip": false,
31
+ "normalized": true,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "4": {
37
+ "content": "<mask>",
38
+ "lstrip": true,
39
+ "normalized": true,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ }
44
+ },
45
+ "bos_token": "<s>",
46
+ "clean_up_tokenization_spaces": true,
47
+ "cls_token": "<s>",
48
+ "eos_token": "</s>",
49
+ "errors": "replace",
50
+ "mask_token": "<mask>",
51
+ "max_len": 512,
52
+ "model_max_length": 512,
53
+ "pad_token": "<pad>",
54
+ "sep_token": "</s>",
55
+ "tokenizer_class": "RobertaTokenizer",
56
+ "trim_offsets": true,
57
+ "unk_token": "<unk>"
58
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d1004f8c4a3a781a7fbd3161a01919149eb57dcf614bcd6c79cf4b3dbac3305
3
+ size 5112
vocab.json ADDED
The diff for this file is too large to render. See raw diff