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