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');
Commit History
-
Add/update the quantized ONNX model files and README.md for Transformers.js v3β
Verified signature## Applied Quantizations ### β Based on `decoder_model.onnx` *with* slimming β³ β `fp16`: `decoder_model_fp16.onnx` (added) β³ β `int8`: `decoder_model_int8.onnx` (added) β³ β `uint8`: `decoder_model_uint8.onnx` (added) β³ β `q4`: `decoder_model_q4.onnx` (added) β³ β `q4f16`: `decoder_model_q4f16.onnx` (added) β³ β `bnb4`: `decoder_model_bnb4.onnx` (added) ### β Based on `decoder_with_past_model.onnx` *with* slimming β³ β `fp16`: `decoder_with_past_model_fp16.onnx` (added) β³ β `int8`: `decoder_with_past_model_int8.onnx` (added) β³ β `uint8`: `decoder_with_past_model_uint8.onnx` (added) β³ β `q4`: `decoder_with_past_model_q4.onnx` (added) β³ β `q4f16`: `decoder_with_past_model_q4f16.onnx` (added) β³ β `bnb4`: `decoder_with_past_model_bnb4.onnx` (added) ### β Based on `decoder_model_merged.onnx` *with* slimming **The base model `decoder_model_merged.onnx` has been renamed to `model.onnx`.** ``` None ``` β³ β `fp16`: `` (added but JS-based E2E test failed) ``` [0;93m2025-08-29 07:17:35.684735β¦ed9213e
-
[Automated] Update base model metadataβ
Verified signatureSet base model to "bigcode/starcoderbase-1b"c1d88f6
-
Upload folder using huggingface_hub
d950ab2 -
Upload README.md with huggingface_hub
4dda2d6
-
Upload README.md with huggingface_hub
2f09545
-
Upload folder using huggingface_hub
6ed2264 -
Upload README.md with huggingface_hub
8ec62a7 -
Upload folder using huggingface_hub
c0632e8 -
Upload README.md with huggingface_hub
4cd0720 -
Upload README.md with huggingface_hub
6c6776c -
initial commit
36e1f29