zai-org/webglm-qa
Viewer • Updated • 45k • 369 • 62
How to use Felladrin/onnx-Sheared-Pythia-160m-WebGLM-QA with Transformers.js:
// npm i @huggingface/transformers
import { pipeline } from '@huggingface/transformers';
// Allocate pipeline
const pipe = await pipeline('text-generation', 'Felladrin/onnx-Sheared-Pythia-160m-WebGLM-QA');INT8 ONNX version of Felladrin/Sheared-Pythia-160m-WebGLM-QA to use with Transformers.js.
Base model
princeton-nlp/Sheared-Pythia-160m