you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 4 months ago (1 child)

Why 51? If you assign a binary number to a split, so g|i|r|af|fe is 111010 and gira|f|fe is 000110, that would be 2^7-1. I didn't get how this is counted.

  • source
  • hideshow 1 child comment
  • [–] 3 points 4 months ago

    It doesn't explain tokenizers well (or at all). There are better videos on the subject.

    Anyway. Suppose you wanted to spell giraffe with the English alphabet in any arbitrary, phonetic way. You could also spell, for example; "jeeruff", or "djirough". You could count how many phonetically correct ways there are to spell "giraffe".

    Tokenizers break a text into sequences of characters (even individual characters), called tokens. Different tokenizers use different tokens. The one they use here has "gira" as a token, but also "g", "i", "r", and "a". So you could tokenize the same text in different ways. They have a slide where they show the possibilities.

  • source
  • parent