TheBloke commited on
Commit
b36161a
1 Parent(s): a7eb914

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +442 -0
README.md ADDED
@@ -0,0 +1,442 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: ValiantLabs/ShiningValiantXS
3
+ inference: false
4
+ language:
5
+ - en
6
+ license: llama2
7
+ model_creator: Valiant Labs
8
+ model_name: ShiningValiantXS 13B
9
+ model_type: llama
10
+ pipeline_tag: text-generation
11
+ prompt_template: '[INST] <<SYS>>
12
+
13
+ You are a helpful, respectful and honest assistant. Always answer as helpfully as
14
+ possible, while being safe. Your answers should not include any harmful, unethical,
15
+ racist, sexist, toxic, dangerous, or illegal content. Please ensure that your responses
16
+ are socially unbiased and positive in nature. If a question does not make any sense,
17
+ or is not factually coherent, explain why instead of answering something not correct.
18
+ If you don''t know the answer to a question, please don''t share false information.
19
+
20
+ <</SYS>>
21
+
22
+ {prompt} [/INST]
23
+
24
+ '
25
+ quantized_by: TheBloke
26
+ tags:
27
+ - shining-valiant
28
+ - valiant
29
+ - valiant-labs
30
+ - llama
31
+ - llama-2
32
+ - llama-2-chat
33
+ - 13b
34
+ ---
35
+ <!-- markdownlint-disable MD041 -->
36
+
37
+ <!-- header start -->
38
+ <!-- 200823 -->
39
+ <div style="width: auto; margin-left: auto; margin-right: auto">
40
+ <img src="https://i.imgur.com/EBdldam.jpg" alt="TheBlokeAI" style="width: 100%; min-width: 400px; display: block; margin: auto;">
41
+ </div>
42
+ <div style="display: flex; justify-content: space-between; width: 100%;">
43
+ <div style="display: flex; flex-direction: column; align-items: flex-start;">
44
+ <p style="margin-top: 0.5em; margin-bottom: 0em;"><a href="https://discord.gg/theblokeai">Chat & support: TheBloke's Discord server</a></p>
45
+ </div>
46
+ <div style="display: flex; flex-direction: column; align-items: flex-end;">
47
+ <p style="margin-top: 0.5em; margin-bottom: 0em;"><a href="https://www.patreon.com/TheBlokeAI">Want to contribute? TheBloke's Patreon page</a></p>
48
+ </div>
49
+ </div>
50
+ <div style="text-align:center; margin-top: 0em; margin-bottom: 0em"><p style="margin-top: 0.25em; margin-bottom: 0em;">TheBloke's LLM work is generously supported by a grant from <a href="https://a16z.com">andreessen horowitz (a16z)</a></p></div>
51
+ <hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
52
+ <!-- header end -->
53
+
54
+ # ShiningValiantXS 13B - GPTQ
55
+ - Model creator: [Valiant Labs](https://huggingface.co/ValiantLabs)
56
+ - Original model: [ShiningValiantXS 13B](https://huggingface.co/ValiantLabs/ShiningValiantXS)
57
+
58
+ <!-- description start -->
59
+ # Description
60
+
61
+ This repo contains GPTQ model files for [Valiant Labs's ShiningValiantXS 13B](https://huggingface.co/ValiantLabs/ShiningValiantXS).
62
+
63
+ 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.
64
+
65
+ These files were quantised using hardware kindly provided by [Massed Compute](https://massedcompute.com/).
66
+
67
+ <!-- description end -->
68
+ <!-- repositories-available start -->
69
+ ## Repositories available
70
+
71
+ * [AWQ model(s) for GPU inference.](https://huggingface.co/TheBloke/ShiningValiantXS-AWQ)
72
+ * [GPTQ models for GPU inference, with multiple quantisation parameter options.](https://huggingface.co/TheBloke/ShiningValiantXS-GPTQ)
73
+ * [2, 3, 4, 5, 6 and 8-bit GGUF models for CPU+GPU inference](https://huggingface.co/TheBloke/ShiningValiantXS-GGUF)
74
+ * [Valiant Labs's original unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/ValiantLabs/ShiningValiantXS)
75
+ <!-- repositories-available end -->
76
+
77
+ <!-- prompt-template start -->
78
+ ## Prompt template: Llama-2-Chat
79
+
80
+ ```
81
+ [INST] <<SYS>>
82
+ You are a helpful, respectful and honest assistant. Always answer as helpfully as possible, while being safe. Your answers should not include any harmful, unethical, racist, sexist, toxic, dangerous, or illegal content. Please ensure that your responses are socially unbiased and positive in nature. If a question does not make any sense, or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information.
83
+ <</SYS>>
84
+ {prompt} [/INST]
85
+
86
+ ```
87
+
88
+ <!-- prompt-template end -->
89
+
90
+
91
+
92
+ <!-- README_GPTQ.md-compatible clients start -->
93
+ ## Known compatible clients / servers
94
+
95
+ These GPTQ models are known to work in the following inference servers/webuis.
96
+
97
+ - [text-generation-webui](https://github.com/oobabooga/text-generation-webui)
98
+ - [KoboldAI United](https://github.com/henk717/koboldai)
99
+ - [LoLLMS Web UI](https://github.com/ParisNeo/lollms-webui)
100
+ - [Hugging Face Text Generation Inference (TGI)](https://github.com/huggingface/text-generation-inference)
101
+
102
+ This may not be a complete list; if you know of others, please let me know!
103
+ <!-- README_GPTQ.md-compatible clients end -->
104
+
105
+ <!-- README_GPTQ.md-provided-files start -->
106
+ ## Provided files, and GPTQ parameters
107
+
108
+ Multiple quantisation parameters are provided, to allow you to choose the best one for your hardware and requirements.
109
+
110
+ Each separate quant is in a different branch. See below for instructions on fetching from different branches.
111
+
112
+ Most GPTQ files are made with AutoGPTQ. Mistral models are currently made with Transformers.
113
+
114
+ <details>
115
+ <summary>Explanation of GPTQ parameters</summary>
116
+
117
+ - Bits: The bit size of the quantised model.
118
+ - GS: GPTQ group size. Higher numbers use less VRAM, but have lower quantisation accuracy. "None" is the lowest possible value.
119
+ - 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.
120
+ - Damp %: A GPTQ parameter that affects how samples are processed for quantisation. 0.01 is default, but 0.1 results in slightly better accuracy.
121
+ - GPTQ dataset: The calibration dataset used during quantisation. Using a dataset more appropriate to the model's training can improve quantisation accuracy. Note that the GPTQ calibration 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).
122
+ - 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.
123
+ - ExLlama Compatibility: Whether this file can be loaded with ExLlama, which currently only supports Llama and Mistral models in 4-bit.
124
+
125
+ </details>
126
+
127
+ | Branch | Bits | GS | Act Order | Damp % | GPTQ Dataset | Seq Len | Size | ExLlama | Desc |
128
+ | ------ | ---- | -- | --------- | ------ | ------------ | ------- | ---- | ------- | ---- |
129
+ | [main](https://huggingface.co/TheBloke/ShiningValiantXS-GPTQ/tree/main) | 4 | 128 | Yes | 0.1 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-raw-v1) | 4096 | 7.26 GB | Yes | 4-bit, with Act Order and group size 128g. Uses even less VRAM than 64g, but with slightly lower accuracy. |
130
+ | [gptq-4bit-32g-actorder_True](https://huggingface.co/TheBloke/ShiningValiantXS-GPTQ/tree/gptq-4bit-32g-actorder_True) | 4 | 32 | Yes | 0.1 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-raw-v1) | 4096 | 8.00 GB | Yes | 4-bit, with Act Order and group size 32g. Gives highest possible inference quality, with maximum VRAM usage. |
131
+ | [gptq-8bit--1g-actorder_True](https://huggingface.co/TheBloke/ShiningValiantXS-GPTQ/tree/gptq-8bit--1g-actorder_True) | 8 | None | Yes | 0.1 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-raw-v1) | 4096 | 13.36 GB | No | 8-bit, with Act Order. No group size, to lower VRAM requirements. |
132
+ | [gptq-8bit-128g-actorder_True](https://huggingface.co/TheBloke/ShiningValiantXS-GPTQ/tree/gptq-8bit-128g-actorder_True) | 8 | 128 | Yes | 0.1 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-raw-v1) | 4096 | 13.65 GB | No | 8-bit, with group size 128g for higher inference quality and with Act Order for even higher accuracy. |
133
+ | [gptq-8bit-32g-actorder_True](https://huggingface.co/TheBloke/ShiningValiantXS-GPTQ/tree/gptq-8bit-32g-actorder_True) | 8 | 32 | Yes | 0.1 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-raw-v1) | 4096 | 14.54 GB | No | 8-bit, with group size 32g and Act Order for maximum inference quality. |
134
+ | [gptq-4bit-64g-actorder_True](https://huggingface.co/TheBloke/ShiningValiantXS-GPTQ/tree/gptq-4bit-64g-actorder_True) | 4 | 64 | Yes | 0.1 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-raw-v1) | 4096 | 7.51 GB | Yes | 4-bit, with Act Order and group size 64g. Uses less VRAM than 32g, but with slightly lower accuracy. |
135
+
136
+ <!-- README_GPTQ.md-provided-files end -->
137
+
138
+ <!-- README_GPTQ.md-download-from-branches start -->
139
+ ## How to download, including from branches
140
+
141
+ ### In text-generation-webui
142
+
143
+ To download from the `main` branch, enter `TheBloke/ShiningValiantXS-GPTQ` in the "Download model" box.
144
+
145
+ To download from another branch, add `:branchname` to the end of the download name, eg `TheBloke/ShiningValiantXS-GPTQ:gptq-4bit-32g-actorder_True`
146
+
147
+ ### From the command line
148
+
149
+ I recommend using the `huggingface-hub` Python library:
150
+
151
+ ```shell
152
+ pip3 install huggingface-hub
153
+ ```
154
+
155
+ To download the `main` branch to a folder called `ShiningValiantXS-GPTQ`:
156
+
157
+ ```shell
158
+ mkdir ShiningValiantXS-GPTQ
159
+ huggingface-cli download TheBloke/ShiningValiantXS-GPTQ --local-dir ShiningValiantXS-GPTQ --local-dir-use-symlinks False
160
+ ```
161
+
162
+ To download from a different branch, add the `--revision` parameter:
163
+
164
+ ```shell
165
+ mkdir ShiningValiantXS-GPTQ
166
+ huggingface-cli download TheBloke/ShiningValiantXS-GPTQ --revision gptq-4bit-32g-actorder_True --local-dir ShiningValiantXS-GPTQ --local-dir-use-symlinks False
167
+ ```
168
+
169
+ <details>
170
+ <summary>More advanced huggingface-cli download usage</summary>
171
+
172
+ If you remove the `--local-dir-use-symlinks False` parameter, the files will instead be stored in the central Hugging Face cache directory (default location on Linux is: `~/.cache/huggingface`), and symlinks will be added to the specified `--local-dir`, pointing to their real location in the cache. This allows for interrupted downloads to be resumed, and allows you to quickly clone the repo to multiple places on disk without triggering a download again. The downside, and the reason why I don't list that as the default option, is that the files are then hidden away in a cache folder and it's harder to know where your disk space is being used, and to clear it up if/when you want to remove a download model.
173
+
174
+ The cache location can be changed with the `HF_HOME` environment variable, and/or the `--cache-dir` parameter to `huggingface-cli`.
175
+
176
+ For more documentation on downloading with `huggingface-cli`, please see: [HF -> Hub Python Library -> Download files -> Download from the CLI](https://huggingface.co/docs/huggingface_hub/guides/download#download-from-the-cli).
177
+
178
+ To accelerate downloads on fast connections (1Gbit/s or higher), install `hf_transfer`:
179
+
180
+ ```shell
181
+ pip3 install hf_transfer
182
+ ```
183
+
184
+ And set environment variable `HF_HUB_ENABLE_HF_TRANSFER` to `1`:
185
+
186
+ ```shell
187
+ mkdir ShiningValiantXS-GPTQ
188
+ HF_HUB_ENABLE_HF_TRANSFER=1 huggingface-cli download TheBloke/ShiningValiantXS-GPTQ --local-dir ShiningValiantXS-GPTQ --local-dir-use-symlinks False
189
+ ```
190
+
191
+ Windows Command Line users: You can set the environment variable by running `set HF_HUB_ENABLE_HF_TRANSFER=1` before the download command.
192
+ </details>
193
+
194
+ ### With `git` (**not** recommended)
195
+
196
+ To clone a specific branch with `git`, use a command like this:
197
+
198
+ ```shell
199
+ git clone --single-branch --branch gptq-4bit-32g-actorder_True https://huggingface.co/TheBloke/ShiningValiantXS-GPTQ
200
+ ```
201
+
202
+ Note that using Git with HF repos is strongly discouraged. It will be much slower than using `huggingface-hub`, and will use twice as much disk space as it has to store the model files twice (it stores every byte both in the intended target folder, and again in the `.git` folder as a blob.)
203
+
204
+ <!-- README_GPTQ.md-download-from-branches end -->
205
+ <!-- README_GPTQ.md-text-generation-webui start -->
206
+ ## How to easily download and use this model in [text-generation-webui](https://github.com/oobabooga/text-generation-webui)
207
+
208
+ Please make sure you're using the latest version of [text-generation-webui](https://github.com/oobabooga/text-generation-webui).
209
+
210
+ 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.
211
+
212
+ 1. Click the **Model tab**.
213
+ 2. Under **Download custom model or LoRA**, enter `TheBloke/ShiningValiantXS-GPTQ`.
214
+
215
+ - To download from a specific branch, enter for example `TheBloke/ShiningValiantXS-GPTQ:gptq-4bit-32g-actorder_True`
216
+ - see Provided Files above for the list of branches for each option.
217
+
218
+ 3. Click **Download**.
219
+ 4. The model will start downloading. Once it's finished it will say "Done".
220
+ 5. In the top left, click the refresh icon next to **Model**.
221
+ 6. In the **Model** dropdown, choose the model you just downloaded: `ShiningValiantXS-GPTQ`
222
+ 7. The model will automatically load, and is now ready for use!
223
+ 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.
224
+
225
+ - 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`.
226
+
227
+ 9. Once you're ready, click the **Text Generation** tab and enter a prompt to get started!
228
+
229
+ <!-- README_GPTQ.md-text-generation-webui end -->
230
+
231
+ <!-- README_GPTQ.md-use-from-tgi start -->
232
+ ## Serving this model from Text Generation Inference (TGI)
233
+
234
+ It's recommended to use TGI version 1.1.0 or later. The official Docker container is: `ghcr.io/huggingface/text-generation-inference:1.1.0`
235
+
236
+ Example Docker parameters:
237
+
238
+ ```shell
239
+ --model-id TheBloke/ShiningValiantXS-GPTQ --port 3000 --quantize gptq --max-input-length 3696 --max-total-tokens 4096 --max-batch-prefill-tokens 4096
240
+ ```
241
+
242
+ Example Python code for interfacing with TGI (requires huggingface-hub 0.17.0 or later):
243
+
244
+ ```shell
245
+ pip3 install huggingface-hub
246
+ ```
247
+
248
+ ```python
249
+ from huggingface_hub import InferenceClient
250
+
251
+ endpoint_url = "https://your-endpoint-url-here"
252
+
253
+ prompt = "Tell me about AI"
254
+ prompt_template=f'''[INST] <<SYS>>
255
+ You are a helpful, respectful and honest assistant. Always answer as helpfully as possible, while being safe. Your answers should not include any harmful, unethical, racist, sexist, toxic, dangerous, or illegal content. Please ensure that your responses are socially unbiased and positive in nature. If a question does not make any sense, or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information.
256
+ <</SYS>>
257
+ {prompt} [/INST]
258
+ '''
259
+
260
+ client = InferenceClient(endpoint_url)
261
+ response = client.text_generation(prompt,
262
+ max_new_tokens=128,
263
+ do_sample=True,
264
+ temperature=0.7,
265
+ top_p=0.95,
266
+ top_k=40,
267
+ repetition_penalty=1.1)
268
+
269
+ print(f"Model output: {response}")
270
+ ```
271
+ <!-- README_GPTQ.md-use-from-tgi end -->
272
+ <!-- README_GPTQ.md-use-from-python start -->
273
+ ## Python code example: inference from this GPTQ model
274
+
275
+ ### Install the necessary packages
276
+
277
+ Requires: Transformers 4.33.0 or later, Optimum 1.12.0 or later, and AutoGPTQ 0.4.2 or later.
278
+
279
+ ```shell
280
+ pip3 install --upgrade transformers optimum
281
+ # If using PyTorch 2.1 + CUDA 12.x:
282
+ pip3 install --upgrade auto-gptq
283
+ # or, if using PyTorch 2.1 + CUDA 11.x:
284
+ pip3 install --upgrade auto-gptq --extra-index-url https://huggingface.github.io/autogptq-index/whl/cu118/
285
+ ```
286
+
287
+ If you are using PyTorch 2.0, you will need to install AutoGPTQ from source. Likewise if you have problems with the pre-built wheels, you should try building from source:
288
+
289
+ ```shell
290
+ pip3 uninstall -y auto-gptq
291
+ git clone https://github.com/PanQiWei/AutoGPTQ
292
+ cd AutoGPTQ
293
+ git checkout v0.5.1
294
+ pip3 install .
295
+ ```
296
+
297
+ ### Example Python code
298
+
299
+ ```python
300
+ from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
301
+
302
+ model_name_or_path = "TheBloke/ShiningValiantXS-GPTQ"
303
+ # To use a different branch, change revision
304
+ # For example: revision="gptq-4bit-32g-actorder_True"
305
+ model = AutoModelForCausalLM.from_pretrained(model_name_or_path,
306
+ device_map="auto",
307
+ trust_remote_code=False,
308
+ revision="main")
309
+
310
+ tokenizer = AutoTokenizer.from_pretrained(model_name_or_path, use_fast=True)
311
+
312
+ prompt = "Tell me about AI"
313
+ prompt_template=f'''[INST] <<SYS>>
314
+ You are a helpful, respectful and honest assistant. Always answer as helpfully as possible, while being safe. Your answers should not include any harmful, unethical, racist, sexist, toxic, dangerous, or illegal content. Please ensure that your responses are socially unbiased and positive in nature. If a question does not make any sense, or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information.
315
+ <</SYS>>
316
+ {prompt} [/INST]
317
+ '''
318
+
319
+ print("\n\n*** Generate:")
320
+
321
+ input_ids = tokenizer(prompt_template, return_tensors='pt').input_ids.cuda()
322
+ output = model.generate(inputs=input_ids, temperature=0.7, do_sample=True, top_p=0.95, top_k=40, max_new_tokens=512)
323
+ print(tokenizer.decode(output[0]))
324
+
325
+ # Inference can also be done using transformers' pipeline
326
+
327
+ print("*** Pipeline:")
328
+ pipe = pipeline(
329
+ "text-generation",
330
+ model=model,
331
+ tokenizer=tokenizer,
332
+ max_new_tokens=512,
333
+ do_sample=True,
334
+ temperature=0.7,
335
+ top_p=0.95,
336
+ top_k=40,
337
+ repetition_penalty=1.1
338
+ )
339
+
340
+ print(pipe(prompt_template)[0]['generated_text'])
341
+ ```
342
+ <!-- README_GPTQ.md-use-from-python end -->
343
+
344
+ <!-- README_GPTQ.md-compatibility start -->
345
+ ## Compatibility
346
+
347
+ The files provided are tested to work with Transformers. For non-Mistral models, AutoGPTQ can also be used directly.
348
+
349
+ [ExLlama](https://github.com/turboderp/exllama) is compatible with Llama and Mistral models in 4-bit. Please see the Provided Files table above for per-file compatibility.
350
+
351
+ For a list of clients/servers, please see "Known compatible clients / servers", above.
352
+ <!-- README_GPTQ.md-compatibility end -->
353
+
354
+ <!-- footer start -->
355
+ <!-- 200823 -->
356
+ ## Discord
357
+
358
+ For further support, and discussions on these models and AI in general, join us at:
359
+
360
+ [TheBloke AI's Discord server](https://discord.gg/theblokeai)
361
+
362
+ ## Thanks, and how to contribute
363
+
364
+ Thanks to the [chirper.ai](https://chirper.ai) team!
365
+
366
+ Thanks to Clay from [gpus.llm-utils.org](llm-utils)!
367
+
368
+ 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.
369
+
370
+ 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.
371
+
372
+ Donaters will get priority support on any and all AI/LLM/model questions and requests, access to a private Discord room, plus other benefits.
373
+
374
+ * Patreon: https://patreon.com/TheBlokeAI
375
+ * Ko-Fi: https://ko-fi.com/TheBlokeAI
376
+
377
+ **Special thanks to**: Aemon Algiz.
378
+
379
+ **Patreon special mentions**: Brandon Frisco, LangChain4j, Spiking Neurons AB, transmissions 11, Joseph William Delisle, Nitin Borwankar, Willem Michiel, Michael Dempsey, vamX, Jeffrey Morgan, zynix, jjj, Omer Bin Jawed, Sean Connelly, jinyuan sun, Jeromy Smith, Shadi, Pawan Osman, Chadd, Elijah Stavena, Illia Dulskyi, Sebastain Graf, Stephen Murray, terasurfer, Edmond Seymore, Celu Ramasamy, Mandus, Alex, biorpg, Ajan Kanaga, Clay Pascal, Raven Klaugh, 阿明, K, ya boyyy, usrbinkat, Alicia Loh, John Villwock, ReadyPlayerEmma, Chris Smitley, Cap'n Zoog, fincy, GodLy, S_X, sidney chen, Cory Kujawski, OG, Mano Prime, AzureBlack, Pieter, Kalila, Spencer Kim, Tom X Nguyen, Stanislav Ovsiannikov, Michael Levine, Andrey, Trailburnt, Vadim, Enrico Ros, Talal Aujan, Brandon Phillips, Jack West, Eugene Pentland, Michael Davis, Will Dee, webtim, Jonathan Leane, Alps Aficionado, Rooh Singh, Tiffany J. Kim, theTransient, Luke @flexchar, Elle, Caitlyn Gatomon, Ari Malik, subjectnull, Johann-Peter Hartmann, Trenton Dambrowitz, Imad Khwaja, Asp the Wyvern, Emad Mostaque, Rainer Wilmers, Alexandros Triantafyllidis, Nicholas, Pedro Madruga, SuperWojo, Harry Royden McLaughlin, James Bentley, Olakabola, David Ziegler, Ai Maven, Jeff Scroggin, Nikolai Manek, Deo Leter, Matthew Berman, Fen Risland, Ken Nordquist, Manuel Alberto Morcote, Luke Pendergrass, TL, Fred von Graf, Randy H, Dan Guido, NimbleBox.ai, Vitor Caleffi, Gabriel Tamborski, knownsqashed, Lone Striker, Erik Bjäreholt, John Detwiler, Leonard Tan, Iucharbius
380
+
381
+
382
+ Thank you to all my generous patrons and donaters!
383
+
384
+ And thank you again to a16z for their generous grant.
385
+
386
+ <!-- footer end -->
387
+
388
+ # Original model card: Valiant Labs's ShiningValiantXS 13B
389
+
390
+
391
+
392
+ ![image/jpeg](https://cdn-uploads.huggingface.co/production/uploads/63444f2687964b331809eb55/EXX7TKbB-R6arxww2mk0R.jpeg)
393
+
394
+
395
+
396
+ Shining Valiant XS is a chat model built on the Llama 2 architecture, finetuned on our data for insight, creativity, passion, and friendliness.
397
+ - Uses the llama-2-13b-chat model, with safetensors
398
+ - Trained through multiple finetuning runs on public and private data
399
+ - the personality of our 70b [Shining Valiant](https://huggingface.co/ValiantLabs/ShiningValiant) model, now at 13b!
400
+
401
+ ## Version
402
+
403
+ This is Version **1.0** of Shining Valiant XS.
404
+
405
+ New models are released for everyone once our team's training and validation process is complete!
406
+
407
+ ## Evaluation
408
+
409
+ Awaiting results from the Open LLM Leaderboard.
410
+
411
+ ## Prompting Guide
412
+ Shining Valiant XS uses the same prompt format as Llama 2 Chat - feel free to use your existing prompts and scripts!
413
+ A few examples of different formats:
414
+
415
+ 1. [INST] Good morning! Can you let me know how to parse a text file and turn the semicolons into commas? [/INST]
416
+
417
+ 2. [INST] (You are an intelligent, helpful AI assistant.) Hello, can you write me a thank you letter? [/INST]
418
+
419
+ 3. [INST] << SYS >> You are an intelligent, helpful AI assistant. << /SYS >> Deep dive about a country with interesting history: [/INST]
420
+
421
+ ## The Model
422
+ Shining Valiant XS is built on top of Daring Fortitude, which uses Llama 2's 13b parameter architecture and features upgraded general capability.
423
+
424
+ From there, we've created Shining Valiant XS through multiple finetuning runs on different compositions of our private dataset, the same one we use for our [Shining Valiant](https://huggingface.co/ValiantLabs/ShiningValiant) model.
425
+
426
+ Our private data focuses primarily on applying Shining Valiant's personality: she's friendly, enthusiastic, insightful, knowledgeable, and loves to learn!
427
+
428
+ We are actively working on expanding and improving the Shining Valiant dataset for use in future releases of the Shining Valiant series of models.
429
+
430
+
431
+
432
+ ![image/jpeg](https://cdn-uploads.huggingface.co/production/uploads/63444f2687964b331809eb55/VCJ8Fmefd8cdVhXSSxJiD.jpeg)
433
+
434
+
435
+ Shining Valiant XS is created by [Valiant Labs.](http://valiantlabs.ca/)
436
+
437
+ [Follow us on X for updates on our models!](https://twitter.com/valiant_labs)
438
+
439
+ We care about open source.
440
+ For everyone to use.
441
+
442
+ We encourage others to finetune further from our models.