Term
GPT-2
Meaning
A left-to-right generative transformer language model that predicts text one token at a time from left to right.
Source Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelism
How papers use it 8 papers
Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelism
Use The main left-to-right language model studied in the paper, trained at sizes up to 8.3B parameters. The authors use it to show state of the art zero-shot results on WikiText103 perplexity and LAMBADA cloze accuracy, with the 8.3B model giving the best results among the GPT-2 sizes they report.
LoRA: Low-Rank Adaptation of Large Language Models
Use Serves as one of the backbones for LoRA's natural language generation experiments, in medium and large sizes, compared against full fine-tuning and other adaptation methods on the E2E NLG Challenge. Also used to measure inference latency of a single forward pass on a single GPU, where adapter layers added noticeable overhead at small batch sizes.
Meaning A decoder-only Transformer language model trained to predict the next token on large text corpora, which can then be adapted to generation tasks.
Identifying and Mitigating Errors in Gradient Aggregation of Distributed Data Parallel Training
Use Used as the small language model in the LLM experiments, with 124M parameters and training on OpenWebText. It is trained with Adam using a learning rate of 0.001, β1 of 0.9 and β2 of 0.99. The paper also uses GPT-2 for fine-tuning on Alpaca, and reports training loss curves for these runs.
Meaning A decoder-only transformer language model with about 124M parameters, trained to predict the next token of text.
Why Units Die in the Layer After a Frozen Random Encoder, and What the Number of Live Units Measures
Use Provides the activations on which the sparse autoencoders are trained. The unaltered activations have an offset of 0.904, and the offset is changed by moving the activations along their mean direction.
Meaning GPT-2 is a pretrained transformer language model whose internal activations can serve as the input to other networks, such as sparse autoencoders.
Fine-Tuning Language Models from Human Preferences
Use The 774M-parameter version, pretrained on WebText with a 50,257-token byte-pair encoding, with 36 layers, 20 heads and embedding size 1280. It is the pretrained model from which the policy and the reward model are initialized. For the style tasks it is additionally supervised fine-tuned on BookCorpus before RL fine-tuning, and sampling uses a temperature below 1.
Meaning A decoder-only Transformer language model trained to predict the next token of text, so it can generate continuations of a given prefix. Its byte-pair vocabulary is designed to keep capitalization and punctuation.
The Pile: An 800GB Dataset of Diverse Text for Language Modeling
Use Evaluated zero-shot on each component of the Pile across its available sizes, with test perplexity converted to bits per UTF-8 encoded byte and computed per document. Its scaling behaviour on the Pile is fitted with a line in the paper. A GPT-2 model trained from scratch on the Pile serves as the reference in the proxy measure of GPT-3's relative performance.
Meaning A family of transformer language models released in several sizes, which can be used to score text by perplexity.
FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
Use Used as the main training testbed for end-to-end wall-clock speed, with GPT-2 small and medium trained on OpenWebText. Against HuggingFace and Megatron-LM implementations, FlashAttention gives up to 3× end-to-end speedup and up to 1.7× speedup, with the same perplexity. GPT-2 small with FlashAttention at context length 4K trains 1.3× faster than the Megatron-LM setting at context length 1K and reaches 0.7 better perplexity.
Meaning A Transformer language model that is trained on large text corpora. It serves as a standard benchmark architecture for measuring the training speed and the context-length scaling of attention implementations.
Language Models are Few-Shot Learners
Use Cited as the direct predecessor of GPT-3. GPT-3 keeps the GPT-2 model design, including its modified initialization, pre-normalization and reversible tokenization, but replaces the attention pattern in alternate layers with locally banded sparse attention, similar to the Sparse Transformer.
Meaning A transformer-based autoregressive language model from an earlier generation, whose architecture, weight initialization, pre-normalization and tokenization scheme serve as the starting point for the larger models in this work.