🤷 Nico Martin (@nicodotdev) header
🤷 Nico Martin (@nicodotdev) profile picture

Building Transformers.js at 🤗 @huggingface // @GoogleDevExpert for #WebTechnologies and #AI

Thun, Switzerland
Joined April 2015
Photo by 🤷 Nico Martin (@nicodotdev)Photo by 🤷 Nico Martin (@nicodotdev)Photo by 🤷 Nico Martin (@nicodotdev)Photo by 🤷 Nico Martin (@nicodotdev)Photo by 🤷 Nico Martin (@nicodotdev)Photo by 🤷 Nico Martin (@nicodotdev)Photo by 🤷 Nico Martin (@nicodotdev)Photo by 🤷 Nico Martin (@nicodotdev)Photo by 🤷 Nico Martin (@nicodotdev)Photo by 🤷 Nico Martin (@nicodotdev)
Had a great time talking at the #WebAI Summit 🚀 Talks are always more fun when you can share numbers like this: Transformers.js went from 1.64M monthly npm downloads at last year's summit to ~15M today. 9x in a year. Thanks to everyone building with it 🤗
1
10
336
Speaking at @codetalkshh in Hamburg next week! Nov 4, 15:00, main stage: “Boring but Effective: WebAI That Ships” ML that isn’t a chatbot: embeddings, speech recognition, background removal. All in the browser with Transformers.js + WebGPU, fully offline
1
10
367
👉 codetalks.com/agenda?view=ti… As a little gift you get 50% off your ticket with CT50-FINALCALL, valid until the event with no usage limit.
1
115
I did a Trailer for it in *ONE* prompt😅: "Create a new video with remotion. It shoud be a hollywood-like trailer/making off of the reel-video/. You will find some assets and the generated video in assets/making-off/. Make it epic!"
2
63
Turns out I’m not obsolete yet 😅 Nico: 1 Opus 5.5: 0
1
5
553
Exciting week ahead: flying to the Bay Area on Wednesday for WebAI Summit! It's a short trip, just three days, so if you want to grab a coffee, drop me a DM 😊
1
10
709
I'm sooooo soo happy to see the first snow in the mountains😍
3
35
730
I turned structured output into a game 🎮 The LLM scores the next tokens. You pick one. The constraints decide if it’s allowed. Most likely ≠ valid. Even a capital letter can lose you points. Watch the demo. Play it yourself below 👇
3
14
462
New York, here I come! 🗽 On Nov 16 I'm speaking at JSNation US about multimodal AI agents that see, hear and remember, all running entirely in your browser.
Voice, vision and memory, all running in the browser. No backend, no API keys 🙌 @nicodotdev, Machine Learning Engineer at @huggingface, shows how WebGPU and WebAssembly make real-time AI agents possible on the open web. Join us at JSNation US 👇 jsnation.us/
2
12
310
More Ternary Bonsai 2 models from @PrismML just dropped: 2B, 4B, 9B, 27B 🌱 Hundreds of tok/s on consumer hardware, fully in the browser with custom WebGPU kernels. At ~1.8 bits/weight the 2B is just 430MB. Local agentic AI is getting wild 🤯
Today has been one of the biggest days for open-source AI this year... and it keeps getting better. @PrismML just released more Ternary Bonsai 2 models on Hugging Face: now in 2B, 4B, 9B, and 27B. The 2B reaches up to 500 tok/s on my M4 Max ENTIRELY in the browser with custom WebGPU kernels... that's insane! 🤯 At ~1.8 bits per weight, the language-model weights are just 430MB for 2B and 950MB for 4B (plus ~365MB for the 8-bit vision weights). The future of local agentic AI is going to be wild. Try out the demo yourself 👇
1
11
624
Next week I'll be at F{AI}R, an AI unconference in Liebefeld, Bern 🇨🇭 The best part of unconferences: the schedule is built together on the spot, and the best moments usually happen over coffee, not on stage.
4
11
531
I'll bring some input on running AI directly in the browser, but mostly I’m looking forward to the conversations. Got a topic? Submit a session. Entry is free. fair.siliconlovefield.ch/sch…
2
87
The prompt says what we want. The constraints define what’s allowed. Token Arcade lets you step through that distinction yourself: probabilities, token choices, rejected continuations, and explanations. Code: github.com/nico-martin/token…
44
Multimodal similarity search in the browser❤️!
NEW: EmbeddingGemma 2 just released on Hugging Face. Project text, images, video, and audio into a single, unified embedding space. At just 740M parameters, it can even run 100% locally in your browser on WebGPU with 🤗 Transformers.js! Try it yourself 👇
2
1
14
1,324
🤷 Nico Martin retweeted
AI that runs in your browser, on your hardware, without calling the cloud? That’s not boring. That’s pretty handy. In “Boring but Effective: WebAI That Ships,” Nico Martin shows how small open models can handle useful tasks right in the browser - from semantic search to speech recognition and background removal. No API key, no cloud subscription, no giant download. Just WebAI that’s ready to get to work. @nicodotdev is a Machine Learning Engineer focused on WebML at Hugging Face, and a Google Developer Expert in AI and Web Technologies. He makes it easier for web developers to bring machine learning into the browser - and shares what he learns through workshops, articles and talks. 🟡 Catch the replay: youtube.com/watch?v=WfojGcUb…
1
1
167