TheBloke commited on
Commit
2ecfd76
1 Parent(s): a44eaf6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +185 -1
README.md CHANGED
@@ -1,6 +1,11 @@
1
  ---
2
  inference: false
3
  license: other
 
 
 
 
 
4
  ---
5
 
6
  <!-- header start -->
@@ -34,6 +39,14 @@ GGML files are for CPU + GPU inference using [llama.cpp](https://github.com/gger
34
  * [2, 3, 4, 5, 6 and 8-bit GGML models for CPU+GPU inference](https://huggingface.co/TheBloke/chronos-33b-GGML)
35
  * [Unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/elinas/chronos-33b)
36
 
 
 
 
 
 
 
 
 
37
  <!-- compatibility_ggml start -->
38
  ## Compatibility
39
 
@@ -130,4 +143,175 @@ Thank you to all my generous patrons and donaters!
130
 
131
  # Original model card: Elinas' Chronos 33B
132
 
133
- .
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  inference: false
3
  license: other
4
+ tags:
5
+ - llama
6
+ - pytorch
7
+ - chatbot
8
+ - storywriting
9
  ---
10
 
11
  <!-- header start -->
 
39
  * [2, 3, 4, 5, 6 and 8-bit GGML models for CPU+GPU inference](https://huggingface.co/TheBloke/chronos-33b-GGML)
40
  * [Unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/elinas/chronos-33b)
41
 
42
+ ## Prompt template
43
+
44
+ ```
45
+ ### Instruction:
46
+ Your instruction or question here.
47
+ ### Response:
48
+ ```
49
+
50
  <!-- compatibility_ggml start -->
51
  ## Compatibility
52
 
 
143
 
144
  # Original model card: Elinas' Chronos 33B
145
 
146
+
147
+ # chronos-33b
148
+
149
+ This is the fp16 PyTorch / HF version of **chronos-33b**
150
+
151
+ This model is primarily focused on chat, roleplay, and storywriting, but can accomplish other tasks such as simple reasoning and coding.
152
+
153
+ Chronos generates very long outputs with coherent text, largely due to the human inputs it was trained on.
154
+
155
+ This model uses Alpaca formatting, so for optimal model performance, use:
156
+ ```
157
+ ### Instruction:
158
+ Your instruction or question here.
159
+ ### Response:
160
+ ```
161
+
162
+ # LLaMA Model Card
163
+
164
+ ## Model details
165
+ **Organization developing the model**
166
+ The FAIR team of Meta AI.
167
+
168
+ **Model date**
169
+ LLaMA was trained between December. 2022 and Feb. 2023.
170
+
171
+ **Model version**
172
+ This is version 1 of the model.
173
+
174
+ **Model type**
175
+ LLaMA is an auto-regressive language model, based on the transformer architecture. The model comes in different sizes: 7B, 13B, 33B and 65B parameters.
176
+
177
+ **Paper or resources for more information**
178
+ 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/.
179
+
180
+ **Citations details**
181
+ https://research.facebook.com/publications/llama-open-and-efficient-foundation-language-models/
182
+
183
+ **License**
184
+ Non-commercial bespoke license
185
+
186
+ **Where to send questions or comments about the model**
187
+ Questions and comments about LLaMA can be sent via the [GitHub repository](https://github.com/facebookresearch/llama) of the project , by opening an issue.
188
+
189
+ ## Intended use
190
+ **Primary intended uses**
191
+ The primary use of LLaMA is research on large language models, including:
192
+ exploring potential applications such as question answering, natural language understanding or reading comprehension,
193
+ understanding capabilities and limitations of current language models, and developing techniques to improve those,
194
+ evaluating and mitigating biases, risks, toxic and harmful content generations, hallucinations.
195
+
196
+ **Primary intended users**
197
+ The primary intended users of the model are researchers in natural language processing, machine learning and artificial intelligence.
198
+
199
+ **Out-of-scope use cases**
200
+ 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.
201
+
202
+ ## Factors
203
+ **Relevant factors**
204
+ 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.
205
+
206
+ **Evaluation factors**
207
+ 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.
208
+
209
+ ## Metrics
210
+ **Model performance measures**
211
+ We use the following measure to evaluate the model:
212
+ - Accuracy for common sense reasoning, reading comprehension, natural language understanding (MMLU), BIG-bench hard, WinoGender and CrowS-Pairs,
213
+ - Exact match for question answering,
214
+ - The toxicity score from Perspective API on RealToxicityPrompts.
215
+
216
+ **Decision thresholds**
217
+ Not applicable.
218
+
219
+ **Approaches to uncertainty and variability**
220
+ 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.
221
+
222
+ ## Evaluation datasets
223
+ 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.
224
+
225
+ ## Training dataset
226
+ 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.
227
+
228
+ ## Quantitative analysis
229
+ Hyperparameters for the model architecture
230
+
231
+
232
+ <table>
233
+ <thead>
234
+ <tr>
235
+ <th >LLaMA</th> <th colspan=6>Model hyper parameters </th>
236
+ </tr>
237
+ <tr>
238
+ <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>
239
+ </tr>
240
+ </thead>
241
+ <tbody>
242
+ <tr>
243
+ <th>7B</th> <th>4096</th> <th>32</th> <th>32</th> <th>3.0E-04</th><th>4M</th><th>1T
244
+ </tr>
245
+ <tr>
246
+ <th>13B</th><th>5120</th><th>40</th><th>40</th><th>3.0E-04</th><th>4M</th><th>1T
247
+ </tr>
248
+ <tr>
249
+ <th>33B</th><th>6656</th><th>52</th><th>60</th><th>1.5.E-04</th><th>4M</th><th>1.4T
250
+ </tr>
251
+ <tr>
252
+ <th>65B</th><th>8192</th><th>64</th><th>80</th><th>1.5.E-04</th><th>4M</th><th>1.4T
253
+ </tr>
254
+ </tbody>
255
+ </table>
256
+
257
+ *Table 1 - Summary of LLama Model Hyperparameters*
258
+
259
+ We present our results on eight standard common sense reasoning benchmarks in the table below.
260
+ <table>
261
+ <thead>
262
+ <tr>
263
+ <th>LLaMA</th> <th colspan=9>Reasoning tasks </th>
264
+ </tr>
265
+ <tr>
266
+ <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>
267
+ </tr>
268
+ </thead>
269
+ <tbody>
270
+ <tr>
271
+ <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
272
+ </th>
273
+ <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
274
+ </th>
275
+ <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
276
+ </th>
277
+ <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>
278
+ </tbody>
279
+ </table>
280
+ *Table 2 - Summary of LLama Model Performance on Reasoning tasks*
281
+
282
+
283
+ We present our results on bias in the table below. Note that lower value is better indicating lower bias.
284
+
285
+
286
+ | No | Category | FAIR LLM |
287
+ | --- | -------------------- | -------- |
288
+ | 1 | Gender | 70.6 |
289
+ | 2 | Religion | 79 |
290
+ | 3 | Race/Color | 57 |
291
+ | 4 | Sexual orientation | 81 |
292
+ | 5 | Age | 70.1 |
293
+ | 6 | Nationality | 64.2 |
294
+ | 7 | Disability | 66.7 |
295
+ | 8 | Physical appearance | 77.8 |
296
+ | 9 | Socioeconomic status | 71.5 |
297
+ | | LLaMA Average | 66.6 |
298
+
299
+ *Table 3 - Summary bias of our model output*
300
+
301
+
302
+
303
+ ## Ethical considerations
304
+ **Data**
305
+ 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.
306
+
307
+ **Human life**
308
+ The model is not intended to inform decisions about matters central to human life, and should not be used in such a way.
309
+
310
+ **Mitigations**
311
+ 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.
312
+
313
+ **Risks and harms**
314
+ 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.
315
+
316
+ **Use cases**
317
+ 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.