Update README.md
Browse files
README.md
CHANGED
@@ -20,7 +20,7 @@ train-eval-index:
|
|
20 |
text: text
|
21 |
|
22 |
model-index:
|
23 |
-
- name: bert-base-cased-swe-
|
24 |
results:
|
25 |
- task:
|
26 |
type: fill-mask
|
@@ -49,7 +49,7 @@ Inference for fill-mask with Huggingface Transformers in python:
|
|
49 |
```python
|
50 |
from transformers import pipeline
|
51 |
|
52 |
-
summarizer = pipeline("fill-mask", model="Riksarkivet/bert-base-cased-swe-
|
53 |
historical_text = """Det vore [MASK] häller nödvändigt att bita af tungan än berättat hvad jag varit med om."""
|
54 |
print(summarizer(historical_text))
|
55 |
```
|
|
|
20 |
text: text
|
21 |
|
22 |
model-index:
|
23 |
+
- name: bert-base-cased-swe-historical
|
24 |
results:
|
25 |
- task:
|
26 |
type: fill-mask
|
|
|
49 |
```python
|
50 |
from transformers import pipeline
|
51 |
|
52 |
+
summarizer = pipeline("fill-mask", model="Riksarkivet/bert-base-cased-swe-historical")
|
53 |
historical_text = """Det vore [MASK] häller nödvändigt att bita af tungan än berättat hvad jag varit med om."""
|
54 |
print(summarizer(historical_text))
|
55 |
```
|