Experimenting with the proposed Cross-Origin Storage API in Transformers.js
What changed
Transformers.js provides Web developers with a simple way to use the power of transformers in their Web apps through task-specific pipelines. To run inference in the browser, developers create an instance of pipeline() and specify a task they want to use the pipeline for. As a concrete example, the following snippet shows how to set up an automatic speech recognition (ASR) pipeline.
Why it matters
A concrete addition to Practical AI: Tools, Models & Frameworks: it changes what's available to builders today rather than being general commentary.
How it compares
Related prior coverage to compare against:
- Transformers.js v4: Now Available on NPM!
- Introducing Agents.js: Give tools to your LLMs using JavaScript
- Introducing Storage Buckets on the Hugging Face Hub
Sources
- Experimenting with the proposed Cross-Origin Storage API in Transformers.js (huggingface-blog)primary