Update README.md
Browse files
README.md
CHANGED
@@ -81,8 +81,8 @@ Use the code below to get started with the model.
|
|
81 |
from transformers import AutoTokenizer, AutoModelForTokenClassification
|
82 |
from transformers import pipeline
|
83 |
|
84 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
85 |
-
model = AutoModelForTokenClassification.from_pretrained("
|
86 |
|
87 |
nlp = pipeline("ner", model=model, tokenizer=tokenizer)
|
88 |
example = "Plan a trip from W Broad Street Columbus to Hazel Street Louisville Kentucky USA on Sunday at 5 o Clock"
|
|
|
81 |
from transformers import AutoTokenizer, AutoModelForTokenClassification
|
82 |
from transformers import pipeline
|
83 |
|
84 |
+
tokenizer = AutoTokenizer.from_pretrained("sarveshsk/bert_base_uncase_Conll2012")
|
85 |
+
model = AutoModelForTokenClassification.from_pretrained("sarveshsk/bert_base_uncase_Conll2012")
|
86 |
|
87 |
nlp = pipeline("ner", model=model, tokenizer=tokenizer)
|
88 |
example = "Plan a trip from W Broad Street Columbus to Hazel Street Louisville Kentucky USA on Sunday at 5 o Clock"
|