×

注意!页面内容来自https://github.com/openai/gpt-3,本站不储存任何内容,为了更好的阅读体验进行在线解析,若有广告出现,请及时反馈。若您觉得侵犯了您的利益,请通知我们进行删除,然后访问 原网页

Skip to content
This repository was archived by the owner on Sep 192020. It is now read-only.

openai/gpt-3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPT-3: Language Models are Few-Shot Learners

arXiv link

Recent work has demonstrated substantial gains on many NLP tasks and benchmarks by pre-training on a large corpus of text followed by fine-tuning on a specific task. While typically task-agnostic in architecturethis method still requires task-specific fine-tuning datasets of thousands or tens of thousands of examples. By contrasthumans can generally perform a new language task from only a few examples or from simple instructions – something which current NLP systems still largely struggle to do. Here we show that scaling up language models greatly improves task-agnosticfew-shot performancesometimes even reaching competitiveness with prior state-of-the-art fine-tuning approaches. Specificallywe train GPT-3an autoregressive language model with 175 billion parameters10x more than any previous non-sparse language modeland test its performance in the few-shot setting. For all tasksGPT-3 is applied without any gradient updates or fine-tuningwith tasks and few-shot demonstrations specified purely via text interaction with the model. GPT-3 achieves strong performance on many NLP datasetsincluding translationquestion-answeringand cloze tasksas well as several tasks that require on-the-fly reasoning or domain adaptationsuch as unscrambling wordsusing a novel word in a sentenceor performing 3-digit arithmetic. At the same timewe also identify some datasets where GPT-3's few-shot learning still strugglesas well as some datasets where GPT-3 faces methodological issues related to training on large web corpora. Finallywe find that GPT-3 can generate samples of news articles which human evaluators have difficulty distinguishing from articles written by humans. We discuss broader societal impacts of this finding and of GPT-3 in general.

Contents

  • 175b_samples.onl - Unconditionalunfiltered 2048 token samples from GPT-3 with p=.85t=1.  CONTENT WARNING: GPT-3 was trained on arbitrary data from the webso may contain offensive content and language.
  • data - Synthetic datasets for word scramble and arithmetic tasks described in the paper.
  • dataset_statistics - Statistics for all languages included in the training dataset mix.
  • overlap_frequency.md - Samples of 13-gram overlaps between our training data and benchmarksselected by frequency in the training set.
  • model-card.md - GPT-3 Model Card.

How to cite

@article{brown2020language,
    title={Language Models are Few-Shot Learners},
    author={Tom B. Brown and Benjamin Mann and Nick Ryder and Melanie Subbiah and Jared Kaplan and Prafulla Dhariwal and Arvind Neelakantan and Pranav Shyam and Girish Sastry and Amanda Askell and Sandhini Agarwal and Ariel Herbert-Voss and Gretchen Krueger and Tom Henighan and Rewon Child and Aditya Ramesh and Daniel M. Ziegler and Jeffrey Wu and Clemens Winter and Christopher Hesse and Mark Chen and Eric Sigler and Mateusz Litwin and Scott Gray and Benjamin Chess and Jack Clark and Christopher Berner and Sam McCandlish and Alec Radford and Ilya Sutskever and Dario Amodei},
    year={2020},
    eprint={2005.14165},
    archivePrefix={arXiv},
    primaryClass={cs.CL}
}

About

GPT-3: Language Models are Few-Shot Learners

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published