HackerTrans
トップ新着トレンドコメント過去質問紹介求人

maxbbraun

no profile record

投稿

Show HN: Llama Running on a Microcontroller

github.com
49 ポイント·投稿者 maxbbraun·3 年前·5 コメント

Search Wittgenstein's Tractatus with GPT-3 embeddings

wittgenstein.app
3 ポイント·投稿者 maxbbraun·3 年前·0 コメント

Philosophy is the theory of the nonsense of life

wittgenstein.app
1 ポイント·投稿者 maxbbraun·4 年前·1 コメント

[untitled]

1 ポイント·投稿者 maxbbraun·5 年前·0 コメント

Wittgenstein 2022

wittgenstein.app
3 ポイント·投稿者 maxbbraun·5 年前·0 コメント

Inside X’s Mission to Make Robots Boring

wired.com
2 ポイント·投稿者 maxbbraun·5 年前·0 コメント

コメント

maxbbraun
·3 年前·議論
Just to clarify: Inference is happening on the Arm Cortex-M7. The Coral TPU chip is off in this implementation.
maxbbraun
·3 年前·議論
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.
maxbbraun
·3 年前·議論
https://nytimes.ink
maxbbraun
·4 年前·議論
Photos are tricky, but you can make e-paper displays look nice if you embrace the constraints. For example: https://accent.ink