Hacker Newsnew | past | comments | ask | show | jobs | submit | 1wheel's commentslogin

2015 was about the last year you could get away with publishing an interactive graphic with a fixed width — this made it harder do really creative/original work.


https://visxai.io/ has a bunch more too — see the Hall of Fame section at the bottom for some of the highlights.

I also made a dozen of these a couple years ago, my two favorites:

- https://pair.withgoogle.com/explorables/fill-in-the-blank/

- https://pair.withgoogle.com/explorables/grokking/


It can be! Here's a circuit showing how the model processes "PCB tracing stands for" to output "printed":

https://www.neuronpedia.org/gemma-2-2b/graph?slug=pcb-tracin...


Browsers won't use http2 unless https is on — chrome only allows six concurrent requests to the same domain if you're not using https!



this is super cool! Do you know how they achieve this effect?


There's also https://lmql.ai/


LQML (and guidance https://github.com/guidance-ai/guidance) are much more inefficient. They loop over the entire vocabulary at each step, we only do it once at initialization.


Does looping over the vocabulary add much overhead to the tok/s? I imagine they're just checking if the input is in a set, and usually there's only ~30k tokens. That's somewhat intensive, but inference on the neural net feels like it'd take longer.


They’re checking regex partial matches for each possible completion, which is intensive indeed. You can look at the Figure 2 in our paper (link in original post) for a simple comparison with MS guidance which shows the difference.


Basically just a bunch of d3 — could be cleaned up significantly, but that's hard to do while iterating and polishing the charts.

I also have a couple of little libraries for things like annotations, interleaving svg/canvas and making d3 a bit less verbose.

- https://github.com/PAIR-code/ai-explorables/tree/master/sour...

- https://1wheel.github.io/swoopy-drag/

- https://github.com/gka/d3-jetpack

- https://roadtolarissa.com/hot-reload/


I was going to ask the same question. Those are some great visualizations



Here's an example of that with a smaller BERT model: https://pair.withgoogle.com/explorables/fill-in-the-blank/



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: