Skip to main content

WordPiece Tokenization

Tokens in AI

Submitted by mferanda on

When jumping into the AI world, there's a lot of talk about tokens and costs based on tokens. For someone new, it seemed like a good place to start. So... What exactly are tokens? Think of them like the individual pieces of text the model uses to process language.

What is a Token in one sentence? Tokens are the pieces of words or symbols that make up the content we give AI models, helping them understand and generate responses.

Tokens come in different styles:

Subscribe to WordPiece Tokenization