3 ms·
My mental model for LLMs was built by carefully studying the distribution of its output vocabulary at every time step. There are tools that allow you to right
by Der_Einzige 3y ago
My mental model for LLMs was built by carefully studying the distribution of its output vocabulary at every time step.
There are tools that allow you to right click and see all possible continuations for an LLM like you would in a code IDE[1]. Seeing what this vocabulary is[2] and how trivial modifications to the prompt can impact probabilities will do a lot for improving the mental model of how LLM operate.
Shameless self plug, but software which can do what I am describing is here, and it's worth noting that it ended up as peer reviewed research.
[1] https://github.com/Hellisotherpeople/Constrained-Text-Generation-Studio/tree/main https://github.com/Hellisotherpeople/Constrained-Text-Genera...
[2] https://github.com/Hellisotherpeople/Constrained-Text-Generation-Studio/blob/main/pictures/list_of_vocab_that_fulfills_constraints.JPG https://github.com/Hellisotherpeople/Constrained-Text-Genera...
- LoganDark 3y ago> There are tools that allow you to right click and see all possible continuations for an LLM like you would in a code IDE I'm planning to include some functionality similar to this in one of my own LLM clients. Something like "press Ctrl+Space to see next tokens sorted by their probabilities, and you get to pick a token manually" (like IDE autocomplete). Maybe I'll add a feature to generate multiple entire completions, too.