Uploaded May 2026 | Updated November 2026, 6 days ago
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:
huggingface.co/docs/transformers.js/index
GitHub:
github.com/huggingface/transformers.js
Demos in this video:
huggingface.co/spaces/webml-community/GPT-OSS-WebGPU
huggingface.co/spaces/webml-community/whisper-large-v3-turbo-webgpu
huggingface.co/spaces/webml-community/remove-background-webgpu
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:
huggingface.co/docs/transformers.js/index
GitHub:
github.com/huggingface/transformers.js
Demos in this video:
huggingface.co/spaces/webml-community/GPT-OSS-WebGPU
huggingface.co/spaces/webml-community/whisper-large-v3-turbo-webgpu
huggingface.co/spaces/webml-community/remove-background-webgpu










