← all repositories

openai/gpt-2

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

25k stars Python Language Models
gpt-2
Not currently ranked — collecting fresh signals.
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).

Frequently asked

What is openai/gpt-2?
OpenAI's GPT-2 language model implementation with released model weights and sampling code.
Is gpt-2 open source?
Yes — openai/gpt-2 is an open-source project tracked on heatdrop.
What language is gpt-2 written in?
openai/gpt-2 is primarily written in Python.
How popular is gpt-2?
openai/gpt-2 has 25k stars on GitHub.
Where can I find gpt-2?
openai/gpt-2 is on GitHub at https://github.com/openai/gpt-2.

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