Instructions to use nakamura196/roberta-small-hi-char with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nakamura196/roberta-small-hi-char with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="nakamura196/roberta-small-hi-char")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("nakamura196/roberta-small-hi-char") model = AutoModelForMaskedLM.from_pretrained("nakamura196/roberta-small-hi-char") - Notebooks
- Google Colab
- Kaggle
roberta-small-hi-char
Model Description
This is a RoBERTa model pre-trained on HI texts with character tokenizer.
How to Use
from transformers import AutoTokenizer,AutoModelForMaskedLM
tokenizer=AutoTokenizer.from_pretrained("nakamura196/roberta-small-hi-char")
model=AutoModelForMaskedLM.from_pretrained("nakamura196/roberta-small-hi-char")
- Downloads last month
- 13