Downloads · 30 days
121
38% of all-time downloads
KoichiYasuoka/gpt2-medium-japanese-unidic-upos
gpt2-medium-japanese-unidic-upos is a token classification model from KoichiYasuoka. Use it when you need labels on individual words, such as names. The card lists the license as cc-by-sa-4.0.
This is a GPT-2 model for POS-tagging, derived from japanese-gpt2-medium-unidic. Every short-unit-word is tagged by UPOS (Universal Part-Of-Speech) and FEATS.
Downloads · 30 days
121
38% of all-time downloads
All-time downloads
316
Public
Repo size
1.3 GB
Likes
0
Public
Click a slice to open those files.
.bin1.3 GB · 100%
From the Hugging Face model README
This is a GPT-2 model for POS-tagging, derived from japanese-gpt2-medium-unidic. Every short-unit-word is tagged by UPOS (Universal Part-Of-Speech) and FEATS.
from transformers import pipeline
nlp=pipeline("upos","KoichiYasuoka/gpt2-medium-japanese-unidic-upos",trust_remote_code=True,aggregation_strategy="simple")
print(nlp("国境の長いトンネルを抜けると雪国であった。"))
fugashi and unidic-lite are required.