Views
No views yet
AutoModelForTokenClassificationbert-base-multilingual-cased checkpoint fine-tuned on the Martinican Creole treebank for UPOS tagging. It takes tokenized text and predicts one of the 17 universal part-of-speech tags for each token.1from transformers import pipeline
2
3tagger = pipeline(
4 "token-classification",
5 model="lmompelat/mbert-martinican-pos-tagger",
6 tokenizer="lmompelat/mbert-martinican-pos-tagger"
7)
8
9example = "Mwen té ka alé an lékol."
10predictions = tagger(example)
11print(predictions)