I explain chunking and tokenization as distinct stages in retrieval and language-model workflows: I choose how documents are divided, while the model applies its tokenizer automatically. I also describe how language models generate text one token at a time.
In my 2026-08-25 post, I explain that chunking and tokenization are not the same step: chunking is an application-level decision I make before text reaches an embedding model, while tokenization applies the model’s own rules automatically.
I describe conflating chunking and tokenization as one of the most common RAG misconceptions and urge readers to keep the two processes distinct when building a pipeline.
In my 2026-08-31 post, I explain that chunking decisions include chunk size, overlap, and boundary rules, with the goal of making retrievable pieces without cutting off meaning mid thought.
I explain that tokenization happens after chunking: the model’s tokenizer converts each text segment into token IDs that the model operates on, and the user does not choose this step.
I warn that perfect chunk size does not guarantee good retrieval: with sloppy tokenization awareness, retrieval can still underperform.
In my 2026-09-24 post, I again distinguish application-level chunking from automatic tokenization inside the model, and call mixing them up one of the most common RAG misconceptions.
When I teach language models to PMs, I draw text generation as one loop that runs again for every new word.
I explain that a long or rare word can split into three or four tokens, and that context limits and API pricing are counted in tokens, so I advise checking both before shipping.
I describe the generation loop as tokenization, embedding, attention, scoring, picking a token, and repeating until the model produces a stop token; the chosen token joins the input for the next pass.
I explain that the model assigns probabilities to possible next tokens and ranks what sounds likely, not what is true; I connect this distinction to hallucinations and advise verifying the output.
I recommend low temperature for extracting invoice fields and higher temperature for brainstorming post ideas, and caution against raising temperature for factual tasks because answers can be confidently wrong.
I advise keeping key instructions clear and easy to find because long prompts do not receive equal attention throughout.
In my 2026-09-24 post, I advise readers, “Save this before you build your next pipeline.”
Related: rag system design, reducing llm costs, ai product foundations