How to use moeadham/TinySwallow-1.5B-Instruct-ONNX with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-generation', 'moeadham/TinySwallow-1.5B-Instruct-ONNX');