Let’s be bear or bunny
1st May 2023
The Machine Learning Compilation group (MLC) are my favourite team of AI researchers at the moment.
In less than two months they’ve released:
- Web Stable Diffusion—the full Stable Diffusion image generation model running entirely in a browser, after a 2GB download, powered by WebGPU. Try it here using Chrome Canary.
- Web LLM which pulls off the same trick but for vicuna-7b-v1, a genuinely useful LLaMA-derived ChatGPT-style Large Language Model! I wrote more about that in Web LLM runs the vicuna-7b Large Language Model entirely in your browser, and it’s very impressive.
And then a few days ago they released MLC LLM—“a universal solution that allows any language model to be deployed natively on a diverse set of hardware backends and native applications”.
As part of that release, they put up a TestFlight preview of an iPhone app that runs the LLM model locally on your phone. It needs 4GB of RAM just for the application, so a iPhone 12 Pro or later should work.
I’ve been running it on my phone. It totally works!
(This is actually the second LLM I’ve been able to run on my phone—I previously also tried Sheepy-T which runs the apparently less capable GPT-J.)
Since I’ve been writing online for more than twenty years I often try an ego search first, to see if the weird bundle of binary floating point numbers has picked up anything about me. Here’s what I got from the MLC LLM on my phone.
I could feel the back of my phone heating up as it slowly calculated all of those tokens!
Honestly, this is wildly better than I expected. I’m from the UK (but based in California since 2014). I wouldn’t call myself an “organizer” and while I care deeply about accessibility I’m not sure I’d credit myself as an outspoken advocate, but I’ve definitely advocated for web standards in the past.
But what on earth is that “Let’s be bear or bunny” pattern?
So I asked:
I think this is my favourite AI hallucination yet!
Here’s that definition, which I’m going to claim is co-written by myself and my hard working iPhone:
The “Let’s be bear or bunny” pattern is a way of looking at situations and problems in a certain way. It is a way of approaching a problem or situation with a sense of playfulness and lightheartedness, while still being able to think critically and analytically.
It is also a way of embracing the unexpected and being open to new possibilities. This pattern is often associated with the concept of “go with the flow” or “roll with the punches” in the face of challenges and difficulties. It encourages an attitude of relaxation and ease in the face of obstacles and difficulties
Honestly, I kind of love this. I’ve been trying out saying “Let’s be bear or bunny that!” at home. Natalie has hinted that this may have already played itself out, but I disagree.
More recent articles
- Weeknotes: the Datasette Cloud API, a podcast appearance and more - 1st October 2023
- Things I've learned about building CLI tools in Python - 30th September 2023
- Talking Large Language Models with Rooftop Ruby - 29th September 2023
- Weeknotes: Embeddings, more embeddings and Datasette Cloud - 17th September 2023
- Build an image search engine with llm-clip, chat with models with llm chat - 12th September 2023
- LLM now provides tools for working with embeddings - 4th September 2023
- Datasette 1.0a4 and 1.0a5, plus weeknotes - 30th August 2023
- Making Large Language Models work for you - 27th August 2023
- Datasette Cloud, Datasette 1.0a3, llm-mlc and more - 16th August 2023
- How I make annotated presentations - 6th August 2023