Might be a significant issue if more applications adopt these kind of festures and can’t share the resources in a meaningful way.
Comment on Mozilla Firefox new alt-text generator powered by "fully private on-device AI model"
Kissaki@beehaw.org 6 months ago
So, planned experimentation and availabiltiy
- PDF editor when adding an image in Firefox 130
- PDF reading
- [hopefully] general web browsing
Sounds like a good plan.
Once quantized, these models can be under 200MB on disk, and run in a couple of seconds on a laptop – a big reduction compared to the gigabytes and resources an LLM requires.
While a reasonable size for Laptop and desktop, the couple of seconds time could still be a bit of a hindrance. Nevertheless, a significant unblock for blind/text users.
I wonder what it would mean for mobile. If it’s an optional accessibility feature, and with today’s smartphones storage space I think it can work well though.
They list 5 positives about using local models. On a blog targeting developers, I would wish if not expect them to list the downsides and weighing of the two sides too. As it is, it’s promotional material, not honest, open, fully informing descriptions.
While they go into technical details about the architecture and technical implementation, I think the negatives are noteworthy, and the weighing could be insightful for readers.
So every time an image is added, we get an array of pixels we pass to the ML engine
An array of pixels doesn’t make sense to me. Images can have different widths, so linear data with varying sectioning content would be awful for training.
I have to assume this was a technical simplification or unintended wording mistake for the article.
pheet@sopuli.xyz 6 months ago
grrgyle@slrpnk.net 6 months ago
I imagine it’s a 2D array? So width would be captured by uhh like
a[N].len
.It could be I’m misunderstanding you, because not not sure what you mean by:
Kissaki@beehaw.org 6 months ago
Looking at Wikipedia on arrays, I think I’m just not used to array as terminology for multi-dimensional data structures. TIL