rcodina commited on
Commit
d99d922
·
verified ·
1 Parent(s): bb3549f

End of training

Browse files
README.md ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: projecte-aina/roberta-base-ca-v2
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - wiki_cat_ca
8
+ metrics:
9
+ - accuracy
10
+ - f1
11
+ model-index:
12
+ - name: activitat-finetuned-wikicat
13
+ results:
14
+ - task:
15
+ name: Text Classification
16
+ type: text-classification
17
+ dataset:
18
+ name: projecte-aina/WikiCAT_ca
19
+ type: wiki_cat_ca
20
+ config: wikiCAT_ca
21
+ split: validation
22
+ args: wikiCAT_ca
23
+ metrics:
24
+ - name: Accuracy
25
+ type: accuracy
26
+ value: 0.504
27
+ - name: F1
28
+ type: f1
29
+ value: 0.42287883344725447
30
+ ---
31
+
32
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
33
+ should probably proofread and complete it, then remove this comment. -->
34
+
35
+ # activitat-finetuned-wikicat
36
+
37
+ 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 projecte-aina/WikiCAT_ca dataset.
38
+ It achieves the following results on the evaluation set:
39
+ - Loss: 2.1061
40
+ - Accuracy: 0.504
41
+ - F1: 0.4229
42
+
43
+ ## Model description
44
+
45
+ More information needed
46
+
47
+ ## Intended uses & limitations
48
+
49
+ More information needed
50
+
51
+ ## Training and evaluation data
52
+
53
+ More information needed
54
+
55
+ ## Training procedure
56
+
57
+ ### Training hyperparameters
58
+
59
+ The following hyperparameters were used during training:
60
+ - learning_rate: 2e-05
61
+ - train_batch_size: 5
62
+ - eval_batch_size: 5
63
+ - seed: 42
64
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
65
+ - lr_scheduler_type: linear
66
+ - num_epochs: 2
67
+
68
+ ### Training results
69
+
70
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
71
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
72
+ | No log | 1.0 | 100 | 2.2088 | 0.392 | 0.2614 |
73
+ | No log | 2.0 | 200 | 2.1061 | 0.504 | 0.4229 |
74
+
75
+
76
+ ### Framework versions
77
+
78
+ - Transformers 4.38.2
79
+ - Pytorch 2.2.1+cu121
80
+ - Datasets 2.18.0
81
+ - Tokenizers 0.15.2
config.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "Ci\u00e8ncia_i_Tecnologia",
16
+ "1": "Dret",
17
+ "2": "Economia",
18
+ "3": "Enginyeria",
19
+ "4": "Entreteniment",
20
+ "5": "Esport",
21
+ "6": "Filosofia",
22
+ "7": "Hist\u00f2ria",
23
+ "8": "Humanitats",
24
+ "9": "Matem\u00e0tiques",
25
+ "10": "M\u00fasica",
26
+ "11": "Pol\u00edtica",
27
+ "12": "Religi\u00f3"
28
+ },
29
+ "initializer_range": 0.02,
30
+ "intermediate_size": 3072,
31
+ "label2id": {
32
+ "Ci\u00e8ncia_i_Tecnologia": 0,
33
+ "Dret": 1,
34
+ "Economia": 2,
35
+ "Enginyeria": 3,
36
+ "Entreteniment": 4,
37
+ "Esport": 5,
38
+ "Filosofia": 6,
39
+ "Hist\u00f2ria": 7,
40
+ "Humanitats": 8,
41
+ "Matem\u00e0tiques": 9,
42
+ "M\u00fasica": 10,
43
+ "Pol\u00edtica": 11,
44
+ "Religi\u00f3": 12
45
+ },
46
+ "layer_norm_eps": 1e-05,
47
+ "max_position_embeddings": 514,
48
+ "model_type": "roberta",
49
+ "num_attention_heads": 12,
50
+ "num_hidden_layers": 12,
51
+ "pad_token_id": 1,
52
+ "position_embedding_type": "absolute",
53
+ "problem_type": "single_label_classification",
54
+ "torch_dtype": "float32",
55
+ "transformers_version": "4.38.2",
56
+ "type_vocab_size": 1,
57
+ "use_cache": true,
58
+ "vocab_size": 50262
59
+ }
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:3e36fa375860a6fd47a75b067977e1510580a8f42ec467740c86fff2b4465da3
3
+ size 498637444
runs/Mar24_07-29-32_111eecf27792/events.out.tfevents.1711265411.111eecf27792.25102.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b34e57889553c05dfe307ca4423232819e3ab885f0e0a214dba922fc609e7f28
3
+ size 5402
runs/Mar24_07-29-32_111eecf27792/events.out.tfevents.1711266933.111eecf27792.25102.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a1307802c5ae16abf78708da17d258fb46ad9a456017f22e78f77a36aa6d816
3
+ size 6487
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:09a3b72a20690120cd7ea74b3cc01090a5a192dc4e86003bdc69c551f26e5a8b
3
+ size 4920
vocab.json ADDED
The diff for this file is too large to render. See raw diff