• MonaySimpson@lemmy.ml
    link
    fedilink
    English
    arrow-up
    7
    ·
    2 days ago

    Dominated by popular culture, brands, platform-speak, and non-words. Tokenization is, therefore, a political act: it defines what can be represented and how the world becomes computationally representable.

    Welcome to 1984

  • wrinkle2409@lemmy.cafe
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 day ago

    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.

    • General_Effort@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      20 hours 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.