serdarcaglar
commited on
Commit
·
adf9a85
1
Parent(s):
9353628
Update README.md
Browse files
README.md
CHANGED
@@ -44,10 +44,10 @@ The model is ready-to-use only for masked language modelling to perform the Fill
|
|
44 |
|
45 |
```python
|
46 |
from transformers import AutoTokenizer, AutoModelForMaskedLM
|
47 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
48 |
-
model = AutoModelForMaskedLM.from_pretrained("
|
49 |
from transformers import pipeline
|
50 |
-
unmasker = pipeline('fill-mask', model="
|
51 |
unmasker("El único antecedente personal a reseñar era la <mask> arterial.")
|
52 |
```
|
53 |
```
|
|
|
44 |
|
45 |
```python
|
46 |
from transformers import AutoTokenizer, AutoModelForMaskedLM
|
47 |
+
tokenizer = AutoTokenizer.from_pretrained("serdarcaglar/roberta-base-biomedical-es")
|
48 |
+
model = AutoModelForMaskedLM.from_pretrained("serdarcaglar/roberta-base-biomedical-es")
|
49 |
from transformers import pipeline
|
50 |
+
unmasker = pipeline('fill-mask', model="serdarcaglar/roberta-base-biomedical-es")
|
51 |
unmasker("El único antecedente personal a reseñar era la <mask> arterial.")
|
52 |
```
|
53 |
```
|