stellaathena commited on
Commit
a420051
1 Parent(s): f856adc

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +82 -0
README.md ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ tags:
5
+ - text generation
6
+ - pytorch
7
+ - the Pile
8
+ - causal-lm
9
+ license: apache-2.0
10
+ datasets:
11
+ - the Pile
12
+ ---
13
+
14
+ # GPT-Neo 125M
15
+
16
+ ## Model Description
17
+
18
+ GPT-Neo 125M is a transformer model designed using EleutherAI's replication of the GPT-3 architecture. GPT-Neo refers to the class of models, while 125M represents the number of parameters of this particular pre-trained model.
19
+
20
+ ## Training data
21
+
22
+ GPT-Neo 125M was trained on the Pile, a large scale curated dataset created by EleutherAI for the purpose of training this model.
23
+
24
+ ## Training procedure
25
+
26
+ This model was trained for 400,000 steps on the Pile. It was trained as a masked autoregressive language model, using cross-entropy loss.
27
+
28
+ ## Intended Use and Limitations
29
+
30
+ This way, the model learns an inner representation of the English language that can then be used to extract features useful for downstream tasks. The model is best at what it was pretrained for however, which is generating texts from a prompt.
31
+
32
+ ### How to use
33
+
34
+ You can use this model directly with a pipeline for text generation. This example generates a different sequence each time it's run:
35
+
36
+ ```py
37
+ >>> from transformers import pipeline
38
+ >>> generator = pipeline('text-generation', model='EleutherAI/gpt-neo-125M')
39
+ >>> generator("EleutherAI has", do_sample=True, min_length=50)
40
+
41
+ [{'generated_text': 'EleutherAI has made a commitment to create new software packages for each of its major clients and has'}]
42
+ ```
43
+
44
+ ### Limitations and Biases
45
+
46
+ GPT-Neo was trained as an autoregressive language model. This means that its core functionality is taking a string of text and predicting the next token. While language models are widely used for tasks other than this, there are a lot of unknowns with this work.
47
+
48
+ GPT-Neo was trained on the Pile, a dataset known to contain profanity, lewd, and otherwise abrasive language. Depending on your usecase GPT-Neo may produce socially unacceptable text. See Sections 5 and 6 of the Pile paper for a more detailed analysis of the biases in the Pile.
49
+
50
+ As with all language models, it is hard to predict in advance how GPT-Neo will respond to particular prompts and offensive content may occur without warning. We recommend having a human curate or filter the outputs before releasing them, both to censor undesirable content and to improve the quality of the results.
51
+
52
+ ## Eval results
53
+
54
+ TBD
55
+
56
+ ### Down-Stream Applications
57
+
58
+ TBD
59
+
60
+ ### BibTeX entry and citation info
61
+
62
+ To cite this model, use
63
+ ```bibtex
64
+ @article{gao2020pile,
65
+ title={The Pile: An 800GB Dataset of Diverse Text for Language Modeling},
66
+ author={Gao, Leo and Biderman, Stella and Black, Sid and Golding, Laurence and Hoppe, Travis and Foster, Charles and Phang, Jason and He, Horace and Thite, Anish and Nabeshima, Noa and others},
67
+ journal={arXiv preprint arXiv:2101.00027},
68
+ year={2020}
69
+ }
70
+ ```
71
+
72
+ To cite the codebase that this model was trained with, use
73
+
74
+ ```bibtex
75
+ @software{gpt-neo,
76
+ author = {Black, Sid and Gao, Leo and Wang, Phil and Leahy, Connor and Biderman, Stella},
77
+ title = {{GPT-Neo}: Large Scale Autoregressive Language Modeling with Mesh-Tensorflow},
78
+ url = {http://github.com/eleutherai/gpt-neo},
79
+ version = {1.0},
80
+ year = {2021},
81
+ }
82
+ ```