GitXplorerGitXplorer
o

gpt-2

public
22259 stars
5485 forks
176 issues

Commits

List of commits on branch master.
Verified
41a6793dc620cff197cc27880dc8257c53831736

Update README.md

cchristopherhesse committed 5 years ago
Unverified
c0859d7523841035798ba8200b1a3cdf069138ab

Fix TODO in sample.sample_sequences- Avoid 'leaving last token calculation to while loop' (#119)

aalbertwujj committed 5 years ago
Unverified
e5c5054474f583d6d9499624649353995d63c70a

allow models to be in a separate folder via models_dir argument (#129)

mmemo committed 5 years ago
Unverified
dd75299dfec802cc0ee8b7bcc7ac4c2d05622bf8

remove samples

WWuTheFWasThat committed 5 years ago
Unverified
b5ef71a922efc2357f2e668182a58d80414c7e03

reference dataset

WWuTheFWasThat committed 5 years ago
Unverified
0503b1b24969ccbaf93a5d05f2c2588dabff1c46

updates for 345M model

WWuTheFWasThat committed 5 years ago

README

The README file for this repository.

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

gpt-2

Code and models from the paper "Language Models are Unsupervised Multitask Learners".

You can read about GPT-2 and its staged release in our original blog post, 6 month follow-up post, and final post.

We have also released a dataset for researchers to study their behaviors.

* Note that our original parameter counts were wrong due to an error (in our previous blog posts and paper). Thus you may have seen small referred to as 117M and medium referred to as 345M.

Usage

This repository is meant to be a starting point for researchers and engineers to experiment with GPT-2.

For basic information, see our model card.

Some caveats

  • GPT-2 models' robustness and worst case behaviors are not well-understood. As with any machine-learned model, carefully evaluate GPT-2 for your use case, especially if used without fine-tuning or in safety-critical applications where reliability is important.
  • The dataset our GPT-2 models were trained on contains many texts with biases and factual inaccuracies, and thus GPT-2 models are likely to be biased and inaccurate as well.
  • To avoid having samples mistaken as human-written, we recommend clearly labeling samples as synthetic before wide dissemination. Our models are often incoherent or inaccurate in subtle ways, which takes more than a quick read for a human to notice.

Work with us

Please let us know if you’re doing interesting research with or working on applications of GPT-2! We’re especially interested in hearing from and potentially working with those who are studying

  • Potential malicious use cases and defenses against them (e.g. the detectability of synthetic text)
  • The extent of problematic content (e.g. bias) being baked into the models and effective mitigations

Development

See DEVELOPERS.md

Contributors

See CONTRIBUTORS.md

Citation

Please use the following bibtex entry:

@article{radford2019language,
  title={Language Models are Unsupervised Multitask Learners},
  author={Radford, Alec and Wu, Jeff and Child, Rewon and Luan, David and Amodei, Dario and Sutskever, Ilya},
  year={2019}
}

Future work

We may release code for evaluating the models on various benchmarks.

We are still considering release of the larger models.

License

Modified MIT