All models

DialoGPT

GPT-2 small retrained on 147M Reddit exchanges to generate conversational replies.

Language · 541 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (30 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
124.4M
Operations
541
Framework
PyTorch
Recurrent
No
Published
ACL 2020 System Demonstrations
Cited by
1,073 (as of 18 October 2026)
Authors
Yizhe Zhang, Siqi Sun, Michel Galley and others
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m12582
Graph hash
3b0267eddb86cea40aa30b3b15be4c7ea503e05a5afe368bf773dbfff26fdfd0
Skeleton hash
7336e42a243c87cd0e452aaee111639e75d880d97c10903b31fa508c57f8f100
Architecture hash
625f3914c4b84378c551fd720ababa452b922fa5f51df1f8403386681204ec21
Diagram SHA-256
47f89adb048fb67540b0d5aa1c0a0c958957d3c6e71de141d1fa73e91c422858
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

How this diagram was made

transformers.GPT2LMHeadModel()

What it is

DialoGPT, the dialogue generative pre-trained transformer, is a large, tunable neural model for generating conversational responses. It was trained on 147M conversation-like exchanges extracted from Reddit comment chains spanning 2005 through 2017. The paper reports performance close to human in single-turn dialogue, by both automatic and human evaluation. Systems built on it produced more relevant, contentful and context-consistent responses than strong baselines.

The code base sits on the Hugging Face transformer library and OpenAI GPT-2, and ships three checkpoints: small (117M), medium (345M) and large (762M). The member captured here is the small model, which the Hub card loads as a causal language model from microsoft/DialoGPT-small. The card's own example chat shows the flavour: asked whether money buys happiness, the bot answers that it depends how much money you spend on it. Multi-turn chat works by appending each new user input to the running chat history and generating from the whole thing.

The authors say the largest model can be trained in several hours on 8 V100 machines with distributed training and FP16. Fine-tuning from the pretrained model on a new dataset typically takes only 1-2 epochs. The project page is no longer maintained: the authors say DialoGPT is superseded by GODEL and recommend switching unless you need it for reproducibility.

Key idea. DialoGPT scaled GPT-2-style generative pretraining to 147M Reddit exchanges and released the model and pipeline, giving open-domain dialogue research a strong public response generator.

  • DialoGPT
  • dialogue generative pre-trained transformer
  • DialoGPT-small
  • GPT-2
  • conversational response generation
  • chatbot
  • Reddit
  • open-domain dialogue
  • response generation
  • Microsoft DialoGPT

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{zhang2020dialogptlargescalegenerativepretraining,
      title={DialoGPT: Large-Scale Generative Pre-training for Conversational Response Generation}, 
      author={Yizhe Zhang and Siqi Sun and Michel Galley and Yen-Chun Chen and Chris Brockett and Xiang Gao and Jianfeng Gao and Jingjing Liu and Bill Dolan},
      year={2020},
      eprint={1911.00536},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/1911.00536}, 
}