Better HN
topnewbestaskshowjobs
Log inSign up

maxbbraun

34 karma · joined Jan 30, 2016 (10y ago) · 17 submissions

Submissions

comment 3y ago · link · parent

Just to clarify: Inference is happening on the Arm Cortex-M7. The Coral TPU chip is off in this implementation.

comment 3y ago · link · parent

I was wondering if it's possible to fit a non-trivial language model on a microcontroller. Turns out the answer is some version of yes!

This project is using the Coral Dev Board Micro with its FreeRTOS toolchain. The board has a number of neat hardware features not currently being used here (notably a TPU, sensors, and a second CPU core). It does, however, also have 64MB of RAM. That's tiny for LLMs, which are typically measured in the GBs, but comparatively huge for a microcontroller.

The LLM implementation itself is an adaptation of llama2.c and the tinyllamas checkpoints trained on the TinyStories dataset. The quality of the smaller model versions isn't ideal, but good enough to generate somewhat coherent (and occasionally weird) stories.

3.

Show HN: Llama Running on a Microcontroller(github.com ↗)

49 points · by maxbbraun · 3y ago · 5 comments

comment 3y ago · link · parent

https://nytimes.ink

5.

Search Wittgenstein's Tractatus with GPT-3 embeddings(wittgenstein.app ↗)

3 points · by maxbbraun · 3y ago · discuss

comment 3y ago · link · parent

Photos are tricky, but you can make e-paper displays look nice if you embrace the constraints. For example: https://accent.ink

7.

Philosophy is the theory of the nonsense of life(wittgenstein.app ↗)

1 points · by maxbbraun · 4y ago · 1 comment

8.

Wittgenstein 2022(wittgenstein.app ↗)

3 points · by maxbbraun · 4y ago · discuss

9.

Inside X’s Mission to Make Robots Boring(wired.com ↗)

2 points · by maxbbraun · 5y ago · discuss

10.

Let's Make More Calm Technology(medium.com ↗)

1 points · by maxbbraun · 7y ago · discuss

11.

Smarter Mirrors and How They’re Made(medium.com ↗)

2 points · by maxbbraun · 8y ago · discuss

12.

This Machine Turns Trump Tweets into Planned Parenthood Donations(medium.com ↗)

4 points · by maxbbraun · 9y ago · 2 comments

comment 10y ago · link · parent

That's exactly what I focused on. :) I picked a very thin display panel and then hid it between the door and the glass. I'll probably post some more behind-the-scenes pictures of that.

14.

My Bathroom Mirror Is Smarter Than Yours(medium.com ↗)

5 points · by maxbbraun · 10y ago · 2 comments