📞 0339-0387701 (WhatsApp) Contact

« Back to Data Science & AI (NCCIA)

What is a token in LLM text generation?

A. A complete sentence
B. A paragraph of text
C. A file containing model weights
D. The smallest unit of text the model processes, often a word or part of a word ✅

Correct Answer: D. The smallest unit of text the model processes, often a word or part of a word

Explanation

Tokens are subword units produced by tokenisation; models read and generate token by token.