Settings

Theme

Gigatoken: Fastest Tokenizer

twitter.com

26 points by convexstrictly · 6 comments

Reader

3 threads
convexstrictlyOP

GitHub: https://github.com/marcelroed/gigatoken

benj111

I kind of assumed the model would process the text 'directly', from what I understand, wouldn't this be biasing the input based on how you tokenise as it's lossy?

I assume this tradeoff is purely for speed/compression. Or am I missing what's going on here?

  • convexstrictlyOP

    Tokenization is done on the CPU. Models never see the raw characters. That's why you get trick questions like the number of r's in strawberry.

    There are many research papers on models using characters directly. One challenge is that effective context length is smaller.

ramon156

Doesn't really explain why its faster. "Optimizing for every kind of CPU" is not really enough info.

Cool project nonetheless, I will go through the code later tomorrow

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection