Rodrigo1771
commited on
Commit
•
734f37d
1
Parent(s):
e074d04
Model save
Browse files- README.md +51 -13
- model.safetensors +1 -1
- train.log +10 -0
README.md
CHANGED
@@ -2,13 +2,39 @@
|
|
2 |
license: apache-2.0
|
3 |
base_model: PlanTL-GOB-ES/bsc-bio-ehr-es
|
4 |
tags:
|
5 |
-
- token-classification
|
6 |
- generated_from_trainer
|
7 |
datasets:
|
8 |
-
-
|
|
|
|
|
|
|
|
|
|
|
9 |
model-index:
|
10 |
- name: output
|
11 |
-
results:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
---
|
13 |
|
14 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -16,17 +42,13 @@ should probably proofread and complete it, then remove this comment. -->
|
|
16 |
|
17 |
# output
|
18 |
|
19 |
-
This model is a fine-tuned version of [PlanTL-GOB-ES/bsc-bio-ehr-es](https://huggingface.co/PlanTL-GOB-ES/bsc-bio-ehr-es) on the
|
20 |
It achieves the following results on the evaluation set:
|
21 |
-
-
|
22 |
-
-
|
23 |
-
-
|
24 |
-
-
|
25 |
-
-
|
26 |
-
- eval_runtime: 16.9354
|
27 |
-
- eval_samples_per_second: 401.939
|
28 |
-
- eval_steps_per_second: 50.25
|
29 |
-
- step: 0
|
30 |
|
31 |
## Model description
|
32 |
|
@@ -55,6 +77,22 @@ The following hyperparameters were used during training:
|
|
55 |
- lr_scheduler_type: linear
|
56 |
- num_epochs: 10.0
|
57 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
### Framework versions
|
59 |
|
60 |
- Transformers 4.40.2
|
|
|
2 |
license: apache-2.0
|
3 |
base_model: PlanTL-GOB-ES/bsc-bio-ehr-es
|
4 |
tags:
|
|
|
5 |
- generated_from_trainer
|
6 |
datasets:
|
7 |
+
- multi-train-distemist-dev-ner
|
8 |
+
metrics:
|
9 |
+
- precision
|
10 |
+
- recall
|
11 |
+
- f1
|
12 |
+
- accuracy
|
13 |
model-index:
|
14 |
- name: output
|
15 |
+
results:
|
16 |
+
- task:
|
17 |
+
name: Token Classification
|
18 |
+
type: token-classification
|
19 |
+
dataset:
|
20 |
+
name: multi-train-distemist-dev-ner
|
21 |
+
type: multi-train-distemist-dev-ner
|
22 |
+
config: MultiTrainDisTEMISTDevNER
|
23 |
+
split: validation
|
24 |
+
args: MultiTrainDisTEMISTDevNER
|
25 |
+
metrics:
|
26 |
+
- name: Precision
|
27 |
+
type: precision
|
28 |
+
value: 0.3145413870246085
|
29 |
+
- name: Recall
|
30 |
+
type: recall
|
31 |
+
value: 0.8224145999064109
|
32 |
+
- name: F1
|
33 |
+
type: f1
|
34 |
+
value: 0.45504563402161957
|
35 |
+
- name: Accuracy
|
36 |
+
type: accuracy
|
37 |
+
value: 0.8526409018818958
|
38 |
---
|
39 |
|
40 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
42 |
|
43 |
# output
|
44 |
|
45 |
+
This model is a fine-tuned version of [PlanTL-GOB-ES/bsc-bio-ehr-es](https://huggingface.co/PlanTL-GOB-ES/bsc-bio-ehr-es) on the multi-train-distemist-dev-ner dataset.
|
46 |
It achieves the following results on the evaluation set:
|
47 |
+
- Loss: 1.1188
|
48 |
+
- Precision: 0.3145
|
49 |
+
- Recall: 0.8224
|
50 |
+
- F1: 0.4550
|
51 |
+
- Accuracy: 0.8526
|
|
|
|
|
|
|
|
|
52 |
|
53 |
## Model description
|
54 |
|
|
|
77 |
- lr_scheduler_type: linear
|
78 |
- num_epochs: 10.0
|
79 |
|
80 |
+
### Training results
|
81 |
+
|
82 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
83 |
+
|:-------------:|:------:|:-----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
84 |
+
| 0.2596 | 0.9997 | 1701 | 0.4319 | 0.2617 | 0.7866 | 0.3927 | 0.8359 |
|
85 |
+
| 0.1853 | 2.0 | 3403 | 0.3841 | 0.3142 | 0.7829 | 0.4485 | 0.8645 |
|
86 |
+
| 0.1254 | 2.9997 | 5104 | 0.6410 | 0.3055 | 0.8088 | 0.4435 | 0.8436 |
|
87 |
+
| 0.0823 | 4.0 | 6806 | 0.7242 | 0.2964 | 0.8074 | 0.4336 | 0.8436 |
|
88 |
+
| 0.0597 | 4.9997 | 8507 | 0.7756 | 0.3133 | 0.7948 | 0.4495 | 0.8502 |
|
89 |
+
| 0.0446 | 6.0 | 10209 | 0.8561 | 0.3137 | 0.8037 | 0.4513 | 0.8483 |
|
90 |
+
| 0.0325 | 6.9997 | 11910 | 0.9499 | 0.3214 | 0.8278 | 0.4631 | 0.8560 |
|
91 |
+
| 0.022 | 8.0 | 13612 | 1.0452 | 0.3129 | 0.8222 | 0.4533 | 0.8510 |
|
92 |
+
| 0.017 | 8.9997 | 15313 | 1.1025 | 0.3133 | 0.8180 | 0.4531 | 0.8524 |
|
93 |
+
| 0.0135 | 9.9971 | 17010 | 1.1188 | 0.3145 | 0.8224 | 0.4550 | 0.8526 |
|
94 |
+
|
95 |
+
|
96 |
### Framework versions
|
97 |
|
98 |
- Transformers 4.40.2
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 496262556
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b365380c816f8752742eecc6b07b7e1bbabadcc327738bcebf63b984484dcd2e
|
3 |
size 496262556
|
train.log
CHANGED
@@ -1630,3 +1630,13 @@ Training completed. Do not forget to share your model on huggingface.co/models =
|
|
1630 |
[INFO|trainer.py:2521] 2024-05-13 12:31:23,201 >> Loading best model from /content/dissertation/scripts/ner/output/checkpoint-11910 (score: 0.46305870034683594).
|
1631 |
|
1632 |
|
1633 |
[INFO|trainer.py:4035] 2024-05-13 12:31:23,414 >> Waiting for the current checkpoint push to be finished, this might take a couple of minutes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1630 |
[INFO|trainer.py:2521] 2024-05-13 12:31:23,201 >> Loading best model from /content/dissertation/scripts/ner/output/checkpoint-11910 (score: 0.46305870034683594).
|
1631 |
|
1632 |
|
1633 |
[INFO|trainer.py:4035] 2024-05-13 12:31:23,414 >> Waiting for the current checkpoint push to be finished, this might take a couple of minutes.
|
1634 |
+
[INFO|trainer.py:3305] 2024-05-13 12:32:21,076 >> Saving model checkpoint to /content/dissertation/scripts/ner/output
|
1635 |
+
[INFO|configuration_utils.py:471] 2024-05-13 12:32:21,078 >> Configuration saved in /content/dissertation/scripts/ner/output/config.json
|
1636 |
+
[INFO|modeling_utils.py:2590] 2024-05-13 12:32:22,291 >> Model weights saved in /content/dissertation/scripts/ner/output/model.safetensors
|
1637 |
+
[INFO|tokenization_utils_base.py:2488] 2024-05-13 12:32:22,292 >> tokenizer config file saved in /content/dissertation/scripts/ner/output/tokenizer_config.json
|
1638 |
+
[INFO|tokenization_utils_base.py:2497] 2024-05-13 12:32:22,293 >> Special tokens file saved in /content/dissertation/scripts/ner/output/special_tokens_map.json
|
1639 |
+
[INFO|trainer.py:3305] 2024-05-13 12:32:22,344 >> Saving model checkpoint to /content/dissertation/scripts/ner/output
|
1640 |
+
[INFO|configuration_utils.py:471] 2024-05-13 12:32:22,345 >> Configuration saved in /content/dissertation/scripts/ner/output/config.json
|
1641 |
+
[INFO|modeling_utils.py:2590] 2024-05-13 12:32:23,238 >> Model weights saved in /content/dissertation/scripts/ner/output/model.safetensors
|
1642 |
+
[INFO|tokenization_utils_base.py:2488] 2024-05-13 12:32:23,239 >> tokenizer config file saved in /content/dissertation/scripts/ner/output/tokenizer_config.json
|
1643 |
+
[INFO|tokenization_utils_base.py:2497] 2024-05-13 12:32:23,239 >> Special tokens file saved in /content/dissertation/scripts/ner/output/special_tokens_map.json
|