RichardErkhov commited on
Commit
846ed4e
1 Parent(s): 9af09e4

uploaded readme

Browse files
Files changed (1) hide show
  1. README.md +122 -0
README.md ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Quantization made by Richard Erkhov.
2
+
3
+ [Github](https://github.com/RichardErkhov)
4
+
5
+ [Discord](https://discord.gg/pvy7H8DZMG)
6
+
7
+ [Request more models](https://github.com/RichardErkhov/quant_request)
8
+
9
+
10
+ gpt-neo-125m - bnb 4bits
11
+ - Model creator: https://huggingface.co/EleutherAI/
12
+ - Original model: https://huggingface.co/EleutherAI/gpt-neo-125m/
13
+
14
+
15
+
16
+
17
+ Original model description:
18
+ ---
19
+ language:
20
+ - en
21
+ tags:
22
+ - text generation
23
+ - pytorch
24
+ - causal-lm
25
+ license: mit
26
+ datasets:
27
+ - EleutherAI/pile
28
+ ---
29
+
30
+ # GPT-Neo 125M
31
+
32
+ ## Model Description
33
+
34
+ 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.
35
+
36
+ ## Training data
37
+
38
+ GPT-Neo 125M was trained on the Pile, a large scale curated dataset created by EleutherAI for the purpose of training this model.
39
+
40
+ ## Training procedure
41
+
42
+ This model was trained on the Pile for 300 billion tokens over 572,300 steps. It was trained as a masked autoregressive language model, using cross-entropy loss.
43
+
44
+ ## Intended Use and Limitations
45
+
46
+ 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.
47
+
48
+ ### How to use
49
+
50
+ You can use this model directly with a pipeline for text generation. This example generates a different sequence each time it's run:
51
+
52
+ ```py
53
+ >>> from transformers import pipeline
54
+ >>> generator = pipeline('text-generation', model='EleutherAI/gpt-neo-125M')
55
+ >>> generator("EleutherAI has", do_sample=True, min_length=20)
56
+
57
+ [{'generated_text': 'EleutherAI has made a commitment to create new software packages for each of its major clients and has'}]
58
+ ```
59
+
60
+ ### Limitations and Biases
61
+
62
+ 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.
63
+
64
+ 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.
65
+
66
+ 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.
67
+
68
+ ## Eval results
69
+
70
+ TBD
71
+
72
+ ### Down-Stream Applications
73
+
74
+ TBD
75
+
76
+ ### BibTeX entry and citation info
77
+
78
+ To cite this model, use
79
+ ```bibtex
80
+
81
+ @software{gpt-neo,
82
+
83
+ author = {Black, Sid and
84
+ Leo, Gao and
85
+ Wang, Phil and
86
+ Leahy, Connor and
87
+ Biderman, Stella},
88
+ title = {{GPT-Neo: Large Scale Autoregressive Language
89
+ Modeling with Mesh-Tensorflow}},
90
+ month = mar,
91
+ year = 2021,
92
+ note = {{If you use this software, please cite it using
93
+ these metadata.}},
94
+ publisher = {Zenodo},
95
+ version = {1.0},
96
+ doi = {10.5281/zenodo.5297715},
97
+ url = {https://doi.org/10.5281/zenodo.5297715}
98
+ }
99
+
100
+ @article{gao2020pile,
101
+ title={The Pile: An 800GB Dataset of Diverse Text for Language Modeling},
102
+ 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},
103
+ journal={arXiv preprint arXiv:2101.00027},
104
+ year={2020}
105
+ }
106
+
107
+ ```
108
+ # [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard)
109
+ Detailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/details_EleutherAI__gpt-neo-125m)
110
+
111
+ | Metric | Value |
112
+ |-----------------------|---------------------------|
113
+ | Avg. | 25.79 |
114
+ | ARC (25-shot) | 22.95 |
115
+ | HellaSwag (10-shot) | 30.26 |
116
+ | MMLU (5-shot) | 25.97 |
117
+ | TruthfulQA (0-shot) | 45.58 |
118
+ | Winogrande (5-shot) | 51.78 |
119
+ | GSM8K (5-shot) | 0.3 |
120
+ | DROP (3-shot) | 3.69 |
121
+
122
+