Model reference · open weights

DialoGPT-medium

LLMs microsoft Text gen 1 build Open weights 168k dl/mo

DialoGPT-medium is an open-weight language model from microsoft. DialoGPT-medium (BF16) weighs 863 MB; the smallest configuration that runs it is RTX 3060 12 GB.

  • DialoGPT-medium is a large-scale pretrained dialogue response generation model developed by Microsoft for multiturn conversations.
  • It was trained on 147 million multi-turn dialogues from Reddit discussion threads and is designed to generate responses comparable to human quality in single-turn Turing tests.
  • The model is available under the MIT license.

Summary of the microsoft/DialoGPT-medium model card, 2026-10-01

What it is

Released bymicrosoft
Released2022-03-02
VRAM863 MB for the weights

What it runs on

Memory and cards for DialoGPT-medium (BF16)

863 MBweights, file size
98 MBcache per 1K tokens
531 MBruntime overhead, at least
CardRequests at onceContext maxMemory
8K each32K each
RTX 3060 12 GB123101K11.6 GB
RTX 4060 Ti 16 GB174128K15.4 GB
RTX 3090 24 GB276128K23.4 GB
RTX 4090 24 GB276128K23.4 GB
RTX 5090 32 GB369128K31.0 GB
L40S 48 GB5213128K44.0 GB
A100 80 GB9523128K78.2 GB
H100 80 GB9122128K78.1 GB
RTX PRO 6000 Blackwell 96 GB11127128K93.8 GB
DGX Spark (GB10) 128 GB unified12832128K107 GB
H200 141 GB16641128K138 GB
B200 180 GB21353128K176 GB
Memory needed at each load
Requests at once8K tokens each32K tokens each
12.2 GB4.6 GB
55.4 GB17.5 GB
87.8 GB27.2 GB
1614.3 GB52.9 GB
3227.2 GB104 GB
6452.9 GB208 GB

One card, with vLLM's small-card settings.

From the model card

What microsoft says about DialoGPT-medium

Read the model card

A State-of-the-Art Large-scale Pretrained Response generation model (DialoGPT)

DialoGPT is a SOTA large-scale pretrained dialogue response generation model for multiturn conversations. The human evaluation results indicate that the response generated from DialoGPT is comparable to human response quality under a single-turn conversation Turing test. The model is trained on 147M multi-turn dialogue from Reddit discussion thread.

  • Multi-turn generation examples from an interactive environment:
RoleResponse
UserDoes money buy happiness?
BotDepends how much money you spend on it .
UserWhat is the best way to buy happiness ?
BotYou just have to be a millionaire by your early 20s, then you can be happy .
UserThis is so difficult !
BotYou have no idea how hard it is to be a millionaire and happy . There is a reason the rich have a lot of money

Please find the information about preprocessing, training and full details of the DialoGPT in the original DialoGPT repository

ArXiv paper: https://arxiv.org/abs/1911.00536

How to use

Now we are ready to try out how the model works as a chatting partner!

from transformers import AutoModelForCausalLM, AutoTokenizer
import torch

tokenizer = AutoTokenizer.from_pretrained("microsoft/DialoGPT-medium")
model = AutoModelForCausalLM.from_pretrained("microsoft/DialoGPT-medium")

# Let's chat for 5 lines
for step in range(5):
	# encode the new user input, add the eos_token and return a tensor in Pytorch
	new_user_input_ids = tokenizer.encode(input(">> User:") + tokenizer.eos_token, return_tensors='pt')

	# append the new user input tokens to the chat history
	bot_input_ids = torch.cat([chat_history_ids, new_user_input_ids], dim=-1) if step > 0 else new_user_input_ids

	# generated a response while limiting the total chat history to 1000 tokens,
	chat_history_ids = model.generate(bot_input_ids, max_length=1000, pad_token_id=tokenizer.eos_token_id)

	# pretty print last ouput tokens from bot
	print("DialoGPT: {}".format(tokenizer.decode(chat_history_ids[:, bot_input_ids.shape[-1]:][0], skip_special_tokens=True)))

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms