SAVRN
Search Contact SAVRN

Open-weight model · Text generation

gpt2-large

by OpenAI community openai-community/gpt2-large

GPT-2 Large is the 774M parameter version of GPT-2, a transformer-based language model created and released by OpenAI. The model is a pretrained model on English language using a causal language modeling (CLM) objective.

Parameters812M
Context
Weights16.2 GB
Licensemit
AccessOpen weights
Monthly Downloads1.2M

Runs On

What it takes to serve gpt2-large (812M parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 1.6 GB 1.9 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 0.8 GB 1.0 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 0.4 GB 0.5 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Sep 18, 2026.

SAVRN's Notes on gpt2-large

Published March 2, 2022, this English causal language model moves 1,243,231 downloads a month. The configuration counts 812M parameters; the publisher says 774M. At 16-bit the weights are 1.6 GB and need 1.9 GB, 8-bit needs 1.0 GB and 4-bit 0.5 GB, so the cheapest host in our data, one MI300X with 192 GB at $1.85 per hour, is far more card than it needs. Prove a pipeline on it, then move the real workload in.

MIT is a short permissive license: keep the copyright and permission notice and you can use, modify and redistribute it commercially. Our facts record no context length for it, so confirm the window in the configuration you load. The repository totals 26.3 GB across 29 files because it ships six formats, and the one paper it cites, arXiv:1910.09700, covers the carbon emissions of machine learning, not this model.

Model Card

By OpenAI community, published under mit, revision 32b71b12589c.

Table of Contents

  • Model Details
  • How To Get Started With the Model
  • Uses
  • Risks, Limitations and Biases
  • Training
  • Evaluation
  • Environmental Impact
  • Technical Specifications
  • Citation Information
  • Model Card Authors

Model Details

Model Description: GPT-2 Large is the 774M parameter version of GPT-2, a transformer-based language model created and released by OpenAI. The model is a pretrained model on English language using a causal language modeling (CLM) objective.

How to Get Started with the Model

Read the full model card (1,500 words)

Configuration

Architecture
GPT2LMHeadModel
Vocabulary size
50,257
Model type
gpt2

Identity and Version

Repository
openai-community/gpt2-large
Publisher
OpenAI community
Task
Text generation
Modality
Text
Library
transformers
Parameters
812M parameters
Languages
en
Revision
32b71b12589c2f8d625668d2335a01cac3249519
First published
2022-03-02
Last updated
2024-02-19

Files and Weights

29 files, 26.3 GB in total. The weights are 8 files totalling 16.2 GB in bin, h5, msgpack, onnx, ot, safetensors.

Weights8 files · 16.2 GB
Configuration6 files · 2.1 KB
Tokenizer8 files · 6.2 MB
Documentation1 file · 12.3 KB
Other5 files · 10.1 GB
Repository1 file · 789 B
Every file
FileTypeSizeSHA-256
flax_model.msgpackWeights3.1 GB 9aa10eb25a62
model.safetensorsWeights3.2 GB 5f47f3e12f91
onnx/decoder_model.onnxWeights2.7 MB 6928b9ea9cef
onnx/decoder_model_merged.onnxWeights5.3 MB fb52fbf6a99a
onnx/decoder_with_past_model.onnxWeights2.7 MB 620cad159131
pytorch_model.binWeights3.2 GB 8d3ade6b55ac
rust_model.otWeights3.5 GB 4da5e3c0a8b1
tf_model.h5Weights3.1 GB 71e91ce5f112
config.jsonConfiguration666 B
generation_config.jsonConfiguration124 B
generation_config_for_text_generation.jsonConfiguration165 B
onnx/config.jsonConfiguration886 B
onnx/generation_config.jsonConfiguration119 B
onnx/special_tokens_map.jsonConfiguration99 B
README.mdDocumentation12.3 KB
onnx/Constant_164_attr__valueOther1.0 MB ae525b5c247f
onnx/Constant_174_attr__valueOther1.0 MB ae525b5c247f
onnx/decoder_model.onnx_dataOther3.4 GB 37e3f7ff14aa
onnx/decoder_model_merged.onnx_dataOther3.4 GB 37e3f7ff14aa
onnx/decoder_with_past_model.onnx_dataOther3.4 GB 37e3f7ff14aa
.gitattributesRepository789 B
merges.txtTokenizer456.3 KB
onnx/merges.txtTokenizer456.3 KB
onnx/tokenizer.jsonTokenizer2.1 MB
onnx/tokenizer_config.jsonTokenizer234 B
onnx/vocab.jsonTokenizer798.2 KB
tokenizer.jsonTokenizer1.4 MB
tokenizer_config.jsonTokenizer26 B
vocab.jsonTokenizer1.0 MB

License and Download

License
mit
Access
Open weights, no gate
Download size
16.2 GB
Download from OpenAI community

Released by OpenAI community through its official repository on Hugging Face. Read the license.

Built From

Memory Requirements

PrecisionWeights in memory
As published16.2 GB
16-bit1.6 GB
8-bit0.8 GB
4-bit0.4 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Built on This Model

Compare gpt2-large

Questions About gpt2-large

How much GPU memory does gpt2-large need?

About 1.9 GB at 16-bit and 0.5 GB at 4-bit: the weights (812M parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run gpt2-large on?

At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use gpt2-large commercially?

Yes. gpt2-large is released under MIT License. The MIT License is a short permissive license. It permits commercial use, modification and redistribution, provided the copyright notice and permission notice are included.

Similar Models

Model · Text generation

gelatwo-common-gen-gpt2-large

Meihua Dang

gpt2-large fine-tuned on CommonGen, used as the base language model for the CommonGen experiments in Mitigating Bias in Locally Constrained Decoding via Tractable Proposals (arXiv:2606.01926). This is a plain causal language model: it supplies the base distribution that GCD and P-GCD steer. The tractable proposal it is paired with is the HMM at which shares its 50257-token vocabulary. configs/common-gen.yaml in github.com/MhDang/gelatwo already points at this checkpoint, so the CommonGen runs need no override.

Open weights mit 774M parameters

Model · Text generation

dQwen3.5-0.8B-Base

IFML

A masked diffusion language model adapted from Qwen3.5-0.8B. The backbone is hybrid: only its attention layers are made bidirectional, and the Gated DeltaNet layers stay causal. This is a base model, with no instruction tuning. Paper: dQwen3.5: Hybrid-Attention Diffusion Language Models. Code: https://github.com/AntonXue/dQwen Needs a CUDA GPU and transformers>=5.13 (tested with torch 2.7.1+cu128, flash-linear-attention 0.5.1). generate decodes the whole canvas at once, committing positions above a confidence threshold (tau=0.9); pass blocklength=32 for left-to-right block decoding, or tau=None, stepsperblock=k for a fixed budget. The 50B-token checkpoint from the paper is…

Open weights apache-2.0 752M parameters 262,144 tokens transformers

Model · Text generation

Qwen3-0.6B

Qwen

Qwen3 is the latest generation of large language models in Qwen series, offering a comprehensive suite of dense and mixture-of-experts (MoE) models. Built upon extensive training, Qwen3 delivers groundbreaking advancements in reasoning, instruction-following, agent capabilities, and multilingual support, with the following key features: - Uniquely support of seamless switching between thinking mode (for complex logical reasoning, math, and coding) and non-thinking mode (for efficient, general-purpose dialogue) within single model, ensuring optimal performance across various scenarios. - Significantly enhancement in its reasoning capabilities, surpassing previous QwQ (in thinking mode) and…

Open weights apache-2.0 752M parameters 40,960 tokens transformers

A 0.6B parameter model built in two stages: knowledge distillation from a 30B Thinking teacher to establish a structured reasoning backbone, then supervised fine-tuning on legal instruction data. 50x compression. Under 500MB quantized. Runs on a phone. The training order is the thesis: teach the model how to reason first (distillation from Thinking teacher), then teach it what to reason about (legal SFT). The Thinking teacher's extended deliberation traces transfer deeper reasoning structure than an Instruct teacher — critical when the student has only 0.6B parameters to work with. Qwen3-0.6B distilled from Qwen3-30B-A3B-Thinking-2507 — a Mixture-of-Experts model with 30B total parameters…

Open weights apache-2.0 752M parameters 40,960 tokens transformers

A 0.6B parameter model distilled from Qwen3-30B-A3B-Thinking on 6,122 STEM chain-of-thought samples. 50x parameter compression. The Thinking variant teacher produces richer extended reasoning traces than the Instruct variant, transferring deeper deliberation structure into the smallest possible student. The result: a model under 500MB quantized that produces structured STEM derivations because a 30B thinking model showed it how to reason. Two key differences from standard small-model distillation: 1. Thinking teacher, not Instruct teacher. The Qwen3-30B-A3B-Thinking variant generates extended internal reasoning before committing to an answer. Its softmax distributions are higher-entropy…

Open weights apache-2.0 752M parameters 40,960 tokens transformers

Model · Text generation

Mini-oss-0.6b

Convergent Intelligence

This is the model card of a transformers model that has been pushed on the Hub. Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. Use the code below to get started with the model. Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019). This model is part of the Convergent Intelligence LLC: Research Division portfolio. All models in this portfolio are developed under the Discrepancy Calculus (DISC) framework — a measure-theoretic approach to understanding and controlling the gap between what a model should produce and what it actually produces. DISC treats training…

Open weights 664M parameters 131,072 tokens transformers