Instructions to use KoichiYasuoka/roberta-small-japanese-aozora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KoichiYasuoka/roberta-small-japanese-aozora with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="KoichiYasuoka/roberta-small-japanese-aozora")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("KoichiYasuoka/roberta-small-japanese-aozora") model = AutoModelForMaskedLM.from_pretrained("KoichiYasuoka/roberta-small-japanese-aozora") - Notebooks
- Google Colab
- Kaggle
roberta-small-japanese-aozora
Model Description
This is a RoBERTa model pre-trained on 青空文庫 texts with Japanese-LUW-Tokenizer. You can fine-tune roberta-small-japanese-aozora for downstream tasks, such as POS-tagging, dependency-parsing, and so on.
How to Use
from transformers import AutoTokenizer,AutoModelForMaskedLM
tokenizer=AutoTokenizer.from_pretrained("KoichiYasuoka/roberta-small-japanese-aozora")
model=AutoModelForMaskedLM.from_pretrained("KoichiYasuoka/roberta-small-japanese-aozora")
- Downloads last month
- 6