Commit ·
249546d
1
Parent(s): 51afac9
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,10 +1,9 @@
|
|
| 1 |
-
---
|
| 2 |
-
language: "pt"
|
| 3 |
-
---
|
| 4 |
-
|
| 5 |
# CardioBERTpt - Portuguese Transformer-based Models for Clinical Language Representation in Cardiology
|
| 6 |
|
| 7 |
-
This model card describes CardioBERTpt, a clinical model trained on the cardiology domain for NER tasks in Portuguese.
|
|
|
|
|
|
|
|
|
|
| 8 |
|
| 9 |
## How to use the model
|
| 10 |
|
|
@@ -15,6 +14,24 @@ tokenizer = AutoTokenizer.from_pretrained("pucpr-br/cardiobertpt")
|
|
| 15 |
model = AutoModel.from_pretrained("pucpr-br/cardiobertpt")
|
| 16 |
```
|
| 17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
## More Information
|
| 19 |
|
| 20 |
Refer to the original paper, [CardioBERTpt - Portuguese Transformer-based Models for Clinical Language Representation in Cardiology](https://ieeexplore.ieee.org/document/10178779/) for additional details and performance on Portuguese NER tasks.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# CardioBERTpt - Portuguese Transformer-based Models for Clinical Language Representation in Cardiology
|
| 2 |
|
| 3 |
+
This model card describes CardioBERTpt, a clinical model trained on the cardiology domain for NER tasks in Portuguese. This model is a fine-tuned version of [bert-base-multilingual-cased](https://huggingface.co/bert-base-multilingual-cased) on a cardiology text dataset.
|
| 4 |
+
It achieves the following results on the evaluation set:
|
| 5 |
+
- Loss: 0.4495
|
| 6 |
+
- Accuracy: 0.8864
|
| 7 |
|
| 8 |
## How to use the model
|
| 9 |
|
|
|
|
| 14 |
model = AutoModel.from_pretrained("pucpr-br/cardiobertpt")
|
| 15 |
```
|
| 16 |
|
| 17 |
+
## Training hyperparameters
|
| 18 |
+
|
| 19 |
+
The following hyperparameters were used during training:
|
| 20 |
+
- learning_rate: 1e-05
|
| 21 |
+
- train_batch_size: 4
|
| 22 |
+
- eval_batch_size: 4
|
| 23 |
+
- seed: 42
|
| 24 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 25 |
+
- lr_scheduler_type: linear
|
| 26 |
+
- num_epochs: 15.0
|
| 27 |
+
|
| 28 |
+
## Framework versions
|
| 29 |
+
|
| 30 |
+
- Transformers 4.17.0.dev0
|
| 31 |
+
- Pytorch 1.8.0
|
| 32 |
+
- Datasets 1.18.3
|
| 33 |
+
- Tokenizers 0.11.0
|
| 34 |
+
|
| 35 |
## More Information
|
| 36 |
|
| 37 |
Refer to the original paper, [CardioBERTpt - Portuguese Transformer-based Models for Clinical Language Representation in Cardiology](https://ieeexplore.ieee.org/document/10178779/) for additional details and performance on Portuguese NER tasks.
|