arnolfokam
commited on
Commit
•
45701e0
1
Parent(s):
7d51fe1
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-pcm")
|
66 |
-
model = AutoModelForTokenClassification.from_pretrained("mbert-base-uncased-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-pcm")
|
66 |
+
model = AutoModelForTokenClassification.from_pretrained("arnolfokam/mbert-base-uncased-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."
|