Tokens वे units हैं जिनमें LLMs text process करते हैं (शब्दों के टुकड़े), और context window text की अधिकतम मात्रा (tokens) है जिस पर एक LLM एक साथ विचार कर सकता है। उन्हें समझना LLMs का प्रभावी रूप से उपयोग करने, costs प्रबंधित करने, और उनकी limits को संभालने के लिए महत्वपूर्ण है।
What tokens are
TOKEN → the unit LLMs process text in (not words/characters, but PIECES):
→ text is split into tokens (roughly ~4 characters or ~0.75 words each in English)
→ e.g. 'unbelievable' might be 3 tokens; common words are often 1 token
→ the model processes and generates token by token
→ LLMs work in tokens (input and output are measured in tokens)
