manucos commited on
Commit
4d519fd
1 Parent(s): af50d48

End of training

Browse files
README.md ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: PlanTL-GOB-ES/roberta-base-bne
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - precision
8
+ - recall
9
+ - f1
10
+ - accuracy
11
+ model-index:
12
+ - name: roberta-base-bne-ner
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
+ # roberta-base-bne-ner
20
+
21
+ This model is a fine-tuned version of [PlanTL-GOB-ES/roberta-base-bne](https://huggingface.co/PlanTL-GOB-ES/roberta-base-bne) on the None dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.3159
24
+ - Precision: 0.8517
25
+ - Recall: 0.8933
26
+ - F1: 0.8720
27
+ - Accuracy: 0.9384
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: 2e-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
+ - num_epochs: 15
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
57
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
58
+ | No log | 1.0 | 280 | 0.3006 | 0.7961 | 0.8563 | 0.8251 | 0.9164 |
59
+ | 0.4008 | 2.0 | 560 | 0.2984 | 0.7918 | 0.8622 | 0.8255 | 0.9203 |
60
+ | 0.4008 | 3.0 | 840 | 0.2324 | 0.8401 | 0.8563 | 0.8481 | 0.9343 |
61
+ | 0.1014 | 4.0 | 1120 | 0.2394 | 0.8242 | 0.8889 | 0.8553 | 0.9414 |
62
+ | 0.1014 | 5.0 | 1400 | 0.2674 | 0.8469 | 0.8933 | 0.8695 | 0.9371 |
63
+ | 0.0435 | 6.0 | 1680 | 0.2815 | 0.8255 | 0.8830 | 0.8533 | 0.9375 |
64
+ | 0.0435 | 7.0 | 1960 | 0.2713 | 0.8516 | 0.8844 | 0.8677 | 0.9444 |
65
+ | 0.0233 | 8.0 | 2240 | 0.2745 | 0.8541 | 0.8933 | 0.8733 | 0.9437 |
66
+ | 0.0177 | 9.0 | 2520 | 0.3383 | 0.8336 | 0.8978 | 0.8645 | 0.9350 |
67
+ | 0.0177 | 10.0 | 2800 | 0.2858 | 0.8606 | 0.8963 | 0.8781 | 0.9419 |
68
+ | 0.013 | 11.0 | 3080 | 0.2956 | 0.8350 | 0.8919 | 0.8625 | 0.9403 |
69
+ | 0.013 | 12.0 | 3360 | 0.3097 | 0.8423 | 0.9022 | 0.8712 | 0.9380 |
70
+ | 0.0104 | 13.0 | 3640 | 0.3158 | 0.8443 | 0.8919 | 0.8674 | 0.9380 |
71
+ | 0.0104 | 14.0 | 3920 | 0.3171 | 0.8493 | 0.8933 | 0.8708 | 0.9387 |
72
+ | 0.0088 | 15.0 | 4200 | 0.3159 | 0.8517 | 0.8933 | 0.8720 | 0.9384 |
73
+
74
+
75
+ ### Framework versions
76
+
77
+ - Transformers 4.41.1
78
+ - Pytorch 2.3.0+cu121
79
+ - Datasets 2.19.1
80
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "PlanTL-GOB-ES/roberta-base-bne",
3
+ "architectures": [
4
+ "RobertaForTokenClassification"
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": "O",
16
+ "1": "B-Anatomical_Entity",
17
+ "10": "I-Location",
18
+ "11": "B-Type_of_measure",
19
+ "12": "I-Type_of_measure",
20
+ "13": "B-Measure",
21
+ "14": "I-Measure",
22
+ "15": "B-Degree",
23
+ "16": "I-Degree",
24
+ "17": "B-ConditionalTemporal",
25
+ "18": "I-ConditionalTemporal",
26
+ "2": "I-Anatomical_Entity",
27
+ "3": "B-Finding",
28
+ "4": "I-Finding",
29
+ "5": "B-Uncertainty",
30
+ "6": "I-Uncertainty",
31
+ "7": "B-Negation",
32
+ "8": "I-Negation",
33
+ "9": "B-Location"
34
+ },
35
+ "initializer_range": 0.02,
36
+ "intermediate_size": 3072,
37
+ "label2id": {
38
+ "B-Anatomical_Entity": "1",
39
+ "B-ConditionalTemporal": "17",
40
+ "B-Degree": "15",
41
+ "B-Finding": "3",
42
+ "B-Location": "9",
43
+ "B-Measure": "13",
44
+ "B-Negation": "7",
45
+ "B-Type_of_measure": "11",
46
+ "B-Uncertainty": "5",
47
+ "I-Anatomical_Entity": "2",
48
+ "I-ConditionalTemporal": "18",
49
+ "I-Degree": "16",
50
+ "I-Finding": "4",
51
+ "I-Location": "10",
52
+ "I-Measure": "14",
53
+ "I-Negation": "8",
54
+ "I-Type_of_measure": "12",
55
+ "I-Uncertainty": "6",
56
+ "O": "0"
57
+ },
58
+ "layer_norm_eps": 1e-05,
59
+ "max_position_embeddings": 514,
60
+ "model_type": "roberta",
61
+ "num_attention_heads": 12,
62
+ "num_hidden_layers": 12,
63
+ "pad_token_id": 1,
64
+ "position_embedding_type": "absolute",
65
+ "torch_dtype": "float32",
66
+ "transformers_version": "4.41.1",
67
+ "type_vocab_size": 1,
68
+ "use_cache": true,
69
+ "vocab_size": 50262
70
+ }
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:5f755c66834fd6a3734c3dccb392446dc2b656692cceb048e2629a7593a71d8a
3
+ size 496293316
runs/Jun02_15-05-59_361dc8c7bd60/events.out.tfevents.1717340759.361dc8c7bd60.680.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:47b85aa9cb1dcf447bf1b79f207e2f4f92dd2c7b9680f9bc9c99ad062ef5931c
3
+ size 15015
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:0c703def3ce2e09cf9feedd1ba611685ad6b99c9d9d66414e79909af56b3d8a0
3
+ size 5112
vocab.json ADDED
The diff for this file is too large to render. See raw diff