4 ms·
> The font shaping engine Harfbuzz, used in applications such as Firefox and Chrome, comes with a Wasm shaper allowing arbitrary code to be used to "shape" text
by simonw 2y ago
> The font shaping engine Harfbuzz, used in applications such as Firefox and Chrome, comes with a Wasm shaper allowing arbitrary code to be used to "shape" text.
In that case could you ship a live demo of this that's a web page with the font embedded in the page as a web font, such that Chrome and Firefox users can try it out without installing anything else?
- chazeon 2y agoAs shown in the video, the font is 280 GB, so opening such a page will practically be a nightmare, especially if you are on cellular.
- yreg 2y agoThe font is 60MB. > Usage: Just download llama.ttf (60 MB download, since it's based on the 15M parameter TinyStories-based model demoed above) and use it like you would any other font.
- binwiederhier 2y agoIn the video he shows that the font file size is 290GB, so I would assume that's a little prohibitive.
- codezero 2y agoThat’s only for a 70B param LLM. The one he includes is 15M params and weighs about 60MB. Not tiny, but doable.
- bandrami 2y agoThat's smaller than Noto
- azeirah 2y agoThat's LLaMa-3-70B. The demo he gives at 6:09 is tinystories-15m, which is 30.4MB, so you'd only have to add the font to that (80~KB?) https://huggingface.co/nickypro/tinyllama-15M/tree/main https://huggingface.co/nickypro/tinyllama-15M/tree/main
- erk__ 2y agoThe wasm shaper is an experimental feature that is not enabled in any browser at the moment.