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');
See https://github.com/huggingface/transformers.js/pull/1212 for more information.
· Sign up or log in to comment