Whitespace and Backspace

#11
by LittleVoidGames - opened

No questions, just noting some observations. Maybe it's my llama c++ build here, but the 9B model seems to forget to include whitespaces between words occasionally.

Another interesting behavior is that I've watched this model start outputting something, seem to change its mind, and then somehow delete the last couple of tokens and output something else. Not sure if that's from Qwen itself or the Ornith training, but it's fascinating to see happen in real time.

No questions, just noting some observations. Maybe it's my llama c++ build here, but the 9B model seems to forget to include whitespaces between words occasionally.

Another interesting behavior is that I've watched this model start outputting something, seem to change its mind, and then somehow delete the last couple of tokens and output something else. Not sure if that's from Qwen itself or the Ornith training, but it's fascinating to see happen in real time.

So, about the white space i have no answer. But for the backspace I have a answer, there is a paper about this, i think it was called SequenceMatch.

The IL framework also allows us to incorporate backtracking by introducing a backspace action into the generation process. This further mitigates the compounding error problem by allowing the model to revert a sampled token if it takes the sequence OOD. -- The abstraction of the paper
Its a thinkg that involes how Ornith was trained since backspace tokens are special tokens.

I might be wrong or something.

Sign up or log in to comment