manucos commited on
Commit
c06af3b
1 Parent(s): 17e76e2

End of training

Browse files
README.md ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: plncmm/beto-clinical-wl-es
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - precision
7
+ - recall
8
+ - f1
9
+ - accuracy
10
+ model-index:
11
+ - name: beto-clinical-wl-es-ner
12
+ results: []
13
+ ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ # beto-clinical-wl-es-ner
19
+
20
+ This model is a fine-tuned version of [plncmm/beto-clinical-wl-es](https://huggingface.co/plncmm/beto-clinical-wl-es) on the None dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 0.3299
23
+ - Precision: 0.8665
24
+ - Recall: 0.9037
25
+ - F1: 0.8847
26
+ - Accuracy: 0.9418
27
+
28
+ ## Model description
29
+
30
+ More information needed
31
+
32
+ ## Intended uses & limitations
33
+
34
+ More information needed
35
+
36
+ ## Training and evaluation data
37
+
38
+ More information needed
39
+
40
+ ## Training procedure
41
+
42
+ ### Training hyperparameters
43
+
44
+ The following hyperparameters were used during training:
45
+ - learning_rate: 2e-05
46
+ - train_batch_size: 8
47
+ - eval_batch_size: 8
48
+ - seed: 42
49
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
50
+ - lr_scheduler_type: linear
51
+ - num_epochs: 15
52
+
53
+ ### Training results
54
+
55
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
56
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
57
+ | No log | 1.0 | 280 | 0.2544 | 0.8328 | 0.8489 | 0.8408 | 0.9247 |
58
+ | 0.3847 | 2.0 | 560 | 0.2645 | 0.8170 | 0.8667 | 0.8411 | 0.9236 |
59
+ | 0.3847 | 3.0 | 840 | 0.2372 | 0.8512 | 0.8726 | 0.8617 | 0.9338 |
60
+ | 0.1056 | 4.0 | 1120 | 0.2749 | 0.8403 | 0.8963 | 0.8674 | 0.9327 |
61
+ | 0.1056 | 5.0 | 1400 | 0.2895 | 0.8557 | 0.9052 | 0.8798 | 0.9354 |
62
+ | 0.057 | 6.0 | 1680 | 0.2630 | 0.8707 | 0.9081 | 0.8891 | 0.9408 |
63
+ | 0.057 | 7.0 | 1960 | 0.2759 | 0.8614 | 0.9022 | 0.8813 | 0.9418 |
64
+ | 0.031 | 8.0 | 2240 | 0.3099 | 0.8689 | 0.9037 | 0.8860 | 0.9408 |
65
+ | 0.0222 | 9.0 | 2520 | 0.3506 | 0.8597 | 0.9081 | 0.8833 | 0.9386 |
66
+ | 0.0222 | 10.0 | 2800 | 0.2962 | 0.8693 | 0.8963 | 0.8826 | 0.9421 |
67
+ | 0.0169 | 11.0 | 3080 | 0.3218 | 0.8709 | 0.8993 | 0.8848 | 0.9432 |
68
+ | 0.0169 | 12.0 | 3360 | 0.3459 | 0.8672 | 0.9096 | 0.8879 | 0.9400 |
69
+ | 0.0134 | 13.0 | 3640 | 0.3299 | 0.8661 | 0.9007 | 0.8831 | 0.9413 |
70
+ | 0.0134 | 14.0 | 3920 | 0.3318 | 0.8707 | 0.9081 | 0.8891 | 0.9429 |
71
+ | 0.0126 | 15.0 | 4200 | 0.3299 | 0.8665 | 0.9037 | 0.8847 | 0.9418 |
72
+
73
+
74
+ ### Framework versions
75
+
76
+ - Transformers 4.41.1
77
+ - Pytorch 2.3.0+cu121
78
+ - Datasets 2.19.1
79
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "plncmm/beto-clinical-wl-es",
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "O",
14
+ "1": "B-Anatomical_Entity",
15
+ "10": "I-Location",
16
+ "11": "B-Type_of_measure",
17
+ "12": "I-Type_of_measure",
18
+ "13": "B-Measure",
19
+ "14": "I-Measure",
20
+ "15": "B-Degree",
21
+ "16": "I-Degree",
22
+ "17": "B-ConditionalTemporal",
23
+ "18": "I-ConditionalTemporal",
24
+ "2": "I-Anatomical_Entity",
25
+ "3": "B-Finding",
26
+ "4": "I-Finding",
27
+ "5": "B-Uncertainty",
28
+ "6": "I-Uncertainty",
29
+ "7": "B-Negation",
30
+ "8": "I-Negation",
31
+ "9": "B-Location"
32
+ },
33
+ "initializer_range": 0.02,
34
+ "intermediate_size": 3072,
35
+ "label2id": {
36
+ "B-Anatomical_Entity": "1",
37
+ "B-ConditionalTemporal": "17",
38
+ "B-Degree": "15",
39
+ "B-Finding": "3",
40
+ "B-Location": "9",
41
+ "B-Measure": "13",
42
+ "B-Negation": "7",
43
+ "B-Type_of_measure": "11",
44
+ "B-Uncertainty": "5",
45
+ "I-Anatomical_Entity": "2",
46
+ "I-ConditionalTemporal": "18",
47
+ "I-Degree": "16",
48
+ "I-Finding": "4",
49
+ "I-Location": "10",
50
+ "I-Measure": "14",
51
+ "I-Negation": "8",
52
+ "I-Type_of_measure": "12",
53
+ "I-Uncertainty": "6",
54
+ "O": "0"
55
+ },
56
+ "layer_norm_eps": 1e-12,
57
+ "max_position_embeddings": 512,
58
+ "model_type": "bert",
59
+ "num_attention_heads": 12,
60
+ "num_hidden_layers": 12,
61
+ "output_past": true,
62
+ "pad_token_id": 1,
63
+ "position_embedding_type": "absolute",
64
+ "torch_dtype": "float32",
65
+ "transformers_version": "4.41.1",
66
+ "type_vocab_size": 2,
67
+ "use_cache": true,
68
+ "vocab_size": 31002
69
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b47a745a538a5fdd5c6e81ac4d20289a8cdbe0b0f2bd426260ceabc9972d49d8
3
+ size 437122940
runs/Jun02_18-43-24_167d16a24718/events.out.tfevents.1717353804.167d16a24718.192.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d74ff59c5cc443d522c53bd08b84aef047e0d26310303b007db9a4896be9193c
3
+ size 15023
special_tokens_map.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "[UNK]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[MASK]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "[PAD]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "3": {
20
+ "content": "[UNK]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "4": {
28
+ "content": "[CLS]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "5": {
36
+ "content": "[SEP]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 512,
50
+ "never_split": null,
51
+ "pad_token": "[PAD]",
52
+ "sep_token": "[SEP]",
53
+ "strip_accents": false,
54
+ "tokenize_chinese_chars": true,
55
+ "tokenizer_class": "BertTokenizer",
56
+ "unk_token": "[UNK]"
57
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6fab90a7365de3bd2112220227deaae43e258f6fe00fef5fbb5a20d78b43f0d6
3
+ size 5112
vocab.txt ADDED
The diff for this file is too large to render. See raw diff