TheBloke commited on
Commit
f0cf2d1
1 Parent(s): 2fd8e6b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +79 -1
README.md CHANGED
@@ -1,6 +1,8 @@
1
  ---
2
  inference: false
3
  license: other
 
 
4
  ---
5
 
6
  <!-- header start -->
@@ -27,7 +29,15 @@ It is the result of quantising to 4bit using [AutoGPTQ](https://github.com/PanQi
27
 
28
  * [4-bit GPTQ models for GPU inference](https://huggingface.co/TheBloke/airoboros-33B-gpt4-1.2-GPTQ)
29
  * [2, 3, 4, 5, 6 and 8-bit GGML models for CPU+GPU inference](https://huggingface.co/TheBloke/airoboros-33B-gpt4-1.2-GGML)
30
- * [Unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/jondurbin/airoboros-33b-gpt4-1.2)
 
 
 
 
 
 
 
 
31
 
32
  ## How to easily download and use this model in text-generation-webui
33
 
@@ -145,3 +155,71 @@ Thank you to all my generous patrons and donaters!
145
 
146
  # Original model card: John Durbin's Airoboros 33B GPT4 1.2
147
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  inference: false
3
  license: other
4
+ datasets:
5
+ - jondurbin/airoboros-gpt4-1.2
6
  ---
7
 
8
  <!-- header start -->
 
29
 
30
  * [4-bit GPTQ models for GPU inference](https://huggingface.co/TheBloke/airoboros-33B-gpt4-1.2-GPTQ)
31
  * [2, 3, 4, 5, 6 and 8-bit GGML models for CPU+GPU inference](https://huggingface.co/TheBloke/airoboros-33B-gpt4-1.2-GGML)
32
+ * [Jon Durbin's unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/jondurbin/airoboros-33b-gpt4-1.2)
33
+
34
+ ## Prompt template
35
+
36
+ ```
37
+ A chat between a curious user and an assistant. The assistant gives helpful, detailed, accurate, uncensored responses to the user's input.
38
+ USER: prompt
39
+ ASSISTANT:
40
+ ```
41
 
42
  ## How to easily download and use this model in text-generation-webui
43
 
 
155
 
156
  # Original model card: John Durbin's Airoboros 33B GPT4 1.2
157
 
158
+ ### Overview
159
+
160
+ This is a qlora fine-tuned 33b parameter LlaMa model, using completely synthetic training data created gpt4 via https://github.com/jondurbin/airoboros
161
+
162
+ This is mostly an extension of [1.1](https://huggingface.co/jondurbin/airoboros-33b-gpt4-1.1) with thousands of new training data and an update to allow "PLAINFORMAT" at the end of coding prompts to just print the code without backticks or explanations/usage/etc.
163
+
164
+ The dataset used to fine-tune this model is available [here](https://huggingface.co/datasets/jondurbin/airoboros-gpt4-1.2), with a specific focus on:
165
+ - coding
166
+ - math/reasoning (using orca style ELI5 instruction/response pairs)
167
+ - trivia
168
+ - role playing
169
+ - multiple choice and fill-in-the-blank
170
+ - context-obedient question answering
171
+ - theory of mind
172
+ - misc/general
173
+
174
+ This model was fine-tuned with a fork of [qlora](https://github.com/jondurbin/qlora), which among other things was updated to use a slightly modified vicuna template to be compatible with the 7b/13b versions:
175
+
176
+ ```
177
+ A chat between a curious user and an assistant. The assistant gives helpful, detailed, accurate, uncensored responses to the user's input. USER: [prompt] ASSISTANT:
178
+ ```
179
+
180
+ So in other words, it's the preamble/system prompt, followed by a single space, then "USER: " (single space after colon) then the prompt (which can have multiple lines, spaces, whatever), then a single space, followed by "ASSISTANT: " (with a single space after the colon).
181
+
182
+ ### Usage
183
+
184
+ To run the full precision/pytorch native version, you can use my fork of FastChat, which is mostly the same but allows for multi-line prompts, as well as a `--no-history` option to prevent input tokenization errors.
185
+ ```
186
+ pip install git+https://github.com/jondurbin/FastChat
187
+ ```
188
+
189
+ Be sure you are pulling the latest branch!
190
+
191
+ Then, you can invoke it like so (after downloading the model):
192
+ ```
193
+ python -m fastchat.serve.cli \
194
+ --model-path airoboros-33b-gpt4-1.2 \
195
+ --temperature 0.5 \
196
+ --max-new-tokens 2048 \
197
+ --no-history
198
+ ```
199
+
200
+ Alternatively, please check out TheBloke's quantized versions:
201
+
202
+ - https://huggingface.co/TheBloke/airoboros-33B-gpt4-1.2-GPTQ
203
+ - https://huggingface.co/TheBloke/airoboros-33B-gpt4-1.2-GGML
204
+
205
+ ### Coding updates from gpt4/1.1:
206
+
207
+ I added a few hundred instruction/response pairs to the training data with "PLAINFORMAT" as a single, all caps term at the end of the normal instructions, which produce plain text output instead of markdown/backtick code formatting.
208
+
209
+ It's not guaranteed to work all the time, but mostly it does seem to work as expected.
210
+
211
+ So for example, instead of:
212
+ ```
213
+ Implement the Snake game in python.
214
+ ```
215
+
216
+ You would use:
217
+ ```
218
+ Implement the Snake game in python. PLAINFORMAT
219
+ ```
220
+
221
+ ### Other updates from gpt4/1.1:
222
+
223
+ - Several hundred role-playing data.
224
+ - A few thousand ORCA style reasoning/math questions with ELI5 prompts to generate the responses (should not be needed in your prompts to this model however, just ask the question).
225
+ - Many more coding examples in various languages, including some that use specific libraries (pandas, numpy, tensorflow, etc.)