Transformers.js provider for the Vercel AI SDK. Run popular open-source 🤗 Transformers models directly in the browser OR even server-side.
Installation
npm i @browser-ai/transformers-js
The @browser-ai/transformers-js package is the AI SDK provider for Transformers models powered by the official @huggingface/transformers library. It supports both client-side (browser) and server-side (Node.js) inference.
Documentation
For a complete documentation including examples, refer to this site.