thomasdehaene
commited on
Commit
·
08cb518
1
Parent(s):
15a9f86
Update README.md
Browse files
README.md
CHANGED
@@ -43,9 +43,9 @@ The model predicts 3 different tags: `OTHER`, `CITY` and `COUNTRY`
|
|
43 |
```
|
44 |
from transformers import AutoTokenizer, AutoModelForTokenClassification
|
45 |
|
46 |
-
tokenizer = AutoTokenizer.from_pretrained("ml6team/bert-base-uncased-city-country-ner"
|
47 |
|
48 |
-
model = AutoModelForTokenClassification.from_pretrained("ml6team/bert-base-uncased-city-country-ner"
|
49 |
|
50 |
from transformers import pipeline
|
51 |
|
|
|
43 |
```
|
44 |
from transformers import AutoTokenizer, AutoModelForTokenClassification
|
45 |
|
46 |
+
tokenizer = AutoTokenizer.from_pretrained("ml6team/bert-base-uncased-city-country-ner")
|
47 |
|
48 |
+
model = AutoModelForTokenClassification.from_pretrained("ml6team/bert-base-uncased-city-country-ner")
|
49 |
|
50 |
from transformers import pipeline
|
51 |
|