  [TFGPT2Model.call] method for more information on its usage.
Enabling the scale_attn_by_inverse_layer_idx and reorder_and_upcast_attn flags will apply the training stability
  improvements from Mistral (for PyTorch only).
Write With Transformer is a webapp created and hosted by
Hugging Face showcasing the generative capabilities of several models. GPT-2 is one of them and is available in five
different sizes: small, medium, large, xl and a distilled version of the small checkpoint: distilgpt-2.
This model was contributed by thomwolf. The original code can be found here.
GPT2Config
[[autodoc]] GPT2Config
GPT2Tokenizer
[[autodoc]] GPT2Tokenizer
    - save_vocabulary
GPT2TokenizerFast
[[autodoc]] GPT2TokenizerFast
GPT2 specific outputs
[[autodoc]] models.gpt2.modeling_gpt2.GPT2DoubleHeadsModelOutput
