Character-based modeling represents language as sequences of individual alphabetic characters. It is easy to implement, but character-level inputs often lack enough information to produce statistically significant language-modeling results. section 5.2.1
Character-based modeling is mainly useful as a contrast with broader tokenization strategies:
- Word-, subword-, or sentence-level tokenization captures a larger context window and more linguistic information than individual characters. section 5.2.1
- Increasing tuning alone does not solve the fundamental weakness that alphabets and orthography do not intrinsically encode meaning. section 5.2.1
- Pretraining before exposing a model to its task can improve the approximate representations available for downstream performance. section 5.2.1
Training from scratch
A GPT-style training example assembles embeddings, transformer blocks, normalization, and an output head before running batched epochs. Its character-based language-modeling example illustrates why character sequences are a weak foundation for generating language. section 5.2.1
