mmarimon commited on
Commit
f04b02b
1 Parent(s): 29f0e8b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +0 -5
README.md CHANGED
@@ -48,15 +48,10 @@ The model is ready-to-use only for masked language modelling to perform the Fill
48
 
49
  ```python
50
  from transformers import AutoTokenizer, AutoModelForMaskedLM
51
-
52
  tokenizer = AutoTokenizer.from_pretrained("BSC-TeMU/roberta-base-biomedical-es")
53
-
54
  model = AutoModelForMaskedLM.from_pretrained("BSC-TeMU/roberta-base-biomedical-es")
55
-
56
  from transformers import pipeline
57
-
58
  unmasker = pipeline('fill-mask', model="BSC-TeMU/roberta-base-biomedical-es")
59
-
60
  unmasker("El único antecedente personal a reseñar era la <mask> arterial.")
61
  ```
62
  ```
 
48
 
49
  ```python
50
  from transformers import AutoTokenizer, AutoModelForMaskedLM
 
51
  tokenizer = AutoTokenizer.from_pretrained("BSC-TeMU/roberta-base-biomedical-es")
 
52
  model = AutoModelForMaskedLM.from_pretrained("BSC-TeMU/roberta-base-biomedical-es")
 
53
  from transformers import pipeline
 
54
  unmasker = pipeline('fill-mask', model="BSC-TeMU/roberta-base-biomedical-es")
 
55
  unmasker("El único antecedente personal a reseñar era la <mask> arterial.")
56
  ```
57
  ```