bartowski commited on
Commit
ea25b3d
โ€ข
1 Parent(s): 468dcf1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +33 -74
README.md CHANGED
@@ -2,97 +2,56 @@
2
  license: apache-2.0
3
  quantized_by: bartowski
4
  pipeline_tag: text-generation
 
 
 
 
 
 
 
 
 
 
5
  ---
6
 
7
- ## Llamacpp imatrix Quantizations of Yi-1.5-34B-Chat
8
 
9
- Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b2854">b2854</a> for quantization.
10
 
11
- Original model: https://huggingface.co/01-ai/Yi-1.5-34B-Chat
 
 
12
 
13
- All quants made using imatrix option with dataset provided by Kalomaze [here](https://github.com/ggerganov/llama.cpp/discussions/5263#discussioncomment-8395384)
 
 
14
 
15
- ## Prompt format
 
 
 
 
16
 
17
  ```
18
- {system_prompt}<|im_start|>user
 
 
19
  {prompt}<|im_end|>
20
  <|im_start|>assistant
21
  <|im_end|>
22
 
23
  ```
24
 
25
- ## Download a file (not the whole branch) from below:
26
-
27
- | Filename | Quant type | File Size | Description |
28
- | -------- | ---------- | --------- | ----------- |
29
- | [Yi-1.5-34B-Chat-Q8_0.gguf](https://huggingface.co/bartowski/Yi-1.5-34B-Chat-GGUF/blob/main/Yi-1.5-34B-Chat-Q8_0.gguf) | Q8_0 | 36.54GB | Extremely high quality, generally unneeded but max available quant. |
30
- | [Yi-1.5-34B-Chat-Q6_K.gguf](https://huggingface.co/bartowski/Yi-1.5-34B-Chat-GGUF/blob/main/Yi-1.5-34B-Chat-Q6_K.gguf) | Q6_K | 28.21GB | Very high quality, near perfect, *recommended*. |
31
- | [Yi-1.5-34B-Chat-Q5_K_M.gguf](https://huggingface.co/bartowski/Yi-1.5-34B-Chat-GGUF/blob/main/Yi-1.5-34B-Chat-Q5_K_M.gguf) | Q5_K_M | 24.32GB | High quality, *recommended*. |
32
- | [Yi-1.5-34B-Chat-Q5_K_S.gguf](https://huggingface.co/bartowski/Yi-1.5-34B-Chat-GGUF/blob/main/Yi-1.5-34B-Chat-Q5_K_S.gguf) | Q5_K_S | 23.70GB | High quality, *recommended*. |
33
- | [Yi-1.5-34B-Chat-Q4_K_M.gguf](https://huggingface.co/bartowski/Yi-1.5-34B-Chat-GGUF/blob/main/Yi-1.5-34B-Chat-Q4_K_M.gguf) | Q4_K_M | 20.65GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
34
- | [Yi-1.5-34B-Chat-Q4_K_S.gguf](https://huggingface.co/bartowski/Yi-1.5-34B-Chat-GGUF/blob/main/Yi-1.5-34B-Chat-Q4_K_S.gguf) | Q4_K_S | 19.59GB | Slightly lower quality with more space savings, *recommended*. |
35
- | [Yi-1.5-34B-Chat-IQ4_NL.gguf](https://huggingface.co/bartowski/Yi-1.5-34B-Chat-GGUF/blob/main/Yi-1.5-34B-Chat-IQ4_NL.gguf) | IQ4_NL | 19.52GB | Decent quality, slightly smaller than Q4_K_S with similar performance *recommended*. |
36
- | [Yi-1.5-34B-Chat-IQ4_XS.gguf](https://huggingface.co/bartowski/Yi-1.5-34B-Chat-GGUF/blob/main/Yi-1.5-34B-Chat-IQ4_XS.gguf) | IQ4_XS | 18.47GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
37
- | [Yi-1.5-34B-Chat-Q3_K_L.gguf](https://huggingface.co/bartowski/Yi-1.5-34B-Chat-GGUF/blob/main/Yi-1.5-34B-Chat-Q3_K_L.gguf) | Q3_K_L | 18.13GB | Lower quality but usable, good for low RAM availability. |
38
- | [Yi-1.5-34B-Chat-Q3_K_M.gguf](https://huggingface.co/bartowski/Yi-1.5-34B-Chat-GGUF/blob/main/Yi-1.5-34B-Chat-Q3_K_M.gguf) | Q3_K_M | 16.65GB | Even lower quality. |
39
- | [Yi-1.5-34B-Chat-IQ3_M.gguf](https://huggingface.co/bartowski/Yi-1.5-34B-Chat-GGUF/blob/main/Yi-1.5-34B-Chat-IQ3_M.gguf) | IQ3_M | 15.56GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
40
- | [Yi-1.5-34B-Chat-IQ3_S.gguf](https://huggingface.co/bartowski/Yi-1.5-34B-Chat-GGUF/blob/main/Yi-1.5-34B-Chat-IQ3_S.gguf) | IQ3_S | 15.01GB | Lower quality, new method with decent performance, recommended over Q3_K_S quant, same size with better performance. |
41
- | [Yi-1.5-34B-Chat-Q3_K_S.gguf](https://huggingface.co/bartowski/Yi-1.5-34B-Chat-GGUF/blob/main/Yi-1.5-34B-Chat-Q3_K_S.gguf) | Q3_K_S | 14.96GB | Low quality, not recommended. |
42
- | [Yi-1.5-34B-Chat-IQ3_XS.gguf](https://huggingface.co/bartowski/Yi-1.5-34B-Chat-GGUF/blob/main/Yi-1.5-34B-Chat-IQ3_XS.gguf) | IQ3_XS | 14.23GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
43
- | [Yi-1.5-34B-Chat-IQ3_XXS.gguf](https://huggingface.co/bartowski/Yi-1.5-34B-Chat-GGUF/blob/main/Yi-1.5-34B-Chat-IQ3_XXS.gguf) | IQ3_XXS | 13.33GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
44
- | [Yi-1.5-34B-Chat-Q2_K.gguf](https://huggingface.co/bartowski/Yi-1.5-34B-Chat-GGUF/blob/main/Yi-1.5-34B-Chat-Q2_K.gguf) | Q2_K | 12.82GB | Very low quality but surprisingly usable. |
45
- | [Yi-1.5-34B-Chat-IQ2_M.gguf](https://huggingface.co/bartowski/Yi-1.5-34B-Chat-GGUF/blob/main/Yi-1.5-34B-Chat-IQ2_M.gguf) | IQ2_M | 11.79GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
46
- | [Yi-1.5-34B-Chat-IQ2_S.gguf](https://huggingface.co/bartowski/Yi-1.5-34B-Chat-GGUF/blob/main/Yi-1.5-34B-Chat-IQ2_S.gguf) | IQ2_S | 10.89GB | Very low quality, uses SOTA techniques to be usable. |
47
- | [Yi-1.5-34B-Chat-IQ2_XS.gguf](https://huggingface.co/bartowski/Yi-1.5-34B-Chat-GGUF/blob/main/Yi-1.5-34B-Chat-IQ2_XS.gguf) | IQ2_XS | 10.30GB | Very low quality, uses SOTA techniques to be usable. |
48
- | [Yi-1.5-34B-Chat-IQ2_XXS.gguf](https://huggingface.co/bartowski/Yi-1.5-34B-Chat-GGUF/blob/main/Yi-1.5-34B-Chat-IQ2_XXS.gguf) | IQ2_XXS | 9.30GB | Lower quality, uses SOTA techniques to be usable. |
49
- | [Yi-1.5-34B-Chat-IQ1_M.gguf](https://huggingface.co/bartowski/Yi-1.5-34B-Chat-GGUF/blob/main/Yi-1.5-34B-Chat-IQ1_M.gguf) | IQ1_M | 8.17GB | Extremely low quality, *not* recommended. |
50
- | [Yi-1.5-34B-Chat-IQ1_S.gguf](https://huggingface.co/bartowski/Yi-1.5-34B-Chat-GGUF/blob/main/Yi-1.5-34B-Chat-IQ1_S.gguf) | IQ1_S | 7.49GB | Extremely low quality, *not* recommended. |
51
-
52
- ## Downloading using huggingface-cli
53
-
54
- First, make sure you have hugginface-cli installed:
55
-
56
- ```
57
- pip install -U "huggingface_hub[cli]"
58
- ```
59
-
60
- Then, you can target the specific file you want:
61
-
62
- ```
63
- huggingface-cli download bartowski/Yi-1.5-34B-Chat-GGUF --include "Yi-1.5-34B-Chat-Q4_K_M.gguf" --local-dir ./ --local-dir-use-symlinks False
64
- ```
65
-
66
- 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:
67
-
68
- ```
69
- huggingface-cli download bartowski/Yi-1.5-34B-Chat-GGUF --include "Yi-1.5-34B-Chat-Q8_0.gguf/*" --local-dir Yi-1.5-34B-Chat-Q8_0 --local-dir-use-symlinks False
70
- ```
71
-
72
- You can either specify a new local-dir (Yi-1.5-34B-Chat-Q8_0) or download them all in place (./)
73
-
74
- ## Which file should I choose?
75
-
76
- A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
77
-
78
- 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.
79
-
80
- 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.
81
-
82
- 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.
83
-
84
- Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
85
-
86
- 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.
87
 
88
- If you want to get more into the weeds, you can check out this extremely useful feature chart:
89
 
90
- [llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
91
 
92
- 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.
93
 
94
- 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.
95
 
96
- 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.
97
 
98
- Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski
 
2
  license: apache-2.0
3
  quantized_by: bartowski
4
  pipeline_tag: text-generation
5
+ base_model: 01-ai/Yi-1.5-34B-Chat
6
+ lm_studio:
7
+ param_count: 34b
8
+ use_case: general
9
+ release_date: 12-05-2024
10
+ model_creator: 01-ai
11
+ prompt_template: ChatML
12
+ system_prompt: "You are a helpful assistant."
13
+ base_model: llama
14
+ original_repo: 01-ai/Yi-1.5-34B-Chat
15
  ---
16
 
17
+ ## ๐Ÿ’ซ Community Model> Yi 1.5 34B Chat by 01-ai
18
 
19
+ *๐Ÿ‘พ [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)*.
20
 
21
+ **Model creator:** [01-ai](https://huggingface.co/01-ai)<br>
22
+ **Original model**: [Yi-1.5-34B-Chat](https://huggingface.co/01-ai/Yi-1.5-34B-Chat)<br>
23
+ **GGUF quantization:** provided by [bartowski](https://huggingface.co/bartowski) based on `llama.cpp` release [b2854](https://github.com/ggerganov/llama.cpp/releases/tag/b2854)<br>
24
 
25
+ ## Model Summary:
26
+ Yi-1.5 is an upgraded version of Yi. It is continuously pre-trained on Yi with a high-quality corpus of 500B tokens and fine-tuned on 3M diverse fine-tuning samples.<br>
27
+ This model should perform well on a wide range of tasks, such as coding, math, reasoning, and instruction-following capability, while still maintaining excellent capabilities in language understanding, commonsense reasoning, and reading comprehension.<br>
28
 
29
+ ## Prompt Template:
30
+
31
+ Choose the `ChatML` preset in your LM Studio.
32
+
33
+ Under the hood, the model will see a prompt that's formatted like so:
34
 
35
  ```
36
+ <|im_start|>system
37
+ {system_prompt}<|im_end|>
38
+ <|im_start|>user
39
  {prompt}<|im_end|>
40
  <|im_start|>assistant
41
  <|im_end|>
42
 
43
  ```
44
 
45
+ ## Technical Details
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46
 
47
+ No technical details have been released about this model.
48
 
49
+ ## Special thanks
50
 
51
+ ๐Ÿ™ 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.
52
 
53
+ ๐Ÿ™ Special thanks to [Kalomaze](https://github.com/kalomaze) for his dataset (linked [here](https://github.com/ggerganov/llama.cpp/discussions/5263)) that was used for calculating the imatrix for the IQ1_M and IQ2_XS quants, which makes them usable even at their tiny size!
54
 
55
+ ## Disclaimers
56
 
57
+ 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.