Views
No views yet
1from transformers import pipeline 2nlp=pipeline("upos","KoichiYasuoka/gpt2-small-japanese-wikipedia-juman-upos",trust_remote_code=True,aggregation_strategy="simple") 3print(nlp("国境の長いトンネルを抜けると雪国であった。"))