bartowski commited on
Commit
0550158
โ€ข
1 Parent(s): aa1a334

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +34 -76
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
- ## Llamacpp imatrix Quantizations of openchat-3.6-8b-20240522
14
 
15
- Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b2965">b2965</a> for quantization.
 
 
16
 
17
- Original model: https://huggingface.co/openchat/openchat-3.6-8b-20240522
18
 
19
- All quants made using imatrix option with dataset from [here](https://gist.github.com/bartowski1182/b6ac44691e994344625687afe3263b3a)
 
20
 
21
- ## Prompt format
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
- ## Download a file (not the whole branch) from below:
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
- If you want your model running as FAST as possible, you'll want to fit the whole thing on your GPU's VRAM. Aim for a quant with a file size 1-2GB smaller than your GPU's total VRAM.
91
 
92
- If you want the absolute maximum quality, add both your system RAM and your GPU's VRAM together, then similarly grab a quant with a file size 1-2GB Smaller than that total.
93
 
94
- Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
95
 
96
- If you don't want to think too much, grab one of the K-quants. These are in format 'QX_K_X', like Q5_K_M.
97
 
98
- If you want to get more into the weeds, you can check out this extremely useful feature chart:
99
 
100
- [llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
101
 
102
- But basically, if you're aiming for below Q4, and you're running cuBLAS (Nvidia) or rocBLAS (AMD), you should look towards the I-quants. These are in format IQX_X, like IQ3_M. These are newer and offer better performance for their size.
103
 
104
- These I-quants can also be used on CPU and Apple Metal, but will be slower than their K-quant equivalent, so speed vs performance is a tradeoff you'll have to decide.
105
 
106
- The I-quants are *not* compatible with Vulcan, which is also AMD, so if you have an AMD card double check if you're using the rocBLAS build or the Vulcan build. At the time of writing this, LM Studio has a preview with ROCm support, and other inference engines have specific builds for ROCm.
107
 
108
- Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski
 
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.