This is a GPT-2 model in Serbian (Cyrillic and Latin) for POS-tagging and dependency-parsing, derived from
gpt2-vrabac. Every word is tagged by
UPOS (Universal Part-Of-Speech) and
FEATS.
1from transformers import pipeline
2nlp=pipeline("upos","KoichiYasuoka/gpt2-small-serbian-upos",trust_remote_code=True,aggregation_strategy="simple")
1import esupar
2nlp=esupar.load("KoichiYasuoka/gpt2-small-serbian-upos")
esupar: Tokenizer POS-tagger and Dependency-parser with BERT/RoBERTa/DeBERTa/GPT models