
BioMedLM
Language541 ops124.4M params
GPT-2 small retrained on 147M Reddit exchanges to generate conversational replies.
Language · 541 operations Checked
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.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
How this diagram was made
transformers.GPT2LMHeadModel()
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.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@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},
}