arnolfokam
commited on
Commit
•
2c27932
1
Parent(s):
c6fc830
Update README.md
Browse files
README.md
CHANGED
@@ -63,7 +63,7 @@ from transformers import AutoTokenizer, AutoModelForTokenClassification
|
|
63 |
from transformers import pipeline
|
64 |
|
65 |
tokenizer = AutoTokenizer.from_pretrained("arnolfokam/mbert-base-uncased-ner-pcm")
|
66 |
-
model = AutoModelForTokenClassification.from_pretrained("mbert-base-uncased-ner-pcm")
|
67 |
|
68 |
nlp = pipeline("ner", model=model, tokenizer=tokenizer)
|
69 |
example = "Mixed Martial Arts joinbodi, Ultimate Fighting Championship, UFC don decide say dem go enta back di octagon on Saturday, 9 May, for Jacksonville, Florida."
|
|
|
63 |
from transformers import pipeline
|
64 |
|
65 |
tokenizer = AutoTokenizer.from_pretrained("arnolfokam/mbert-base-uncased-ner-pcm")
|
66 |
+
model = AutoModelForTokenClassification.from_pretrained("arnolfokam/mbert-base-uncased-ner-pcm")
|
67 |
|
68 |
nlp = pipeline("ner", model=model, tokenizer=tokenizer)
|
69 |
example = "Mixed Martial Arts joinbodi, Ultimate Fighting Championship, UFC don decide say dem go enta back di octagon on Saturday, 9 May, for Jacksonville, Florida."
|