← all repositories

huggingface/transformers.js-examples

A collection of demos running Hugging Face Transformers.js ML models (LLMs, segmentation, semantic search) directly in the browser using WebGPU.

transformers.js-examples
Velocity · 7d
+3.1
★ / day
Trend
steady
star history

This repository contains example applications demonstrating how to use the Transformers.js JavaScript library to run various machine learning models in the browser. It includes examples for conversational LLMs (Phi-3.5, Llama-3.2, SmolLM), image segmentation (Segment Anything, Sapiens), background removal, and semantic search. All demos leverage WebGPU for client-side inference without server dependencies.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.