Commit
·
bfaea97
1
Parent(s):
f514872
Update README.md
Browse files
README.md
CHANGED
|
@@ -8,4 +8,19 @@ tags:
|
|
| 8 |
- danish
|
| 9 |
widget:
|
| 10 |
- text: pt. har [MASK] i højre arm.
|
| 11 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
- danish
|
| 9 |
widget:
|
| 10 |
- text: pt. har [MASK] i højre arm.
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
# Danish medical BERT
|
| 15 |
+
|
| 16 |
+
The development of the model is described in the paper:
|
| 17 |
+
|
| 18 |
+
Here is an example on how to load Danish BERT in PyTorch using the [🤗Transformers](https://github.com/huggingface/transformers) library:
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
```python
|
| 23 |
+
from transformers import AutoTokenizer, AutoModelForPreTraining
|
| 24 |
+
tokenizer = AutoTokenizer.from_pretrained("jannikskytt/MeDa-Bert")
|
| 25 |
+
model = AutoModelForMaskedLM.from_pretrained("jannikskytt/MeDa-Bert")
|
| 26 |
+
```
|