LLM
Collection
5 items • Updated
How to use BricksDisplay/phi-1_5-bnb4 with Transformers.js:
// npm i @huggingface/transformers
import { pipeline } from '@huggingface/transformers';
// Allocate pipeline
const pipe = await pipeline('text-generation', 'BricksDisplay/phi-1_5-bnb4');Convert from microsoft/phi-1_5 and BNB 4 bits quantized.
Require onnxruntime>=0.17.0