Update README.md
Browse files
README.md
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
---
|
2 |
license: llama3
|
3 |
-
base_model: meta-llama/Meta-Llama-3-8B
|
4 |
tags:
|
5 |
- openchat
|
6 |
- llama3
|
@@ -8,101 +7,60 @@ tags:
|
|
8 |
library_name: transformers
|
9 |
pipeline_tag: text-generation
|
10 |
quantized_by: bartowski
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
---
|
|
|
12 |
|
13 |
-
|
14 |
|
15 |
-
|
|
|
|
|
16 |
|
17 |
-
|
18 |
|
19 |
-
|
|
|
20 |
|
21 |
-
## Prompt
|
22 |
|
23 |
-
|
24 |
-
<|begin_of_text|><|start_header_id|>System<|end_header_id|>
|
25 |
-
|
26 |
-
{system_prompt}<|eot_id|><|start_header_id|>GPT4 Correct User<|end_header_id|>
|
27 |
-
|
28 |
-
{prompt}<|eot_id|><|start_header_id|>GPT4 Correct Assistant<|end_header_id|>
|
29 |
-
|
30 |
-
<|eot_id|><|start_header_id|>GPT4 Correct Assistant<|end_header_id|>
|
31 |
|
|
|
32 |
|
33 |
```
|
|
|
34 |
|
35 |
-
|
36 |
-
|
37 |
-
| Filename | Quant type | File Size | Description |
|
38 |
-
| -------- | ---------- | --------- | ----------- |
|
39 |
-
| [openchat-3.6-8b-20240522-Q8_0.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-Q8_0.gguf) | Q8_0 | 8.54GB | Extremely high quality, generally unneeded but max available quant. |
|
40 |
-
| [openchat-3.6-8b-20240522-Q6_K.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-Q6_K.gguf) | Q6_K | 6.59GB | Very high quality, near perfect, *recommended*. |
|
41 |
-
| [openchat-3.6-8b-20240522-Q5_K_M.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-Q5_K_M.gguf) | Q5_K_M | 5.73GB | High quality, *recommended*. |
|
42 |
-
| [openchat-3.6-8b-20240522-Q5_K_S.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-Q5_K_S.gguf) | Q5_K_S | 5.59GB | High quality, *recommended*. |
|
43 |
-
| [openchat-3.6-8b-20240522-Q4_K_M.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-Q4_K_M.gguf) | Q4_K_M | 4.92GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
|
44 |
-
| [openchat-3.6-8b-20240522-Q4_K_S.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-Q4_K_S.gguf) | Q4_K_S | 4.69GB | Slightly lower quality with more space savings, *recommended*. |
|
45 |
-
| [openchat-3.6-8b-20240522-IQ4_NL.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-IQ4_NL.gguf) | IQ4_NL | 4.67GB | Decent quality, slightly smaller than Q4_K_S with similar performance *recommended*. |
|
46 |
-
| [openchat-3.6-8b-20240522-IQ4_XS.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-IQ4_XS.gguf) | IQ4_XS | 4.44GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
|
47 |
-
| [openchat-3.6-8b-20240522-Q3_K_L.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-Q3_K_L.gguf) | Q3_K_L | 4.32GB | Lower quality but usable, good for low RAM availability. |
|
48 |
-
| [openchat-3.6-8b-20240522-Q3_K_M.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-Q3_K_M.gguf) | Q3_K_M | 4.01GB | Even lower quality. |
|
49 |
-
| [openchat-3.6-8b-20240522-IQ3_M.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-IQ3_M.gguf) | IQ3_M | 3.78GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
|
50 |
-
| [openchat-3.6-8b-20240522-IQ3_S.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-IQ3_S.gguf) | IQ3_S | 3.68GB | Lower quality, new method with decent performance, recommended over Q3_K_S quant, same size with better performance. |
|
51 |
-
| [openchat-3.6-8b-20240522-Q3_K_S.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-Q3_K_S.gguf) | Q3_K_S | 3.66GB | Low quality, not recommended. |
|
52 |
-
| [openchat-3.6-8b-20240522-IQ3_XS.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-IQ3_XS.gguf) | IQ3_XS | 3.51GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
|
53 |
-
| [openchat-3.6-8b-20240522-IQ3_XXS.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-IQ3_XXS.gguf) | IQ3_XXS | 3.27GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
|
54 |
-
| [openchat-3.6-8b-20240522-Q2_K.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-Q2_K.gguf) | Q2_K | 3.17GB | Very low quality but surprisingly usable. |
|
55 |
-
| [openchat-3.6-8b-20240522-IQ2_M.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-IQ2_M.gguf) | IQ2_M | 2.94GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
|
56 |
-
| [openchat-3.6-8b-20240522-IQ2_S.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-IQ2_S.gguf) | IQ2_S | 2.75GB | Very low quality, uses SOTA techniques to be usable. |
|
57 |
-
| [openchat-3.6-8b-20240522-IQ2_XS.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-IQ2_XS.gguf) | IQ2_XS | 2.60GB | Very low quality, uses SOTA techniques to be usable. |
|
58 |
-
| [openchat-3.6-8b-20240522-IQ2_XXS.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-IQ2_XXS.gguf) | IQ2_XXS | 2.39GB | Lower quality, uses SOTA techniques to be usable. |
|
59 |
-
| [openchat-3.6-8b-20240522-IQ1_M.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-IQ1_M.gguf) | IQ1_M | 2.16GB | Extremely low quality, *not* recommended. |
|
60 |
-
| [openchat-3.6-8b-20240522-IQ1_S.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-IQ1_S.gguf) | IQ1_S | 2.01GB | Extremely low quality, *not* recommended. |
|
61 |
-
|
62 |
-
## Downloading using huggingface-cli
|
63 |
-
|
64 |
-
First, make sure you have hugginface-cli installed:
|
65 |
|
|
|
66 |
```
|
67 |
-
pip install -U "huggingface_hub[cli]"
|
68 |
-
```
|
69 |
-
|
70 |
-
Then, you can target the specific file you want:
|
71 |
-
|
72 |
-
```
|
73 |
-
huggingface-cli download bartowski/openchat-3.6-8b-20240522-GGUF --include "openchat-3.6-8b-20240522-Q4_K_M.gguf" --local-dir ./
|
74 |
-
```
|
75 |
-
|
76 |
-
If the model is bigger than 50GB, it will have been split into multiple files. In order to download them all to a local folder, run:
|
77 |
-
|
78 |
-
```
|
79 |
-
huggingface-cli download bartowski/openchat-3.6-8b-20240522-GGUF --include "openchat-3.6-8b-20240522-Q8_0.gguf/*" --local-dir openchat-3.6-8b-20240522-Q8_0
|
80 |
-
```
|
81 |
-
|
82 |
-
You can either specify a new local-dir (openchat-3.6-8b-20240522-Q8_0) or download them all in place (./)
|
83 |
-
|
84 |
-
## Which file should I choose?
|
85 |
-
|
86 |
-
A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
|
87 |
-
|
88 |
-
The first thing to figure out is how big a model you can run. To do this, you'll need to figure out how much RAM and/or VRAM you have.
|
89 |
|
90 |
-
|
91 |
|
92 |
-
|
93 |
|
94 |
-
|
95 |
|
96 |
-
|
97 |
|
98 |
-
|
99 |
|
100 |
-
|
101 |
|
102 |
-
|
103 |
|
104 |
-
|
105 |
|
106 |
-
|
107 |
|
108 |
-
|
|
|
1 |
---
|
2 |
license: llama3
|
|
|
3 |
tags:
|
4 |
- openchat
|
5 |
- llama3
|
|
|
7 |
library_name: transformers
|
8 |
pipeline_tag: text-generation
|
9 |
quantized_by: bartowski
|
10 |
+
lm_studio:
|
11 |
+
param_count: 8b
|
12 |
+
use_case: chat
|
13 |
+
release_date: 22-05-2024
|
14 |
+
model_creator: OpenChat
|
15 |
+
prompt_template: OpenChat 3
|
16 |
+
system_prompt: You are a helpful AI assistant
|
17 |
+
base_model: llama
|
18 |
+
original_repo: openchat/openchat-3.6-8b-20240522
|
19 |
+
base_model: openchat/openchat-3.6-8b-20240522
|
20 |
---
|
21 |
+
## ๐ซ Community Model> OpenChat 3.6 8B 2024-05-22 by OpenChat
|
22 |
|
23 |
+
*๐พ [LM Studio](https://lmstudio.ai) Community models highlights program. Highlighting new & noteworthy models by the community. Join the conversation on [Discord](https://discord.gg/aPQfnNkxGC)*.
|
24 |
|
25 |
+
**Model creator:** [OpenChat](https://huggingface.co/openchat)<br>
|
26 |
+
**Original model**: [openchat-3.6-8b-20240522](https://huggingface.co/openchat/openchat-3.6-8b-20240522)<br>
|
27 |
+
**GGUF quantization:** provided by [bartowski](https://huggingface.co/bartowski) based on `llama.cpp` release [b2965](https://github.com/ggerganov/llama.cpp/releases/tag/b2965)<br>
|
28 |
|
29 |
+
## Model Summary:
|
30 |
|
31 |
+
OpenChat is a series of models tuned for advanced chat functionality. It demonstrates steep improvements in many well known benchmarks.<br>
|
32 |
+
This should be used as a general purpose chat model.
|
33 |
|
34 |
+
## Prompt template:
|
35 |
|
36 |
+
Choose the `OpenChat 3` preset in your LM Studio.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
|
38 |
+
Under the hood, the model will see a prompt that's formatted like so:
|
39 |
|
40 |
```
|
41 |
+
<|start_header_id|>GPT4 Correct User<|end_header_id|>
|
42 |
|
43 |
+
{User}<|eot_id|><|start_header_id|>GPT4 Correct Assistant<|end_header_id|>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
|
45 |
+
{Assistant}
|
46 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
|
48 |
+
Note: Until OpenChat 3 is added, you can select OpenChat and add the proper <|start_header_id|>, <|eot_id|> and <|end_header_id|> tokens.
|
49 |
|
50 |
+
## Technical Details
|
51 |
|
52 |
+
There is not much openly available information on the training of this model. Below is their reported benchmark scores.
|
53 |
|
54 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/6435718aaaef013d1aec3b8b/jbCfjIjB5C9kjhC6er6zb.png)
|
55 |
|
56 |
+
* Llama-3-Instruct often fails to follow the few-shot templates.
|
57 |
|
58 |
+
## Special thanks
|
59 |
|
60 |
+
๐ Special thanks to [Georgi Gerganov](https://github.com/ggerganov) and the whole team working on [llama.cpp](https://github.com/ggerganov/llama.cpp/) for making all of this possible.
|
61 |
|
62 |
+
๐ Special thanks to [Kalomaze](https://github.com/kalomaze), [Dampf](https://github.com/Dampfinchen) and [turboderp](https://github.com/turboderp/) for their work on the dataset (linked [here](https://gist.github.com/bartowski1182/b6ac44691e994344625687afe3263b3a)) that was used for calculating the imatrix for all sizes.
|
63 |
|
64 |
+
## Disclaimers
|
65 |
|
66 |
+
LM Studio is not the creator, originator, or owner of any Model featured in the Community Model Program. Each Community Model is created and provided by third parties. LM Studio does not endorse, support, represent or guarantee the completeness, truthfulness, accuracy, or reliability of any Community Model. You understand that Community Models can produce content that might be offensive, harmful, inaccurate or otherwise inappropriate, or deceptive. Each Community Model is the sole responsibility of the person or entity who originated such Model. LM Studio may not monitor or control the Community Models and cannot, and does not, take responsibility for any such Model. LM Studio disclaims all warranties or guarantees about the accuracy, reliability or benefits of the Community Models. LM Studio further disclaims any warranty that the Community Model will meet your requirements, be secure, uninterrupted or available at any time or location, or error-free, viruses-free, or that any errors will be corrected, or otherwise. You will be solely responsible for any damage resulting from your use of or access to the Community Models, your downloading of any Community Model, or use of any other Community Model provided by or through LM Studio.
|