Daniel Gross (@danielgross) on X

X (formerly Twitter) ·

1 min read Original article ↗

user avatar

There is no server connection. Everything happens privately on your computer. In order to achieve fast latency locally, we use embeddings or a small fine-tuned model. Code is here: github.com/danielgross/te…

user avatar

The data is from Kaggle's quotes database, and the embeddings were computed using SentenceTransformer, which then runs locally on ASR. I also finetuned a small T5 model that sorta works (but goes crazy a lot).

user avatar

Stepping back, I think there is too much GPT-3 "one-shot" in the market now and too little hacking in depth. This demo repo is a bit of a joke but hopefully provides an example of a step in a more serious direction.

user avatar

Lastly, with M2 MacBooks Pros on the horizon and native Pytorch/metal support, on-device LLMs are a really interesting area of exploration... I hope more people have fun with it in the coming months.

user avatar

If you're having fun making an AI-native company, shoot me a note!