Gabriel commited on
Commit
de0f5ae
1 Parent(s): b19070a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -20,7 +20,7 @@ train-eval-index:
20
  text: text
21
 
22
  model-index:
23
- - name: bert-base-cased-swe-1800
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-1800")
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
  ```