Instructions to use Xenova/distilroberta-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Xenova/distilroberta-base with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('fill-mask', 'Xenova/distilroberta-base');
Download tokenizer.json from Xenova/distilroberta-base: direct link, hf CLI and curl.
- Browser
- Download file 2.11 MB
-
https://huggingface.co/Xenova/distilroberta-base/resolve/main/tokenizer.json
- Command line
-
hf download hf://Xenova/distilroberta-base/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/Xenova/distilroberta-base/resolve/main/tokenizer.json
2.11 MB
File too large to display, you can check the raw version instead.