How Transformers.js Works: AI Models in JavaScript, Explained

From the creator

00:00 Intro 01:16 Machine Learning 03:11 ONNX 04:04 Quantization 05:15 The core Library 06:56 Pipeline API 10:26 Pipe 13:06 Wrap-up Transformers.js brings state-of-the-art machine learning to JavaScriprt. In this intro, I explain the mental model behind Transformers.js: tensors, neural networks, ONNX, quantization, model loading, preprocessing, postprocessing, and the pipeline() API. We also look at what happens under the hood for text-generation and depth-estimation, and why one high-level API can support many different AI tasks. Links: Full documentation: https://huggingface.co/docs/transformers.js/index GitHub: https://github.com/huggingface/transformers.js Demos in this video: https://huggingface.co/spaces/webml-community/GPT-OSS-WebGPU https://huggingface.co/spaces/webml-community/whisper-large-v3-turbo-webgpu https://huggingface.co/spaces/webml-community/remove-background-webgpu

Stop watching · start building
Matched to Automate a Workflow

Makers residency 4th edition

Your idea can be anything. At our last workshops, people built plant-based nutrition businesses, a way to measure planetary resilience, crochet headwear and a way to connect lonely people living in the same building. An asset manager went on to raise an additional £25M on their fund within nine months. The fourth workshop is a full day at KOKO with Nick Sarafa, learning to build with Claude Code. Bring the thing you keep meaning to start. We’ll bring the pizza.

◆ Fri 13 Nov 2026 ◆ KOKO, London
Makers residency 4th edition
Live event
Makers residency 4th edition
Fri 13 Nov 2026

More like this

Running one yourself?

List your AI event,
wherever it is.

A meetup, a workshop, a hackathon, a conference. Any city, or online. Tell us about it and it lands in front of people already learning this stuff.