How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("fill-mask", model="sshleifer/tiny-distilroberta-base")
# Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM

tokenizer = AutoTokenizer.from_pretrained("sshleifer/tiny-distilroberta-base")
model = AutoModelForMaskedLM.from_pretrained("sshleifer/tiny-distilroberta-base")
Quick Links

No model card

Downloads last month
10,723
Inference Providers NEW
Examples
Mask token: <mask>

Model tree for sshleifer/tiny-distilroberta-base

Finetunes
2 models

Space using sshleifer/tiny-distilroberta-base 1