Using Transformers.js for AI in the Browser
December 16, 2024
Using Transformers.js makes use of what they call a ‘pipeline’ API. You will import the general API into your code and then select a pipeline based on your use case. The docs list a set of tasks that covers things like:General question answering on textSummarizingTranslationImage classification and detectionAudio classification
We’re very excited for Machine Learning and Generative AI in the browser, so much so we’re hosting an online conference in 2025 on the topic!
Transformers.js is one of the most straightforward paths to working with these technologies, and here Raymond Camden gives a good introduction to get you up and running.