Instructions to use klue/roberta-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use klue/roberta-small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="klue/roberta-small")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("klue/roberta-small") model = AutoModelForMaskedLM.from_pretrained("klue/roberta-small", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Add Neuron-optimized model files (#2)
Jihyung Moon +1: badaouiVerified signature- Add Neuron-optimized model files (4fdb0a5ceb6fe5f8ddfaf4c5931236cbb72f64e8) Co-authored-by: ABDENNACER BADAOUI <badaoui@users.noreply.huggingface.co>b6b4c36
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (6b25476c9ec23be088ff2296c9e5a19abcdf6bd5) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>5fe1f0c
-
initial commit
ac28c0f