Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Couldn't we just make every human readable character a token?

OpenAI's tokenizer makes "chess" "ch" and "ess". We could just make it into "c" "h" "e" "s" "s"



We can, tokenization is literally just to maximize resources and provide as much "space" as possible in the context window.

There is no advantage to tokenization, it just helps solve limitations in context windows and training.


I like this explanation


This is just more tokens? And probably requires the model to learn about common groups. Consider, "ess" makes sense to see as a group. "Wss" does not.

That is, the groups are encoding something the model doesn't have to learn.

This is not much astray from "sight words" we teach kids.


No, actually much fewer tokens. 256 tokens cover all bytes. See the ByT5 paper: https://arxiv.org/abs/2105.13626


More tokens to a sequence, though. And since it is learning sequences...


Yeah, suddenly 16k tokens is just 16kb of ASCII instead of ~6kwords


This is just more tokens?

Yup. Just let the actual ML git gud


So, put differently, this is just more expensive?


Expensive in terms of computationally expensive, time expensive, and yes cost expensive.

Worth noting that the relationship between characters to token ratio is probably quadratic or cubic or some other polynomial. So the difference in terms of computational difficulty is probably huge when compared to a character per token.


aka Character Language Models which have existed for a while now.




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

Search: