arnolfokam
commited on
Commit
•
74c3c92
1
Parent(s):
568d417
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/roberta-base-pcm")
|
66 |
-
model = AutoModelForTokenClassification.from_pretrained("roberta-base-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/roberta-base-pcm")
|
66 |
+
model = AutoModelForTokenClassification.from_pretrained("arnolfokam/roberta-base-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."
|