Tokens ਉਹ ਇਕਾਈਆਂ ਹਨ ਜੋ LLMs ਟੈਕਸਟ ਨੂੰ ਪ੍ਰਕਿਰਿਆ ਕਰਦੇ ਹਨ (ਸ਼ਬਦਾਂ ਦੇ ਹਿੱਸੇ), ਅਤੇ context window ਵੱਧ ਤੋਂ ਵੱਧ ਟੈਕਸਟ (tokens) ਦੀ ਮਾਤਰਾ ਹੈ ਜਿਸ ਨੂੰ LLM ਇੱਕ ਵਾਰ ਵਿੱਚ ਵਿਚਾਰ ਸਕਦਾ ਹੈ। ਇਹ ਸਮਝ LLMs ਨੂੰ ਪ੍ਰਭਾਵਸ਼ਾਲੀ ਢੰਗ ਨਾਲ ਉਪਯੋਗ ਕਰਨ, ਖਰਚਿਆਂ ਨੂੰ ਪ੍ਰਬੰਧਿਤ ਕਰਨ, ਅਤੇ ਉਹਨਾਂ ਦੀਆਂ ਸੀਮਾਵਾਂ ਨੂੰ ਸੰਭਾਲਣ ਲਈ ਮਹੱਤਵਪੂਰਨ ਹੈ।
Tokens ਕੀ ਹਨ
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)
