Text Generation
Transformers
Safetensors
English
llama
text-generation-inference
4-bit precision
gptq
TheBloke commited on
Commit
b172dab
1 Parent(s): 11cd889

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +217 -58
README.md CHANGED
@@ -1,12 +1,24 @@
1
  ---
2
- inference: false
3
- license: other
4
  datasets:
5
  - databricks/databricks-dolly-15k
6
  - OpenAssistant/oasst1
7
  - sahil2801/CodeAlpaca-20k
 
8
  language:
9
  - en
 
 
 
 
 
 
 
 
 
 
 
 
10
  ---
11
 
12
  <!-- header start -->
@@ -26,122 +38,191 @@ language:
26
  <hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
27
  <!-- header end -->
28
 
29
- # Allen AI's Tulu 13B GPTQ
 
 
30
 
31
- These files are GPTQ 4bit model files for [Allen AI's Tulu 13B](https://huggingface.co/allenai/tulu-13b).
 
32
 
33
- It is the result of quantising to 4bit using [GPTQ-for-LLaMa](https://github.com/qwopqwop200/GPTQ-for-LLaMa).
34
 
35
- ## Repositories available
36
 
37
- * [4-bit GPTQ models for GPU inference](https://huggingface.co/TheBloke/tulu-13B-GPTQ)
38
- * [2, 3, 4, 5, 6 and 8-bit GGML models for CPU+GPU inference](https://huggingface.co/TheBloke/tulu-13B-GGML)
39
- * [Unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/TheBloke/tulu-13B-fp16)
40
 
41
- ## Prompt template
 
 
 
 
42
 
43
- The following template should be used:
 
44
 
45
  ```
46
  <|user|>
47
- prompt goes here
48
  <|assistant|>
49
 
50
  ```
51
 
52
- **Note**: There should be a newline after `<|assistant|>`. This appears to be very important for getting this model to respond correctly.
 
 
53
 
54
- In other words, the prompt is:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
55
 
 
 
56
  ```
57
- <|user|>\nprompt goes here\n<|assistant|>\n
58
  ```
 
 
 
 
59
 
60
- ## How to easily download and use this model in text-generation-webui
61
 
62
- Please make sure you're using the latest version of text-generation-webui
63
 
64
  1. Click the **Model tab**.
65
  2. Under **Download custom model or LoRA**, enter `TheBloke/tulu-13B-GPTQ`.
 
 
66
  3. Click **Download**.
67
- 4. The model will start downloading. Once it's finished it will say "Done"
68
  5. In the top left, click the refresh icon next to **Model**.
69
  6. In the **Model** dropdown, choose the model you just downloaded: `tulu-13B-GPTQ`
70
  7. The model will automatically load, and is now ready for use!
71
  8. If you want any custom settings, set them and then click **Save settings for this model** followed by **Reload the Model** in the top right.
72
- * Note that you do not need to set GPTQ parameters any more. These are set automatically from the file `quantize_config.json`.
73
  9. Once you're ready, click the **Text Generation tab** and enter a prompt to get started!
 
74
 
 
75
  ## How to use this GPTQ model from Python code
76
 
77
- First make sure you have [AutoGPTQ](https://github.com/PanQiWei/AutoGPTQ) installed:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
78
 
79
- `pip install auto-gptq`
 
 
 
 
80
 
81
- Then try the following example code:
82
 
83
  ```python
84
- from transformers import AutoTokenizer, pipeline, logging
85
- from auto_gptq import AutoGPTQForCausalLM, BaseQuantizeConfig
86
- import argparse
87
 
88
  model_name_or_path = "TheBloke/tulu-13B-GPTQ"
89
- model_basename = "model"
90
-
91
- use_triton = False
 
 
 
92
 
93
  tokenizer = AutoTokenizer.from_pretrained(model_name_or_path, use_fast=True)
94
 
95
- model = AutoGPTQForCausalLM.from_quantized(model_name_or_path,
96
- model_basename=model_basename,
97
- use_safetensors=True,
98
- trust_remote_code=False,
99
- device="cuda:0",
100
- use_triton=use_triton,
101
- quantize_config=None)
102
-
103
  prompt = "Tell me about AI"
104
- prompt_template=f'''### Human: {prompt}
105
- ### Assistant:'''
 
 
 
106
 
107
  print("\n\n*** Generate:")
108
 
109
  input_ids = tokenizer(prompt_template, return_tensors='pt').input_ids.cuda()
110
- output = model.generate(inputs=input_ids, temperature=0.7, max_new_tokens=512)
111
  print(tokenizer.decode(output[0]))
112
 
113
  # Inference can also be done using transformers' pipeline
114
 
115
- # Prevent printing spurious transformers error when using pipeline with AutoGPTQ
116
- logging.set_verbosity(logging.CRITICAL)
117
-
118
  print("*** Pipeline:")
119
  pipe = pipeline(
120
  "text-generation",
121
  model=model,
122
  tokenizer=tokenizer,
123
  max_new_tokens=512,
 
124
  temperature=0.7,
125
  top_p=0.95,
126
- repetition_penalty=1.15
 
127
  )
128
 
129
  print(pipe(prompt_template)[0]['generated_text'])
130
  ```
 
131
 
132
- ## Provided files
 
133
 
134
- **gptq_model-4bit-128g.safetensors**
135
 
136
- This will work with AutoGPTQ and CUDA versions of GPTQ-for-LLaMa. There are reports of issues with Triton mode of recent GPTQ-for-LLaMa. If you have issues, please use AutoGPTQ instead.
137
 
138
- It was created with group_size 128 to increase inference accuracy, but without --act-order (desc_act) to increase compatibility and improve inference speed.
139
-
140
- * `gptq_model-4bit-128g.safetensors`
141
- * Works with AutoGPTQ in CUDA or Triton modes.
142
- * Works with GPTQ-for-LLaMa in CUDA mode. May have issues with GPTQ-for-LLaMa Triton mode.
143
- * Works with text-generation-webui, including one-click-installers.
144
- * Parameters: Groupsize = 128. Act Order / desc_act = False.
145
 
146
  <!-- footer start -->
147
  <!-- 200823 -->
@@ -151,10 +232,12 @@ For further support, and discussions on these models and AI in general, join us
151
 
152
  [TheBloke AI's Discord server](https://discord.gg/theblokeai)
153
 
154
- ## Thanks, and how to contribute.
155
 
156
  Thanks to the [chirper.ai](https://chirper.ai) team!
157
 
 
 
158
  I've had a lot of people ask if they can contribute. I enjoy providing models and helping people, and would love to be able to spend even more time doing it, as well as expanding into new projects like fine tuning/training.
159
 
160
  If you're able and willing to contribute it will be most gratefully received and will help me to keep providing more models, and to start work on new AI projects.
@@ -166,7 +249,7 @@ Donaters will get priority support on any and all AI/LLM/model questions and req
166
 
167
  **Special thanks to**: Aemon Algiz.
168
 
169
- **Patreon special mentions**: Sam, theTransient, Jonathan Leane, Steven Wood, webtim, Johann-Peter Hartmann, Geoffrey Montalvo, Gabriel Tamborski, Willem Michiel, John Villwock, Derek Yates, Mesiah Bishop, Eugene Pentland, Pieter, Chadd, Stephen Murray, Daniel P. Andersen, terasurfer, Brandon Frisco, Thomas Belote, Sid, Nathan LeClaire, Magnesian, Alps Aficionado, Stanislav Ovsiannikov, Alex, Joseph William Delisle, Nikolai Manek, Michael Davis, Junyu Yang, K, J, Spencer Kim, Stefan Sabev, Olusegun Samson, transmissions 11, Michael Levine, Cory Kujawski, Rainer Wilmers, zynix, Kalila, Luke @flexchar, Ajan Kanaga, Mandus, vamX, Ai Maven, Mano Prime, Matthew Berman, subjectnull, Vitor Caleffi, Clay Pascal, biorpg, alfie_i, 阿明, Jeffrey Morgan, ya boyyy, Raymond Fosdick, knownsqashed, Olakabola, Leonard Tan, ReadyPlayerEmma, Enrico Ros, Dave, Talal Aujan, Illia Dulskyi, Sean Connelly, senxiiz, Artur Olbinski, Elle, Raven Klaugh, Fen Risland, Deep Realms, Imad Khwaja, Fred von Graf, Will Dee, usrbinkat, SuperWojo, Alexandros Triantafyllidis, Swaroop Kallakuri, Dan Guido, John Detwiler, Pedro Madruga, Iucharbius, Viktor Bowallius, Asp the Wyvern, Edmond Seymore, Trenton Dambrowitz, Space Cruiser, Spiking Neurons AB, Pyrater, LangChain4j, Tony Hughes, Kacper Wikieł, Rishabh Srivastava, David Ziegler, Luke Pendergrass, Andrey, Gabriel Puliatti, Lone Striker, Sebastain Graf, Pierre Kircher, Randy H, NimbleBox.ai, Vadim, danny, Deo Leter
170
 
171
 
172
  Thank you to all my generous patrons and donaters!
@@ -178,6 +261,82 @@ And thank you again to a16z for their generous grant.
178
  # Original model card: Allen AI's Tulu 13B
179
 
180
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
181
  # Tulu 13B
182
 
183
  This model is a 13B LLaMa model finetuned on a mixture of instruction datasets (FLAN V2, CoT, Dolly, Open Assistant 1, GPT4-Alpaca, Code-Alpaca, and ShareGPT).
@@ -226,7 +385,7 @@ If you use this model, please cite our work, the llama paper, and the original d
226
 
227
  ```
228
  @misc{wang2023far,
229
- title={How Far Can Camels Go? Exploring the State of Instruction Tuning on Open Resources},
230
  author={Yizhong Wang and Hamish Ivison and Pradeep Dasigi and Jack Hessel and Tushar Khot and Khyathi Raghavi Chandu and David Wadden and Kelsey MacMillan and Noah A. Smith and Iz Beltagy and Hannaneh Hajishirzi},
231
  year={2023},
232
  eprint={2306.04751},
@@ -237,7 +396,7 @@ If you use this model, please cite our work, the llama paper, and the original d
237
 
238
  ```
239
  @misc{touvron2023llama,
240
- title={LLaMA: Open and Efficient Foundation Language Models},
241
  author={Hugo Touvron and Thibaut Lavril and Gautier Izacard and Xavier Martinet and Marie-Anne Lachaux and Timothée Lacroix and Baptiste Rozière and Naman Goyal and Eric Hambro and Faisal Azhar and Aurelien Rodriguez and Armand Joulin and Edouard Grave and Guillaume Lample},
242
  year={2023},
243
  eprint={2302.13971},
@@ -269,7 +428,7 @@ If you use this model, please cite our work, the llama paper, and the original d
269
 
270
  ```
271
  @misc{köpf2023openassistant,
272
- title={OpenAssistant Conversations -- Democratizing Large Language Model Alignment},
273
  author={Andreas Köpf and Yannic Kilcher and Dimitri von Rütte and Sotiris Anagnostidis and Zhi-Rui Tam and Keith Stevens and Abdullah Barhoum and Nguyen Minh Duc and Oliver Stanley and Richárd Nagyfi and Shahul ES and Sameer Suri and David Glushkov and Arnav Dantuluri and Andrew Maguire and Christoph Schuhmann and Huu Nguyen and Alexander Mattick},
274
  year={2023},
275
  eprint={2304.07327},
 
1
  ---
2
+ base_model: https://huggingface.co/allenai/tulu-13b
 
3
  datasets:
4
  - databricks/databricks-dolly-15k
5
  - OpenAssistant/oasst1
6
  - sahil2801/CodeAlpaca-20k
7
+ inference: false
8
  language:
9
  - en
10
+ license: other
11
+ model_creator: Allen Institute for AI
12
+ model_name: Tulu 13B
13
+ model_type: llama
14
+ prompt_template: '<|user|>
15
+
16
+ {prompt}
17
+
18
+ <|assistant|>
19
+
20
+ '
21
+ quantized_by: TheBloke
22
  ---
23
 
24
  <!-- header start -->
 
38
  <hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
39
  <!-- header end -->
40
 
41
+ # Tulu 13B - GPTQ
42
+ - Model creator: [Allen Institute for AI](https://huggingface.co/allenai)
43
+ - Original model: [Tulu 13B](https://huggingface.co/allenai/tulu-13b)
44
 
45
+ <!-- description start -->
46
+ ## Description
47
 
48
+ This repo contains GPTQ model files for [Allen AI's Tulu 13B](https://huggingface.co/allenai/tulu-13b).
49
 
50
+ Multiple GPTQ parameter permutations are provided; see Provided Files below for details of the options provided, their parameters, and the software used to create them.
51
 
52
+ <!-- description end -->
53
+ <!-- repositories-available start -->
54
+ ## Repositories available
55
 
56
+ * [AWQ model(s) for GPU inference.](https://huggingface.co/TheBloke/tulu-13B-AWQ)
57
+ * [GPTQ models for GPU inference, with multiple quantisation parameter options.](https://huggingface.co/TheBloke/tulu-13B-GPTQ)
58
+ * [2, 3, 4, 5, 6 and 8-bit GGUF models for CPU+GPU inference](https://huggingface.co/TheBloke/tulu-13B-GGUF)
59
+ * [Allen Institute for AI's original unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/TheBloke/tulu-13B-fp16)
60
+ <!-- repositories-available end -->
61
 
62
+ <!-- prompt-template start -->
63
+ ## Prompt template: Tulu
64
 
65
  ```
66
  <|user|>
67
+ {prompt}
68
  <|assistant|>
69
 
70
  ```
71
 
72
+ <!-- prompt-template end -->
73
+ <!-- licensing start -->
74
+ ## Licensing
75
 
76
+ The creator of the source model has listed its license as `other`, and this quantization has therefore used that same license.
77
+
78
+ As this model is based on Llama 2, it is also subject to the Meta Llama 2 license terms, and the license files for that are additionally included. It should therefore be considered as being claimed to be licensed under both licenses. I contacted Hugging Face for clarification on dual licensing but they do not yet have an official position. Should this change, or should Meta provide any feedback on this situation, I will update this section accordingly.
79
+
80
+ In the meantime, any questions regarding licensing, and in particular how these two licenses might interact, should be directed to the original model repository: [Allen AI's Tulu 13B](https://huggingface.co/allenai/tulu-13b).
81
+ <!-- licensing end -->
82
+ <!-- README_GPTQ.md-provided-files start -->
83
+ ## Provided files and GPTQ parameters
84
+
85
+ Multiple quantisation parameters are provided, to allow you to choose the best one for your hardware and requirements.
86
+
87
+ Each separate quant is in a different branch. See below for instructions on fetching from different branches.
88
+
89
+ All recent GPTQ files are made with AutoGPTQ, and all files in non-main branches are made with AutoGPTQ. Files in the `main` branch which were uploaded before August 2023 were made with GPTQ-for-LLaMa.
90
+
91
+ <details>
92
+ <summary>Explanation of GPTQ parameters</summary>
93
+
94
+ - Bits: The bit size of the quantised model.
95
+ - GS: GPTQ group size. Higher numbers use less VRAM, but have lower quantisation accuracy. "None" is the lowest possible value.
96
+ - Act Order: True or False. Also known as `desc_act`. True results in better quantisation accuracy. Some GPTQ clients have had issues with models that use Act Order plus Group Size, but this is generally resolved now.
97
+ - Damp %: A GPTQ parameter that affects how samples are processed for quantisation. 0.01 is default, but 0.1 results in slightly better accuracy.
98
+ - GPTQ dataset: The dataset used for quantisation. Using a dataset more appropriate to the model's training can improve quantisation accuracy. Note that the GPTQ dataset is not the same as the dataset used to train the model - please refer to the original model repo for details of the training dataset(s).
99
+ - Sequence Length: The length of the dataset sequences used for quantisation. Ideally this is the same as the model sequence length. For some very long sequence models (16+K), a lower sequence length may have to be used. Note that a lower sequence length does not limit the sequence length of the quantised model. It only impacts the quantisation accuracy on longer inference sequences.
100
+ - ExLlama Compatibility: Whether this file can be loaded with ExLlama, which currently only supports Llama models in 4-bit.
101
+
102
+ </details>
103
+
104
+ | Branch | Bits | GS | Act Order | Damp % | GPTQ Dataset | Seq Len | Size | ExLlama | Desc |
105
+ | ------ | ---- | -- | --------- | ------ | ------------ | ------- | ---- | ------- | ---- |
106
+ | [main](https://huggingface.co/TheBloke/tulu-13B-GPTQ/tree/main) | 4 | 128 | No | 0.01 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 2048 | 7.26 GB | Yes | 4-bit, without Act Order and group size 128g. |
107
+
108
+ <!-- README_GPTQ.md-provided-files end -->
109
+
110
+ <!-- README_GPTQ.md-download-from-branches start -->
111
+ ## How to download from branches
112
 
113
+ - In text-generation-webui, you can add `:branch` to the end of the download name, eg `TheBloke/tulu-13B-GPTQ:main`
114
+ - With Git, you can clone a branch with:
115
  ```
116
+ git clone --single-branch --branch main https://huggingface.co/TheBloke/tulu-13B-GPTQ
117
  ```
118
+ - In Python Transformers code, the branch is the `revision` parameter; see below.
119
+ <!-- README_GPTQ.md-download-from-branches end -->
120
+ <!-- README_GPTQ.md-text-generation-webui start -->
121
+ ## How to easily download and use this model in [text-generation-webui](https://github.com/oobabooga/text-generation-webui).
122
 
123
+ Please make sure you're using the latest version of [text-generation-webui](https://github.com/oobabooga/text-generation-webui).
124
 
125
+ It is strongly recommended to use the text-generation-webui one-click-installers unless you're sure you know how to make a manual install.
126
 
127
  1. Click the **Model tab**.
128
  2. Under **Download custom model or LoRA**, enter `TheBloke/tulu-13B-GPTQ`.
129
+ - To download from a specific branch, enter for example `TheBloke/tulu-13B-GPTQ:main`
130
+ - see Provided Files above for the list of branches for each option.
131
  3. Click **Download**.
132
+ 4. The model will start downloading. Once it's finished it will say "Done".
133
  5. In the top left, click the refresh icon next to **Model**.
134
  6. In the **Model** dropdown, choose the model you just downloaded: `tulu-13B-GPTQ`
135
  7. The model will automatically load, and is now ready for use!
136
  8. If you want any custom settings, set them and then click **Save settings for this model** followed by **Reload the Model** in the top right.
137
+ * Note that you do not need to and should not set manual GPTQ parameters any more. These are set automatically from the file `quantize_config.json`.
138
  9. Once you're ready, click the **Text Generation tab** and enter a prompt to get started!
139
+ <!-- README_GPTQ.md-text-generation-webui end -->
140
 
141
+ <!-- README_GPTQ.md-use-from-python start -->
142
  ## How to use this GPTQ model from Python code
143
 
144
+ ### Install the necessary packages
145
+
146
+ Requires: Transformers 4.32.0 or later, Optimum 1.12.0 or later, and AutoGPTQ 0.4.2 or later.
147
+
148
+ ```shell
149
+ pip3 install transformers>=4.32.0 optimum>=1.12.0
150
+ pip3 install auto-gptq --extra-index-url https://huggingface.github.io/autogptq-index/whl/cu118/ # Use cu117 if on CUDA 11.7
151
+ ```
152
+
153
+ If you have problems installing AutoGPTQ using the pre-built wheels, install it from source instead:
154
+
155
+ ```shell
156
+ pip3 uninstall -y auto-gptq
157
+ git clone https://github.com/PanQiWei/AutoGPTQ
158
+ cd AutoGPTQ
159
+ pip3 install .
160
+ ```
161
+
162
+ ### For CodeLlama models only: you must use Transformers 4.33.0 or later.
163
 
164
+ If 4.33.0 is not yet released when you read this, you will need to install Transformers from source:
165
+ ```shell
166
+ pip3 uninstall -y transformers
167
+ pip3 install git+https://github.com/huggingface/transformers.git
168
+ ```
169
 
170
+ ### You can then use the following code
171
 
172
  ```python
173
+ from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
 
 
174
 
175
  model_name_or_path = "TheBloke/tulu-13B-GPTQ"
176
+ # To use a different branch, change revision
177
+ # For example: revision="main"
178
+ model = AutoModelForCausalLM.from_pretrained(model_name_or_path,
179
+ device_map="auto",
180
+ trust_remote_code=False,
181
+ revision="main")
182
 
183
  tokenizer = AutoTokenizer.from_pretrained(model_name_or_path, use_fast=True)
184
 
 
 
 
 
 
 
 
 
185
  prompt = "Tell me about AI"
186
+ prompt_template=f'''<|user|>
187
+ {prompt}
188
+ <|assistant|>
189
+
190
+ '''
191
 
192
  print("\n\n*** Generate:")
193
 
194
  input_ids = tokenizer(prompt_template, return_tensors='pt').input_ids.cuda()
195
+ output = model.generate(inputs=input_ids, temperature=0.7, do_sample=True, top_p=0.95, top_k=40, max_new_tokens=512)
196
  print(tokenizer.decode(output[0]))
197
 
198
  # Inference can also be done using transformers' pipeline
199
 
 
 
 
200
  print("*** Pipeline:")
201
  pipe = pipeline(
202
  "text-generation",
203
  model=model,
204
  tokenizer=tokenizer,
205
  max_new_tokens=512,
206
+ do_sample=True,
207
  temperature=0.7,
208
  top_p=0.95,
209
+ top_k=40,
210
+ repetition_penalty=1.1
211
  )
212
 
213
  print(pipe(prompt_template)[0]['generated_text'])
214
  ```
215
+ <!-- README_GPTQ.md-use-from-python end -->
216
 
217
+ <!-- README_GPTQ.md-compatibility start -->
218
+ ## Compatibility
219
 
220
+ The files provided are tested to work with AutoGPTQ, both via Transformers and using AutoGPTQ directly. They should also work with [Occ4m's GPTQ-for-LLaMa fork](https://github.com/0cc4m/KoboldAI).
221
 
222
+ [ExLlama](https://github.com/turboderp/exllama) is compatible with Llama models in 4-bit. Please see the Provided Files table above for per-file compatibility.
223
 
224
+ [Huggingface Text Generation Inference (TGI)](https://github.com/huggingface/text-generation-inference) is compatible with all GPTQ models.
225
+ <!-- README_GPTQ.md-compatibility end -->
 
 
 
 
 
226
 
227
  <!-- footer start -->
228
  <!-- 200823 -->
 
232
 
233
  [TheBloke AI's Discord server](https://discord.gg/theblokeai)
234
 
235
+ ## Thanks, and how to contribute
236
 
237
  Thanks to the [chirper.ai](https://chirper.ai) team!
238
 
239
+ Thanks to Clay from [gpus.llm-utils.org](llm-utils)!
240
+
241
  I've had a lot of people ask if they can contribute. I enjoy providing models and helping people, and would love to be able to spend even more time doing it, as well as expanding into new projects like fine tuning/training.
242
 
243
  If you're able and willing to contribute it will be most gratefully received and will help me to keep providing more models, and to start work on new AI projects.
 
249
 
250
  **Special thanks to**: Aemon Algiz.
251
 
252
+ **Patreon special mentions**: Alicia Loh, Stephen Murray, K, Ajan Kanaga, RoA, Magnesian, Deo Leter, Olakabola, Eugene Pentland, zynix, Deep Realms, Raymond Fosdick, Elijah Stavena, Iucharbius, Erik Bjäreholt, Luis Javier Navarrete Lozano, Nicholas, theTransient, John Detwiler, alfie_i, knownsqashed, Mano Prime, Willem Michiel, Enrico Ros, LangChain4j, OG, Michael Dempsey, Pierre Kircher, Pedro Madruga, James Bentley, Thomas Belote, Luke @flexchar, Leonard Tan, Johann-Peter Hartmann, Illia Dulskyi, Fen Risland, Chadd, S_X, Jeff Scroggin, Ken Nordquist, Sean Connelly, Artur Olbinski, Swaroop Kallakuri, Jack West, Ai Maven, David Ziegler, Russ Johnson, transmissions 11, John Villwock, Alps Aficionado, Clay Pascal, Viktor Bowallius, Subspace Studios, Rainer Wilmers, Trenton Dambrowitz, vamX, Michael Levine, 준교 김, Brandon Frisco, Kalila, Trailburnt, Randy H, Talal Aujan, Nathan Dryer, Vadim, 阿明, ReadyPlayerEmma, Tiffany J. Kim, George Stoitzev, Spencer Kim, Jerry Meng, Gabriel Tamborski, Cory Kujawski, Jeffrey Morgan, Spiking Neurons AB, Edmond Seymore, Alexandros Triantafyllidis, Lone Striker, Cap'n Zoog, Nikolai Manek, danny, ya boyyy, Derek Yates, usrbinkat, Mandus, TL, Nathan LeClaire, subjectnull, Imad Khwaja, webtim, Raven Klaugh, Asp the Wyvern, Gabriel Puliatti, Caitlyn Gatomon, Joseph William Delisle, Jonathan Leane, Luke Pendergrass, SuperWojo, Sebastain Graf, Will Dee, Fred von Graf, Andrey, Dan Guido, Daniel P. Andersen, Nitin Borwankar, Elle, Vitor Caleffi, biorpg, jjj, NimbleBox.ai, Pieter, Matthew Berman, terasurfer, Michael Davis, Alex, Stanislav Ovsiannikov
253
 
254
 
255
  Thank you to all my generous patrons and donaters!
 
261
  # Original model card: Allen AI's Tulu 13B
262
 
263
 
264
+ <!-- header start -->
265
+ <div style="width: 100%;">
266
+ <img src="https://i.imgur.com/EBdldam.jpg" alt="TheBlokeAI" style="width: 100%; min-width: 400px; display: block; margin: auto;">
267
+ </div>
268
+ <div style="display: flex; justify-content: space-between; width: 100%;">
269
+ <div style="display: flex; flex-direction: column; align-items: flex-start;">
270
+ <p><a href="https://discord.gg/Jq4vkcDakD">Chat & support: my new Discord server</a></p>
271
+ </div>
272
+ <div style="display: flex; flex-direction: column; align-items: flex-end;">
273
+ <p><a href="https://www.patreon.com/TheBlokeAI">Want to contribute? TheBloke's Patreon page</a></p>
274
+ </div>
275
+ </div>
276
+ <!-- header end -->
277
+
278
+ # Allen AI's Tulu 13B fp16
279
+
280
+ These files are pytorch format fp16 model files for [Allen AI's Tulu 13B](https://huggingface.co/allenai/tulu-13b).
281
+
282
+ It is the result of merging and/or converting the source repository to float16.
283
+
284
+ ## Repositories available
285
+
286
+ * [4-bit GPTQ models for GPU inference](https://huggingface.co/TheBloke/tulu-13B-GPTQ)
287
+ * [2, 3, 4, 5, 6 and 8-bit GGML models for CPU+GPU inference](https://huggingface.co/TheBloke/tulu-13B-GGML)
288
+ * [Unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/TheBloke/tulu-13B-fp16)
289
+
290
+ ## Prompt template
291
+
292
+ The following template should be used:
293
+
294
+ ```
295
+ <|user|>
296
+ prompt goes here
297
+ <|assistant|>
298
+
299
+ ```
300
+
301
+ **Note**: There should be a newline after `<|assistant|>`. This appears to be very important for getting this model to respond correctly.
302
+
303
+ In other words, the prompt is:
304
+
305
+ ```
306
+ <|user|>\nprompt goes here\n<|assistant|>\n
307
+ ```
308
+
309
+ <!-- footer start -->
310
+ ## Discord
311
+
312
+ For further support, and discussions on these models and AI in general, join us at:
313
+
314
+ [TheBloke AI's Discord server](https://discord.gg/Jq4vkcDakD)
315
+
316
+ ## Thanks, and how to contribute.
317
+
318
+ Thanks to the [chirper.ai](https://chirper.ai) team!
319
+
320
+ I've had a lot of people ask if they can contribute. I enjoy providing models and helping people, and would love to be able to spend even more time doing it, as well as expanding into new projects like fine tuning/training.
321
+
322
+ If you're able and willing to contribute it will be most gratefully received and will help me to keep providing more models, and to start work on new AI projects.
323
+
324
+ Donaters will get priority support on any and all AI/LLM/model questions and requests, access to a private Discord room, plus other benefits.
325
+
326
+ * Patreon: https://patreon.com/TheBlokeAI
327
+ * Ko-Fi: https://ko-fi.com/TheBlokeAI
328
+
329
+ **Special thanks to**: Luke from CarbonQuill, Aemon Algiz, Dmitriy Samsonov.
330
+
331
+ **Patreon special mentions**: Oscar Rangel, Eugene Pentland, Talal Aujan, Cory Kujawski, Luke, Asp the Wyvern, Ai Maven, Pyrater, Alps Aficionado, senxiiz, Willem Michiel, Junyu Yang, trip7s trip, Sebastain Graf, Joseph William Delisle, Lone Striker, Jonathan Leane, Johann-Peter Hartmann, David Flickinger, Spiking Neurons AB, Kevin Schuppel, Mano Prime, Dmitriy Samsonov, Sean Connelly, Nathan LeClaire, Alain Rossmann, Fen Risland, Derek Yates, Luke Pendergrass, Nikolai Manek, Khalefa Al-Ahmad, Artur Olbinski, John Detwiler, Ajan Kanaga, Imad Khwaja, Trenton Dambrowitz, Kalila, vamX, webtim, Illia Dulskyi.
332
+
333
+ Thank you to all my generous patrons and donaters!
334
+
335
+ <!-- footer end -->
336
+
337
+ # Original model card: Allen AI's Tulu 13B
338
+
339
+
340
  # Tulu 13B
341
 
342
  This model is a 13B LLaMa model finetuned on a mixture of instruction datasets (FLAN V2, CoT, Dolly, Open Assistant 1, GPT4-Alpaca, Code-Alpaca, and ShareGPT).
 
385
 
386
  ```
387
  @misc{wang2023far,
388
+ title={How Far Can Camels Go? Exploring the State of Instruction Tuning on Open Resources},
389
  author={Yizhong Wang and Hamish Ivison and Pradeep Dasigi and Jack Hessel and Tushar Khot and Khyathi Raghavi Chandu and David Wadden and Kelsey MacMillan and Noah A. Smith and Iz Beltagy and Hannaneh Hajishirzi},
390
  year={2023},
391
  eprint={2306.04751},
 
396
 
397
  ```
398
  @misc{touvron2023llama,
399
+ title={LLaMA: Open and Efficient Foundation Language Models},
400
  author={Hugo Touvron and Thibaut Lavril and Gautier Izacard and Xavier Martinet and Marie-Anne Lachaux and Timothée Lacroix and Baptiste Rozière and Naman Goyal and Eric Hambro and Faisal Azhar and Aurelien Rodriguez and Armand Joulin and Edouard Grave and Guillaume Lample},
401
  year={2023},
402
  eprint={2302.13971},
 
428
 
429
  ```
430
  @misc{köpf2023openassistant,
431
+ title={OpenAssistant Conversations -- Democratizing Large Language Model Alignment},
432
  author={Andreas Köpf and Yannic Kilcher and Dimitri von Rütte and Sotiris Anagnostidis and Zhi-Rui Tam and Keith Stevens and Abdullah Barhoum and Nguyen Minh Duc and Oliver Stanley and Richárd Nagyfi and Shahul ES and Sameer Suri and David Glushkov and Arnav Dantuluri and Andrew Maguire and Christoph Schuhmann and Huu Nguyen and Alexander Mattick},
433
  year={2023},
434
  eprint={2304.07327},