arnolfokam
commited on
Commit
•
5cfa0dd
1
Parent(s):
aa02c2d
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/bert-base-uncased-pcm")
|
66 |
-
model = AutoModelForTokenClassification.from_pretrained("bert-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/bert-base-uncased-pcm")
|
66 |
+
model = AutoModelForTokenClassification.from_pretrained("arnolfokam/bert-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."
|