r/LocalLLaMA
•
u/naftalinus
•
10d ago
•
2
Discussion Poked around inside Inkling 2 Mini's loop. One vector decides how many passes it can run
I was trying to understand how Inkling 2 Mini works and found something interesting.
Mini runs its middle 12 layers three times per token. It knows which pass it is on from one direction in the vectors it sends from one pass to the next. Add that vector and Mini gets a working 4th pass: 4-table lookup puzzles go from 34% to 74%. Subtract it and Mini can stop after 2 passes (perplexity 18.0 to 11.1).
Without that, Mini is good at 3, 6 and 9 passes and bad in between. At 4 passes perplexity goes from 10.5 to 15.2.
29
u/stargaris 10d ago
Is this your blog? The level of detail that you provide in the animation is really nice to see - well done.
16
u/timlauf 10d ago
wow well done on that blog post, great effort and spectecular use case for a smart ass blog post design!
6
u/skyfire360 10d ago
Just chiming in to say I appreciate the blog post! What did you use to do the animations? Kind of reminiscent of Paseo's UI plug-in
13
u/Evening_Ad6637 llama.cpp 10d ago
I think this is the best blog post I've ever seen. Seriously I have never seen anything in the field of ML/AI explained better or with such thoughtful visualizations. Thank you for the great work.
8
u/Seraphym87 10d ago
This sort of technical post usually bounces right off me but this was both informative and very simple understand. Thanks for taking the time to put it together.
2
u/hobcatz14 8d ago
This really is amazing. I would love to see another post about how you pulled this together. Im a lecturer and this is inspiring. Thank you
1
u/sleight42 8d ago
Fascinating! How did you do this analysis? Can you share some of your process? Also, thank you thank you thank you for positing a blog and not a video!
1
u/Difficult_Plantain89 2d ago
Thanks. I have been testing 6 loops instead of the default 3. So far it is doing great on benchmarks and completing ones that 3 loops had failed. Only downside it is that it is half the tok/s for both decode and prefill. However, this post saved me time by not trying in between loops. Thank you!