An LLM never sees raw text. So what does it process?
What an interviewer would ask next. Try answering before peeking at the approach.
QWhy does the same text produce different token counts under different tokenizers?
Each tokenizer has its own learned vocabulary and merge rules. A frequent word like 'embedding' has its own dedicated id in a large vocabulary (o200k_base) but splits into two pieces in a smaller one (GPT-2). Walk through how vocabulary size and training corpus determine which strings get a single id.