End of training
Browse files- README.md +80 -0
- config.json +70 -0
- merges.txt +0 -0
- model.safetensors +3 -0
- runs/May31_12-39-35_79f7b5ce56c8/events.out.tfevents.1717159199.79f7b5ce56c8.7876.0 +3 -0
- runs/May31_12-49-00_79f7b5ce56c8/events.out.tfevents.1717159747.79f7b5ce56c8.12094.0 +3 -0
- runs/May31_12-49-30_79f7b5ce56c8/events.out.tfevents.1717159771.79f7b5ce56c8.12094.1 +3 -0
- special_tokens_map.json +51 -0
- tokenizer.json +0 -0
- tokenizer_config.json +58 -0
- training_args.bin +3 -0
- vocab.json +0 -0
README.md
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: manucos/final-ft__roberta-base-biomedical-clinical-es__70k-ultrasounds
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- precision
|
8 |
+
- recall
|
9 |
+
- f1
|
10 |
+
- accuracy
|
11 |
+
model-index:
|
12 |
+
- name: final-ft__roberta-base-biomedical-clinical-es__70k-ultrasounds-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 |
+
# final-ft__roberta-base-biomedical-clinical-es__70k-ultrasounds-ner
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [manucos/final-ft__roberta-base-biomedical-clinical-es__70k-ultrasounds](https://huggingface.co/manucos/final-ft__roberta-base-biomedical-clinical-es__70k-ultrasounds) on the None dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.3564
|
24 |
+
- Precision: 0.8743
|
25 |
+
- Recall: 0.8963
|
26 |
+
- F1: 0.8851
|
27 |
+
- Accuracy: 0.9405
|
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.2918 | 0.8036 | 0.8548 | 0.8284 | 0.9271 |
|
59 |
+
| 0.3032 | 2.0 | 560 | 0.2601 | 0.8136 | 0.8859 | 0.8482 | 0.9346 |
|
60 |
+
| 0.3032 | 3.0 | 840 | 0.2412 | 0.8573 | 0.8815 | 0.8692 | 0.9366 |
|
61 |
+
| 0.1275 | 4.0 | 1120 | 0.2480 | 0.8487 | 0.8978 | 0.8726 | 0.9425 |
|
62 |
+
| 0.1275 | 5.0 | 1400 | 0.2934 | 0.8457 | 0.8933 | 0.8689 | 0.9335 |
|
63 |
+
| 0.0739 | 6.0 | 1680 | 0.2979 | 0.8660 | 0.9096 | 0.8873 | 0.9408 |
|
64 |
+
| 0.0739 | 7.0 | 1960 | 0.3159 | 0.8651 | 0.8933 | 0.8790 | 0.9338 |
|
65 |
+
| 0.042 | 8.0 | 2240 | 0.3255 | 0.8669 | 0.8874 | 0.8770 | 0.9374 |
|
66 |
+
| 0.0308 | 9.0 | 2520 | 0.3467 | 0.8541 | 0.8933 | 0.8733 | 0.9391 |
|
67 |
+
| 0.0308 | 10.0 | 2800 | 0.3228 | 0.8651 | 0.8933 | 0.8790 | 0.9383 |
|
68 |
+
| 0.024 | 11.0 | 3080 | 0.3498 | 0.8699 | 0.8919 | 0.8808 | 0.9346 |
|
69 |
+
| 0.024 | 12.0 | 3360 | 0.3465 | 0.8792 | 0.8948 | 0.8869 | 0.9419 |
|
70 |
+
| 0.019 | 13.0 | 3640 | 0.3596 | 0.8705 | 0.8963 | 0.8832 | 0.9363 |
|
71 |
+
| 0.019 | 14.0 | 3920 | 0.3557 | 0.8693 | 0.8963 | 0.8826 | 0.9386 |
|
72 |
+
| 0.0157 | 15.0 | 4200 | 0.3564 | 0.8743 | 0.8963 | 0.8851 | 0.9405 |
|
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": "manucos/final-ft__roberta-base-biomedical-clinical-es__70k-ultrasounds",
|
3 |
+
"architectures": [
|
4 |
+
"RobertaForTokenClassification"
|
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": "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": 52000
|
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:aef33851ea4d31914c7957e3e7c52f8c0b1da893fddfddd02f2ac38ce49067c3
|
3 |
+
size 501632452
|
runs/May31_12-39-35_79f7b5ce56c8/events.out.tfevents.1717159199.79f7b5ce56c8.7876.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:84f13bc7991fa848414cc5aaf5b6085b62f63f995515a4b5bb25cdd255059c47
|
3 |
+
size 6099
|
runs/May31_12-49-00_79f7b5ce56c8/events.out.tfevents.1717159747.79f7b5ce56c8.12094.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:27e0b411db27e829efcbae96b4602f0132bf0e5b730254788734e3007a02b05b
|
3 |
+
size 6099
|
runs/May31_12-49-30_79f7b5ce56c8/events.out.tfevents.1717159771.79f7b5ce56c8.12094.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1812b58ea035a25581f10a474ddc5510a8a8187ba1cccfe7a8357fc28c3eb259
|
3 |
+
size 15221
|
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 |
+
"51999": {
|
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:d3487e6b5a2ad251bc60ee52ffe579728d6e9ab7c220425a0cd2cfdb53199492
|
3 |
+
size 5240
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|