Summarizing with Transformers.js / / No Comments Earlier this month I took my first look at using Transformers.js, a JavaScript SDK around multiple different models hosted by Hugging Face. My initial experiments worked pretty OK I think. The sentiment analysis felt pretty good, and the object detection (with a cat demo of course), worked pretty good as well. I was curious how well summarization would work, and while I’m not quite as impressed as I was before, I thought I’d share what I found. (And it’s 100% possible I’m not tweaking the right knobs to get better results, so if you see a way to improve my results, leave me a comment!) A Basic Test If you remember from the first post, usage can be fairly simple. Import... more → Posted in: JavaScript Tagged with: Summarizing, Transformers.js
Using Transformers.js for AI in the Browser / / No Comments Two weeks ago I had the pleasure of attending, and speaking at, connect.tech. One of the cooler presentations I saw was from Danielle Maxwell where she discussed usingAI in the browser and introduced me to Transformers.js. I’d heard of this before, but wasn’t quite aware of how easy it was to use. While this isn’t necessarily going to replace a "real" GenAI server, it does feel compelling enough to something to consider. As my readers know, I’ve been playing with Chrome’s attempt to bake this in as well, and while that’s not quite ready for real use yet, Transformers.js feels like something you could play with right now. How to get started? Using... more → Posted in: JavaScript Tagged with: browser, Transformers.js, using