I'm working on something pretty exciting๐ฅฐ
Posts by ๐คท Nico Martin
Install it with one command:
npx skills add github.com/huggingface/... --skill transformers-js
github.com/huggingface/skills
Getting started with AI in the browser has never been easier ๐ค
Today we're releasing the Transformers.js #AgentSkill, your shortcut to running ML models in the browser.
It provides all the information your coding agent needs to add on-device AI to your web app.
TranslateGemma 4B by Google now runs 100% in your browser on WebGPU with Transformers.js v4.
55 languages. No server. No data leaks. Works offline.
A 4B parameter translation powerhouse, right in your browser.
Try the demo ๐
The lineup is going to be fantastic, and almost all of the speakers have been announced (but not all of them yet ๐). Get your tickets now!
uphillconf.com/tickets/
Exciting news: this year I'm joining the organizing team of @uphillconf for the first time! ๐
For the past two years, I've had the opportunity to give a talk, and each time it was a fantastic experience. That's why I decided to actively participate in the planning this year๐
That would be like hammering in a screw with a hammer and then complaining about how bad the hammer is.
I've seen several posts lately that share some edge cases in AI conversations where the AI makes mistakes. Of course, this is to show how bad AI still is.
AI is a tool. If it produces incorrect or unusable results, it is not the tool that is at blame, but the person who is using it incorrectly..
Read everything about the release in our blogpost.
huggingface.co/blog/transfo...
And please try it out, we'd love to hear your thoughts!
๐ค Transformers.js v4 preview is now available!
npm i @huggingface/transformers@next
And its huuuuge! I don't think a single line of code remained untouched๐.
New build system, monorepo structure, and tons of new features!
I have no idea what you're talking about. Those are clearly very happy, well-lit plants. In the event of contradictory statements, I reserve the right to take legal action..
We rearranged our apartment a bit and I had to move my office. A good time for some new paint and a few new plants๐ฅฐ.
I fully agree with DHH on this: "pure vibe coding remains an aspirational dream for professional work for me, for now. Supervised collaboration, though, is here today."
world.hey.com/dhh/promotin...
The lesson: AI coding tools work best when you establish clear structure upfront. The time you invest in architecture pays dividends in maintainability and makes AI assistance more effective, not less.
Fintrack, on the other hand, is a joy to work with. It has a robust foundation and architecture that makes it easy for both me AND the AI agent to know where features belong and how to reuse existing logic.
Components bloat, there's no clear structure for sharing logic or components, and the codebase becomes increasingly fragile.
For Pumpel, I ran a pure conversation experiment: How far could I get without even looking at the code? And yes, it works. But I don't like it. Worse, adding new features through prompting gets progressively harder.
I approached each project with different levels of "vibe coding."
For Fintrack, I wrote most code myself or carefully reviewed every line. I wanted to understand exactly where data is stored and how it flows through the system (for obvious reasons ๐
).
All three started as spreadsheets I'd been using for months or years. Now they have proper UIs and additional features.
Why the upgrade? AI made it possible ๐ฅฐ
But here's what I learned:
Over the Christmas holidays, I built three apps to replace my Google Sheets workflows:
- ๐๐ถ๐ป๐๐ฟ๐ฎ๐ฐ๐ธ: A budget tracker that imports bank transactions and allows us to categorize them
- ๐ฃ๐๐บ๐ฝ๐ฒ๐น: A gym tracker
- ๐๐ฎ๐ฏ๐ถ๐๐: A daily habit tracker
Mountains are unpredictable, and accidents happen even to the very best. My thoughts are with his wife and children..
When I was younger, I often went freeriding. Skiing in deep powder is one of the best feelings there is. But when our first child was born, I gave away my powder skis and never went in deep powder again.
Definitely not an easy post to write.
A friend of mine died in an avalanche a few days ago. He was a professional snowboarder who knew the mountains intimately.
๐ Transformers.js v4 update: We've migrated from webpack to esbuild.
Results:
- Build time: 2s โ <200ms (10x faster)
- Bundle size: 10-50% smaller
Sometimes it's not about new features. It's about building a more robust architecture that makes everything else possible๐ฅ.
github.com/huggingface/...
However, this also means that if the session token is stolen, the attacker has a long window of opportunity to exploit it.
With passkeys, I can easily limit the lifetime of a session token to a few hours, as reauthentication is quick and easy.
Usually, a session token is created when you log in. This session token has a certain validity period. This can be an hour, a week, a month, etc. Normally, you would choose the longest possible period so that the user does not have to log in again and again.
Happy new year๐พ
Passkeys aren't just more secure because of the tech, but also because of UX. Normally I would max out session tokens to avoid typing email/pw. Now with passkeys? Login is one click. Reauthenticate every time? Absolutely no problem..