TheBloke commited on
Commit
4d6b21d
1 Parent(s): ad6f07a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +197 -6
README.md CHANGED
@@ -1,6 +1,11 @@
1
  ---
2
  inference: false
3
  license: other
 
 
 
 
 
4
  ---
5
 
6
  <!-- header start -->
@@ -19,15 +24,17 @@ license: other
19
 
20
  # Elinas' Chronos 33B merged with Kaio Ken's SuperHOT 8K fp16
21
 
22
- These files are pytorch format fp16 model files for [Elinas' Chronos 33B merged with Kaio Ken's SuperHOT 8K](https://huggingface.co/kaiokendev/superhot-30b-8k-no-rlhf-test).
23
 
24
- It is the result of merging and/or converting the source repository to float16.
 
 
25
 
26
  ## Repositories available
27
 
28
  * [4-bit GPTQ models for GPU inference](https://huggingface.co/TheBloke/chronos-33b-superhot-8k-fp16)
29
- * [2, 3, 4, 5, 6 and 8-bit GGML models for CPU+GPU inference](https://huggingface.co/none)
30
- * [Unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/TheBloke/chronos-33b-superhot-8k-fp16)
31
 
32
  <!-- footer start -->
33
  ## Discord
@@ -57,8 +64,7 @@ Thank you to all my generous patrons and donaters!
57
 
58
  <!-- footer end -->
59
 
60
- # Original model card: Elinas' Chronos 33B merged with Kaio Ken's SuperHOT 8K
61
-
62
 
63
  ### SuperHOT Prototype 2 w/ 8K Context
64
 
@@ -89,3 +95,188 @@ I trained the LoRA with the following configuration:
89
  - weight decay of 0.1
90
  - AdamW beta1 of 0.9 and beta2 0.99, epsilon of 1e-5
91
  - Trained on 4-bit base model
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  inference: false
3
  license: other
4
+ tags:
5
+ - llama
6
+ - pytorch
7
+ - chatbot
8
+ - storywriting
9
  ---
10
 
11
  <!-- header start -->
 
24
 
25
  # Elinas' Chronos 33B merged with Kaio Ken's SuperHOT 8K fp16
26
 
27
+ These files are pytorch format fp16 model files for [Elinas' Chronos 33B](https://huggingface.co/elinas/chronos-33b) merged with [Kaio Ken's SuperHOT 30B 8K LoRA](https://huggingface.co/kaiokendev/superhot-30b-8k-no-rlhf-test) to produce a model capable of 8K context.
28
 
29
+ [Kaio Ken's SuperHOT 30B LoRA](https://huggingface.co/kaiokendev/superhot-30b-8k-no-rlhf-test) is merged on to the base model, and then 8K context can be achieved during inference by using the provided monkey patch (`llama_rope_scaled_monkey_patch.py`)
30
+
31
+ Alternatively, `config.json` can be modified to allow the monkey patch to load via trust_remote_code=True. I plan to update this repo shortly to include that method.
32
 
33
  ## Repositories available
34
 
35
  * [4-bit GPTQ models for GPU inference](https://huggingface.co/TheBloke/chronos-33b-superhot-8k-fp16)
36
+ * [Unquantised fp16 SuperHOT model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/TheBloke/chronos-33b-superhot-8k-fp16)
37
+ * [Unquantised fp16 base model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/elinas/chronos-33b)
38
 
39
  <!-- footer start -->
40
  ## Discord
 
64
 
65
  <!-- footer end -->
66
 
67
+ # Original model card: Kaio Ken's SuperHOT 8K
 
68
 
69
  ### SuperHOT Prototype 2 w/ 8K Context
70
 
 
95
  - weight decay of 0.1
96
  - AdamW beta1 of 0.9 and beta2 0.99, epsilon of 1e-5
97
  - Trained on 4-bit base model
98
+
99
+ # Original model card: Elinas' Chronos 33B
100
+
101
+ # chronos-33b
102
+
103
+ This is the fp16 PyTorch / HF version of **chronos-33b** - if you need another version, GGML and GPTQ versions are linked below.
104
+
105
+ This model is primarily focused on chat, roleplay, and storywriting, but can accomplish other tasks such as simple reasoning and coding.
106
+
107
+ Chronos generates very long outputs with coherent text, largely due to the human inputs it was trained on.
108
+
109
+ This model uses Alpaca formatting, so for optimal model performance, use:
110
+ ```
111
+ ### Instruction:
112
+ Your instruction or question here.
113
+ ### Response:
114
+ ```
115
+
116
+ [GGML Version provided by @TheBloke](https://huggingface.co/TheBloke/chronos-33b-GGML)
117
+
118
+ [4bit GPTQ Version provided by @TheBloke](https://huggingface.co/TheBloke/chronos-33b-GPTQ)
119
+
120
+ <!--**Support My Development of New Models**
121
+ <a href='https://ko-fi.com/Q5Q6MB734' target='_blank'><img height='36' style='border:0px;height:36px;'
122
+ src='https://storage.ko-fi.com/cdn/kofi1.png?v=3' border='0' alt='Support Development' /></a>-->
123
+
124
+ --
125
+ license: other
126
+ ---
127
+ # LLaMA Model Card
128
+
129
+ ## Model details
130
+ **Organization developing the model**
131
+ The FAIR team of Meta AI.
132
+
133
+ **Model date**
134
+ LLaMA was trained between December. 2022 and Feb. 2023.
135
+
136
+ **Model version**
137
+ This is version 1 of the model.
138
+
139
+ **Model type**
140
+ LLaMA is an auto-regressive language model, based on the transformer architecture. The model comes in different sizes: 7B, 13B, 33B and 65B parameters.
141
+
142
+ **Paper or resources for more information**
143
+ More information can be found in the paper “LLaMA, Open and Efficient Foundation Language Models”, available at https://research.facebook.com/publications/llama-open-and-efficient-foundation-language-models/.
144
+
145
+ **Citations details**
146
+ https://research.facebook.com/publications/llama-open-and-efficient-foundation-language-models/
147
+
148
+ **License**
149
+ Non-commercial bespoke license
150
+
151
+ **Where to send questions or comments about the model**
152
+ Questions and comments about LLaMA can be sent via the [GitHub repository](https://github.com/facebookresearch/llama) of the project , by opening an issue.
153
+
154
+ ## Intended use
155
+ **Primary intended uses**
156
+ The primary use of LLaMA is research on large language models, including:
157
+ exploring potential applications such as question answering, natural language understanding or reading comprehension,
158
+ understanding capabilities and limitations of current language models, and developing techniques to improve those,
159
+ evaluating and mitigating biases, risks, toxic and harmful content generations, hallucinations.
160
+
161
+ **Primary intended users**
162
+ The primary intended users of the model are researchers in natural language processing, machine learning and artificial intelligence.
163
+
164
+ **Out-of-scope use cases**
165
+ LLaMA is a base, or foundational, model. As such, it should not be used on downstream applications without further risk evaluation and mitigation. In particular, our model has not been trained with human feedback, and can thus generate toxic or offensive content, incorrect information or generally unhelpful answers.
166
+
167
+ ## Factors
168
+ **Relevant factors**
169
+ One of the most relevant factors for which model performance may vary is which language is used. Although we included 20 languages in the training data, most of our dataset is made of English text, and we thus expect the model to perform better for English than other languages. Relatedly, it has been shown in previous studies that performance might vary for different dialects, and we expect that it will be the case for our model.
170
+
171
+ **Evaluation factors**
172
+ As our model is trained on data from the Web, we expect that it reflects biases from this source. We thus evaluated on RAI datasets to measure biases exhibited by the model for gender, religion, race, sexual orientation, age, nationality, disability, physical appearance and socio-economic status. We also measure the toxicity of model generations, depending on the toxicity of the context used to prompt the model.
173
+
174
+ ## Metrics
175
+ **Model performance measures**
176
+ We use the following measure to evaluate the model:
177
+ - Accuracy for common sense reasoning, reading comprehension, natural language understanding (MMLU), BIG-bench hard, WinoGender and CrowS-Pairs,
178
+ - Exact match for question answering,
179
+ - The toxicity score from Perspective API on RealToxicityPrompts.
180
+
181
+ **Decision thresholds**
182
+ Not applicable.
183
+
184
+ **Approaches to uncertainty and variability**
185
+ Due to the high computational requirements of training LLMs, we trained only one model of each size, and thus could not evaluate variability of pre-training.
186
+
187
+ ## Evaluation datasets
188
+ The model was evaluated on the following benchmarks: BoolQ, PIQA, SIQA, HellaSwag, WinoGrande, ARC, OpenBookQA, NaturalQuestions, TriviaQA, RACE, MMLU, BIG-bench hard, GSM8k, RealToxicityPrompts, WinoGender, CrowS-Pairs.
189
+
190
+ ## Training dataset
191
+ The model was trained using the following source of data: CCNet [67%], C4 [15%], GitHub [4.5%], Wikipedia [4.5%], Books [4.5%], ArXiv [2.5%], Stack Exchange[2%]. The Wikipedia and Books domains include data in the following languages: bg, ca, cs, da, de, en, es, fr, hr, hu, it, nl, pl, pt, ro, ru, sl, sr, sv, uk. See the paper for more details about the training set and corresponding preprocessing.
192
+
193
+ ## Quantitative analysis
194
+ Hyperparameters for the model architecture
195
+
196
+
197
+ <table>
198
+ <thead>
199
+ <tr>
200
+ <th >LLaMA</th> <th colspan=6>Model hyper parameters </th>
201
+ </tr>
202
+ <tr>
203
+ <th>Number of parameters</th><th>dimension</th><th>n heads</th><th>n layers</th><th>Learn rate</th><th>Batch size</th><th>n tokens</th>
204
+ </tr>
205
+ </thead>
206
+ <tbody>
207
+ <tr>
208
+ <th>7B</th> <th>4096</th> <th>32</th> <th>32</th> <th>3.0E-04</th><th>4M</th><th>1T
209
+ </tr>
210
+ <tr>
211
+ <th>13B</th><th>5120</th><th>40</th><th>40</th><th>3.0E-04</th><th>4M</th><th>1T
212
+ </tr>
213
+ <tr>
214
+ <th>33B</th><th>6656</th><th>52</th><th>60</th><th>1.5.E-04</th><th>4M</th><th>1.4T
215
+ </tr>
216
+ <tr>
217
+ <th>65B</th><th>8192</th><th>64</th><th>80</th><th>1.5.E-04</th><th>4M</th><th>1.4T
218
+ </tr>
219
+ </tbody>
220
+ </table>
221
+
222
+ *Table 1 - Summary of LLama Model Hyperparameters*
223
+
224
+ We present our results on eight standard common sense reasoning benchmarks in the table below.
225
+ <table>
226
+ <thead>
227
+ <tr>
228
+ <th>LLaMA</th> <th colspan=9>Reasoning tasks </th>
229
+ </tr>
230
+ <tr>
231
+ <th>Number of parameters</th> <th>BoolQ</th><th>PIQA</th><th>SIQA</th><th>HellaSwag</th><th>WinoGrande</th><th>ARC-e</th><th>ARC-c</th><th>OBQA</th><th>COPA</th>
232
+ </tr>
233
+ </thead>
234
+ <tbody>
235
+ <tr>
236
+ <th>7B</th><th>76.5</th><th>79.8</th><th>48.9</th><th>76.1</th><th>70.1</th><th>76.7</th><th>47.6</th><th>57.2</th><th>93
237
+ </th>
238
+ <tr><th>13B</th><th>78.1</th><th>80.1</th><th>50.4</th><th>79.2</th><th>73</th><th>78.1</th><th>52.7</th><th>56.4</th><th>94
239
+ </th>
240
+ <tr><th>33B</th><th>83.1</th><th>82.3</th><th>50.4</th><th>82.8</th><th>76</th><th>81.4</th><th>57.8</th><th>58.6</th><th>92
241
+ </th>
242
+ <tr><th>65B</th><th>85.3</th><th>82.8</th><th>52.3</th><th>84.2</th><th>77</th><th>81.5</th><th>56</th><th>60.2</th><th>94</th></tr>
243
+ </tbody>
244
+ </table>
245
+ *Table 2 - Summary of LLama Model Performance on Reasoning tasks*
246
+
247
+
248
+ We present our results on bias in the table below. Note that lower value is better indicating lower bias.
249
+
250
+
251
+ | No | Category | FAIR LLM |
252
+ | --- | -------------------- | -------- |
253
+ | 1 | Gender | 70.6 |
254
+ | 2 | Religion | 79 |
255
+ | 3 | Race/Color | 57 |
256
+ | 4 | Sexual orientation | 81 |
257
+ | 5 | Age | 70.1 |
258
+ | 6 | Nationality | 64.2 |
259
+ | 7 | Disability | 66.7 |
260
+ | 8 | Physical appearance | 77.8 |
261
+ | 9 | Socioeconomic status | 71.5 |
262
+ | | LLaMA Average | 66.6 |
263
+
264
+ *Table 3 - Summary bias of our model output*
265
+
266
+
267
+
268
+ ## Ethical considerations
269
+ **Data**
270
+ The data used to train the model is collected from various sources, mostly from the Web. As such, it contains offensive, harmful and biased content. We thus expect the model to exhibit such biases from the training data.
271
+
272
+ **Human life**
273
+ The model is not intended to inform decisions about matters central to human life, and should not be used in such a way.
274
+
275
+ **Mitigations**
276
+ We filtered the data from the Web based on its proximity to Wikipedia text and references. For this, we used a Kneser-Ney language model and a fastText linear classifier.
277
+
278
+ **Risks and harms**
279
+ Risks and harms of large language models include the generation of harmful, offensive or biased content. These models are often prone to generating incorrect information, sometimes referred to as hallucinations. We do not expect our model to be an exception in this regard.
280
+
281
+ **Use cases**
282
+ LLaMA is a foundational model, and as such, it should not be used for downstream applications without further investigation and mitigations of risks. These risks and potential fraught use cases include, but are not limited to: generation of misinformation and generation of harmful, biased or offensive content.