← all repositories

openai/gpt-2

OpenAI's GPT-2 language model implementation with released model weights and sampling code.

24.9k stars Python Language Models
gpt-2
Velocity · 7d
+9.3
★ / day
Trend
steady
star history

This repository contains the official code and pretrained model weights for GPT-2, OpenAI’s 1.5 billion parameter transformer language model. It provides inference code for conditional text generation, model architecture definitions, and utilities for loading and sampling from the model across multiple sizes (small through large).

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.