update model card README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
tags:
|
| 4 |
+
- generated_from_trainer
|
| 5 |
+
metrics:
|
| 6 |
+
- precision
|
| 7 |
+
- recall
|
| 8 |
+
- f1
|
| 9 |
+
- accuracy
|
| 10 |
+
model-index:
|
| 11 |
+
- name: BERT_ep7_lr4
|
| 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 |
+
# BERT_ep7_lr4
|
| 19 |
+
|
| 20 |
+
This model is a fine-tuned version of [ajtamayoh/NER_EHR_Spanish_model_Mulitlingual_BERT](https://huggingface.co/ajtamayoh/NER_EHR_Spanish_model_Mulitlingual_BERT) on the None dataset.
|
| 21 |
+
It achieves the following results on the evaluation set:
|
| 22 |
+
- Loss: 0.1921
|
| 23 |
+
- Precision: 0.6693
|
| 24 |
+
- Recall: 0.7023
|
| 25 |
+
- F1: 0.6854
|
| 26 |
+
- Accuracy: 0.9474
|
| 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: 5e-08
|
| 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: 7
|
| 52 |
+
|
| 53 |
+
### Training results
|
| 54 |
+
|
| 55 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
| 56 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
| 57 |
+
| No log | 1.0 | 467 | 0.2637 | 0.6599 | 0.6468 | 0.6533 | 0.9429 |
|
| 58 |
+
| 0.2761 | 2.0 | 934 | 0.2367 | 0.6611 | 0.6683 | 0.6647 | 0.9440 |
|
| 59 |
+
| 0.2405 | 3.0 | 1401 | 0.2181 | 0.6579 | 0.6814 | 0.6694 | 0.9452 |
|
| 60 |
+
| 0.2172 | 4.0 | 1868 | 0.2057 | 0.6656 | 0.6928 | 0.6789 | 0.9462 |
|
| 61 |
+
| 0.2004 | 5.0 | 2335 | 0.1978 | 0.6698 | 0.6999 | 0.6845 | 0.9470 |
|
| 62 |
+
| 0.1935 | 6.0 | 2802 | 0.1934 | 0.6701 | 0.7020 | 0.6857 | 0.9473 |
|
| 63 |
+
| 0.1947 | 7.0 | 3269 | 0.1921 | 0.6693 | 0.7023 | 0.6854 | 0.9474 |
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
### Framework versions
|
| 67 |
+
|
| 68 |
+
- Transformers 4.27.3
|
| 69 |
+
- Pytorch 1.13.1+cu116
|
| 70 |
+
- Datasets 2.10.1
|
| 71 |
+
- Tokenizers 0.13.2
|