Felt extra autistic today and made jev an autoregressive chatbot by classifier small token vocabularies. https://github.com/giga-james/jevgpt had some trouble getting it to explore enough token…

26 points•kunggaochicken•7 days ago•4 comments•
Felt extra autistic today and made jev an autoregressive chatbot by classifier small token vocabularies.

https://github.com/giga-james/jevgpt

had some trouble getting it to explore enough token options so i did a small spec decoding pass to expand token vocab (jev as drafter and verifier lol)

it aint much and it aint honest work either

4 comments

nico5 days ago
This is amazing. I don't think I fully understand how it works, but the core of having Jev (or some classifier), generate the words/tokens it's going to output by picking/classifying the words/tokens, is very cool

Where do you see the biggest potential improvement gains?

kunggaochicken2 days ago
honestly i dont actually expect it to improve anything - kinda did it as a rebellious shower thought when the jev homescreen said "we are not a chatbot"

the underlying mechanism has to sample tokens (1000/90000 for openai's tokenizer) by some shallow heuristic to build the decision pool (more details are in https://github.com/giga-james/jevgpt/blob/main/docs/experime... !), while standard autoregressive models have access to the entire token vocabulary to predict the next word

adityamishra2415 days ago
Really interesting approach. I’m curious how much the verifier pass improves the output quality compared to just increasing the token vocabulary.
kunggaochicken2 days ago
great question! the verifier pass actually operates more as an "assistant" gate so we can expand the token vocabulary.

jev allows 255 decisions (token vocabulary here), so if we want to support a token vocabulary of 1000, we have to parallelize into multiple jev calls to allow that expansion. the verifier pass simply chooses the best out of the parallel decisions so we can exceed the 255 decision limit. in theory this should allow for up to 255^2 token limit, but if you increase the verifier depth you can increase that exponential factor as much as you want (it'll be slow though)

Read the full thread on Hacker News →

Related stories