Scaling high-order character language models to gigabytes
Generate an AI Snapshot to get a quick, structured summary of this paper.
A concise AI-generated summary of the paper will appear here once you click Generate AI Snapshot.
TL;DR
This work describes the implementation steps required to scale high-order character language models to gigabytes of training data without pruning and produces compiled models that are larger than the training models, but execute at 2 million characters per second on a desktop PC.
Abstract
We describe the implementation steps required to scale high-order character language models to gigabytes of training data without pruning.Our online models build character-level PAT trie structures on the fly using heavily data-unfolded implementations of an mutable daughter maps with a long integer count interface.Terminal nodes are shared.Character 8-gram training runs at 200,000 characters per second and allows online tuning of hyperparameters.Our compiled models precompute all probability estimates for observed n-grams and all interpolation parameters, along with suffix pointers to speedup context computations from proportional to n-gram length to a constant.The result is compiled models that are larger than the training models, but execute at 2 million characters per second on a desktop PC.Cross-entropy on held-out data shows these models to be state of the art in terms of performance.
