All demos

Token Explorer

See how a language model breaks up text

Language models work with tokens rather than whole words. A token can be a word, part of a word, punctuation, or a useful fragment of a URL or name.

Try this
  1. Tokenize the archaeologist example.
  2. Try a basic sentence or a technical sentence with longer words.
  3. Edit the text or switch models to compare token boundaries.

Tokens

Position Token text Vocabulary ID