Lauler commited on
Commit
087b126
1 Parent(s): 8feda44

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -4
README.md CHANGED
@@ -46,8 +46,8 @@ A standard BERT base for Swedish trained on a variety of sources. Vocabulary siz
46
  ```python
47
  from transformers import AutoModel,AutoTokenizer
48
 
49
- tok = AutoTokenizer.from_pretrained('KB/bert-base-swedish-cased')
50
- model = AutoModel.from_pretrained('KB/bert-base-swedish-cased')
51
  ```
52
 
53
 
@@ -109,8 +109,8 @@ The easisest way to do this is, again, using Huggingface Transformers:
109
  ```python
110
  from transformers import AutoModel,AutoTokenizer
111
 
112
- tok = AutoTokenizer.from_pretrained('KB/albert-base-swedish-cased-alpha'),
113
- model = AutoModel.from_pretrained('KB/albert-base-swedish-cased-alpha')
114
  ```
115
 
116
  ## Acknowledgements ❤️
 
46
  ```python
47
  from transformers import AutoModel,AutoTokenizer
48
 
49
+ tok = AutoTokenizer.from_pretrained('KBLab/bert-base-swedish-cased')
50
+ model = AutoModel.from_pretrained('KBLab/bert-base-swedish-cased')
51
  ```
52
 
53
 
 
109
  ```python
110
  from transformers import AutoModel,AutoTokenizer
111
 
112
+ tok = AutoTokenizer.from_pretrained('KBLab/albert-base-swedish-cased-alpha'),
113
+ model = AutoModel.from_pretrained('KBLab/albert-base-swedish-cased-alpha')
114
  ```
115
 
116
  ## Acknowledgements ❤️