Instructions to use DioLiu/distilroberta-base-Ctrl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DioLiu/distilroberta-base-Ctrl with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="DioLiu/distilroberta-base-Ctrl")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("DioLiu/distilroberta-base-Ctrl") model = AutoModelForMaskedLM.from_pretrained("DioLiu/distilroberta-base-Ctrl", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from DioLiu/distilroberta-base-Ctrl: direct link, hf CLI and curl.
- Browser
- Download file 329 MB
-
https://huggingface.co/DioLiu/distilroberta-base-Ctrl/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://DioLiu/distilroberta-base-Ctrl/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/DioLiu/distilroberta-base-Ctrl/resolve/main/pytorch_model.bin
329 MB
- Xet hash:
- e961b20821579c239aaa3b7f575c201dfa7ca3120a7cf11fee5f8add751b937b
- Size of remote file:
- 329 MB
- SHA256:
- 7076a40b9fb7baddc7451257dc412c4864b59d867ac518558f9472ad46e96728
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.