Instructions to use sshleifer/tiny-distilroberta-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sshleifer/tiny-distilroberta-base with Transformers:
# 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") - Inference
- Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#1
by SFconvertbot - opened
- model.safetensors +0 -0
model.safetensors
ADDED
|
Binary file (612 kB). View file
|
|
|