Archive of AI

Source Snapshot / 2018-06-openai-1-2

首代 GPT 官方代码及模型仓库

Linked event: 2018-06-11 · OpenAI Unveils First-Generation GPT, Open-Sourcing Generative Pretraining and Task Fine-Tuning Research

Publisher
OpenAI/GitHub
Archived
2026-11-23
Capture Method
Direct page capture
HTTP / SHA-256
200 / 9d8b62fd675cee1b
Original URL
Open source ↗
Wayback Backup
Not archived
This page preserves a plain-text static snapshot against link rot. When citing figures, tables, or full legal terms, verify against the original URL and Wayback Machine archive.

Skip to content

Navigation Menu

Appearance settings

You signed in with another tab or window. Reload to refresh your session.

You signed out in another tab or window. Reload to refresh your session.

You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

{{ message }}

This repository was archived by the owner on Apr 8, 2026. It is now read-only.

Repository navigation

finetune-transformer-lm

Public archive

NotificationsYou must be signed in to change notification settings

Fork525 (525)

Star2.3k (2.3k)You must be signed in to star a repository

Code and model for the paper "Improving Language Understanding by Generative Pre-Training"

s3-us-west-2.amazonaws.com/openai-assets/research-covers/language-unsupervised/language_understanding_paper.pdf

Custom properties

Report repository

BranchesTags

Open more actions menu

Latest commit

Folders and files

Last commit message

Last commit date

text_utils.py

View all files

Repository files navigation

Status: Archive (code is provided as-is, no updates expected)

Currently this code implements the ROCStories Cloze Test result reported in the paper by running:

python train.py --dataset rocstories --desc rocstories --submit --analysis --data_dir [path to data here]

Note: The code is currently non-deterministic due to various GPU ops. The median accuracy of 10 runs with this codebase (using default hyperparameters) is 85.8% - slightly lower than the reported single run of 86.5% from the paper.

The ROCStories dataset can be downloaded from the associated website.

Contributors

You can’t perform that action at this time.