tokenization
/tokenization
Wyjaśnia, jak tekst zamienia się w tokeny i dlaczego granice tokenów tłumaczą zachowanie modelu na liczbach, kodzie i tekście nieanglojęzycznym, gdy model dziwnie reaguje lub kosztuje więcej.
- Autor
- Amey-Thakur ↗
- Repozytorium
- AI-SKILLS ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 05.09.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 05.09.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Wyjaśnia, jak tekst zamienia się w tokeny i dlaczego granice tokenów tłumaczą zachowanie modelu na liczbach, kodzie i tekście nieanglojęzycznym, gdy model dziwnie reaguje lub kosztuje więcej.
Oryginalny opis (EN)
Understand how text becomes tokens, and why token boundaries explain model behaviour on numbers, code, and non-English text. Use when a model behaves strangely on specific strings or costs more than expected.
Jak działa
- Method
- Boundaries
Podgląd SKILL.md
--- name: tokenization description: Understand how text becomes tokens, and why token boundaries explain model behaviour on numbers, code, and non-English text. Use when a model behaves strangely on specific strings or costs more than expected. --- # Tokenization Models do not see characters or words; they see tokens produced by a learned vocabulary. A surprising amount of model behaviour, including arithmetic errors and cost differences between languages, follows directly from where the boundaries fall. ## Method 1. **Know that tokens are subwords, not words.** Common words are one token, rare words split into several, and the split is learned rather than linguistic. 2. **Expect worse behaviour on badly tokenized content.** Numbers split inconsistently, which is part of why arithmetic is unreliable, and unusual identifiers fragment into many tokens. 3. **Account for language cost differences.** Text in languages under-represented in the vocabulary uses several times more tokens for the same content, affecting both cost and effective context (see character-encoding). 4. **Measure context in tokens, not characters.** A character estimate is a rough approximation that fails exactly when the content is unusual (see context-window-management). 5. **Watch whitespace and leading spaces.** They are part of tokens, so a word with and without a preceding space are different tokens, which affects prompting and matching. 6. **Understand vocabulary boundaries in fine-tuning.** Domain terms that fragment badly can justify vocabulary extension, at the cost of retraining embeddings. 7. **Inspect tokenization when debugging.** Looking at the actual token split explains behaviour that reasoning about the text cannot. ## Boundaries Tokenizers differ between model families, so token counts and behaviour do not transfer. Tokenization is fixed at training time and cannot be changed for an existing model. It explains some failures and is not the cause of most reasoning errors.
Wersje
W bazie nie ma innych skilli o nazwie tokenization.
Migawka bazy z 13.11.2026 · wersja paczki 12dc3e9248c4 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100tokenization-bpe-wordpiece-tiktoken
Bada słownik i podział na podsłowa w modelach językowych, specjalne tokeny i liczenie tokenów w różnych architekturach. - 100settings
Wyjaśnia, co Repowise można ustawić, ile to kosztuje w tokenach i modelach oraz jak zmienić opcję w repozytorium.