zlacker

[parent] [thread] 7 comments
1. simonw+(OP)[view] [source] 2024-06-23 14:59:26
> 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?

replies(3): >>chazeo+W1 >>binwie+92 >>erk__+sp
2. chazeo+W1[view] [source] 2024-06-23 15:14:01
>>simonw+(OP)
As 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.
replies(1): >>yreg+Hw2
3. binwie+92[view] [source] 2024-06-23 15:15:57
>>simonw+(OP)
In the video he shows that the font file size is 290GB, so I would assume that's a little prohibitive.
replies(2): >>codeze+C2 >>azeira+13
◧◩
4. codeze+C2[view] [source] [discussion] 2024-06-23 15:21:32
>>binwie+92
That’s only for a 70B param LLM. The one he includes is 15M params and weighs about 60MB. Not tiny, but doable.
replies(1): >>bandra+Md1
◧◩
5. azeira+13[view] [source] [discussion] 2024-06-23 15:25:40
>>binwie+92
That'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

6. erk__+sp[view] [source] 2024-06-23 18:33:54
>>simonw+(OP)
The wasm shaper is an experimental feature that is not enabled in any browser at the moment.
◧◩◪
7. bandra+Md1[view] [source] [discussion] 2024-06-24 04:17:26
>>codeze+C2
That's smaller than Noto
◧◩
8. yreg+Hw2[view] [source] [discussion] 2024-06-24 15:58:19
>>chazeo+W1
The 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.

[go to top]