bartowski commited on
Commit
37108ab
·
verified ·
1 Parent(s): 13d0b87

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +48 -45
README.md CHANGED
@@ -10,75 +10,78 @@ tags:
10
  metrics:
11
  - code_eval
12
  quantized_by: bartowski
 
 
 
 
 
 
 
 
 
13
  ---
14
 
15
- ## Llamacpp Quantizations of wavecoder-ultra-6.7b
16
 
17
- Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b2675">b2675</a> for quantization.
18
 
19
- Original model: https://huggingface.co/microsoft/wavecoder-ultra-6.7b
 
 
20
 
21
- All quants made using imatrix option with dataset provided by Kalomaze [here](https://github.com/ggerganov/llama.cpp/discussions/5263#discussioncomment-8395384)
22
 
23
- ## Prompt format
 
24
 
25
- This seems to follow the DeepSeek coder format, aka Alpaca.
 
 
 
 
26
 
27
  ```
28
- {system_prompt}
29
  ### Instruction: {prompt}
30
  ### Response:
31
  ```
32
 
33
- ## Download a file (not the whole branch) from below:
 
 
 
 
 
 
 
 
 
 
34
 
35
- | Filename | Quant type | File Size | Description |
36
- | -------- | ---------- | --------- | ----------- |
37
- | [wavecoder-ultra-6.7b-Q8_0.gguf](https://huggingface.co/bartowski/wavecoder-ultra-6.7b-GGUF/blob/main/wavecoder-ultra-6.7b-Q8_0.gguf) | Q8_0 | 7.16GB | Extremely high quality, generally unneeded but max available quant. |
38
- | [wavecoder-ultra-6.7b-Q6_K.gguf](https://huggingface.co/bartowski/wavecoder-ultra-6.7b-GGUF/blob/main/wavecoder-ultra-6.7b-Q6_K.gguf) | Q6_K | 5.52GB | Very high quality, near perfect, *recommended*. |
39
- | [wavecoder-ultra-6.7b-Q5_K_M.gguf](https://huggingface.co/bartowski/wavecoder-ultra-6.7b-GGUF/blob/main/wavecoder-ultra-6.7b-Q5_K_M.gguf) | Q5_K_M | 4.78GB | High quality, *recommended*. |
40
- | [wavecoder-ultra-6.7b-Q5_K_S.gguf](https://huggingface.co/bartowski/wavecoder-ultra-6.7b-GGUF/blob/main/wavecoder-ultra-6.7b-Q5_K_S.gguf) | Q5_K_S | 4.65GB | High quality, *recommended*. |
41
- | [wavecoder-ultra-6.7b-Q4_K_M.gguf](https://huggingface.co/bartowski/wavecoder-ultra-6.7b-GGUF/blob/main/wavecoder-ultra-6.7b-Q4_K_M.gguf) | Q4_K_M | 4.08GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
42
- | [wavecoder-ultra-6.7b-Q4_K_S.gguf](https://huggingface.co/bartowski/wavecoder-ultra-6.7b-GGUF/blob/main/wavecoder-ultra-6.7b-Q4_K_S.gguf) | Q4_K_S | 3.85GB | Slightly lower quality with more space savings, *recommended*. |
43
- | [wavecoder-ultra-6.7b-IQ4_NL.gguf](https://huggingface.co/bartowski/wavecoder-ultra-6.7b-GGUF/blob/main/wavecoder-ultra-6.7b-IQ4_NL.gguf) | IQ4_NL | 3.82GB | Decent quality, slightly smaller than Q4_K_S with similar performance *recommended*. |
44
- | [wavecoder-ultra-6.7b-IQ4_XS.gguf](https://huggingface.co/bartowski/wavecoder-ultra-6.7b-GGUF/blob/main/wavecoder-ultra-6.7b-IQ4_XS.gguf) | IQ4_XS | 3.62GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
45
- | [wavecoder-ultra-6.7b-Q3_K_L.gguf](https://huggingface.co/bartowski/wavecoder-ultra-6.7b-GGUF/blob/main/wavecoder-ultra-6.7b-Q3_K_L.gguf) | Q3_K_L | 3.59GB | Lower quality but usable, good for low RAM availability. |
46
- | [wavecoder-ultra-6.7b-Q3_K_M.gguf](https://huggingface.co/bartowski/wavecoder-ultra-6.7b-GGUF/blob/main/wavecoder-ultra-6.7b-Q3_K_M.gguf) | Q3_K_M | 3.29GB | Even lower quality. |
47
- | [wavecoder-ultra-6.7b-IQ3_M.gguf](https://huggingface.co/bartowski/wavecoder-ultra-6.7b-GGUF/blob/main/wavecoder-ultra-6.7b-IQ3_M.gguf) | IQ3_M | 3.11GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
48
- | [wavecoder-ultra-6.7b-IQ3_S.gguf](https://huggingface.co/bartowski/wavecoder-ultra-6.7b-GGUF/blob/main/wavecoder-ultra-6.7b-IQ3_S.gguf) | IQ3_S | 2.94GB | Lower quality, new method with decent performance, recommended over Q3_K_S quant, same size with better performance. |
49
- | [wavecoder-ultra-6.7b-Q3_K_S.gguf](https://huggingface.co/bartowski/wavecoder-ultra-6.7b-GGUF/blob/main/wavecoder-ultra-6.7b-Q3_K_S.gguf) | Q3_K_S | 2.94GB | Low quality, not recommended. |
50
- | [wavecoder-ultra-6.7b-IQ3_XS.gguf](https://huggingface.co/bartowski/wavecoder-ultra-6.7b-GGUF/blob/main/wavecoder-ultra-6.7b-IQ3_XS.gguf) | IQ3_XS | 2.79GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
51
- | [wavecoder-ultra-6.7b-IQ3_XXS.gguf](https://huggingface.co/bartowski/wavecoder-ultra-6.7b-GGUF/blob/main/wavecoder-ultra-6.7b-IQ3_XXS.gguf) | IQ3_XXS | 2.58GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
52
- | [wavecoder-ultra-6.7b-Q2_K.gguf](https://huggingface.co/bartowski/wavecoder-ultra-6.7b-GGUF/blob/main/wavecoder-ultra-6.7b-Q2_K.gguf) | Q2_K | 2.53GB | Very low quality but surprisingly usable. |
53
- | [wavecoder-ultra-6.7b-IQ2_M.gguf](https://huggingface.co/bartowski/wavecoder-ultra-6.7b-GGUF/blob/main/wavecoder-ultra-6.7b-IQ2_M.gguf) | IQ2_M | 2.36GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
54
- | [wavecoder-ultra-6.7b-IQ2_S.gguf](https://huggingface.co/bartowski/wavecoder-ultra-6.7b-GGUF/blob/main/wavecoder-ultra-6.7b-IQ2_S.gguf) | IQ2_S | 2.19GB | Very low quality, uses SOTA techniques to be usable. |
55
- | [wavecoder-ultra-6.7b-IQ2_XS.gguf](https://huggingface.co/bartowski/wavecoder-ultra-6.7b-GGUF/blob/main/wavecoder-ultra-6.7b-IQ2_XS.gguf) | IQ2_XS | 2.03GB | Very low quality, uses SOTA techniques to be usable. |
56
- | [wavecoder-ultra-6.7b-IQ2_XXS.gguf](https://huggingface.co/bartowski/wavecoder-ultra-6.7b-GGUF/blob/main/wavecoder-ultra-6.7b-IQ2_XXS.gguf) | IQ2_XXS | 1.85GB | Lower quality, uses SOTA techniques to be usable. |
57
- | [wavecoder-ultra-6.7b-IQ1_M.gguf](https://huggingface.co/bartowski/wavecoder-ultra-6.7b-GGUF/blob/main/wavecoder-ultra-6.7b-IQ1_M.gguf) | IQ1_M | 1.65GB | Extremely low quality, *not* recommended. |
58
- | [wavecoder-ultra-6.7b-IQ1_S.gguf](https://huggingface.co/bartowski/wavecoder-ultra-6.7b-GGUF/blob/main/wavecoder-ultra-6.7b-IQ1_S.gguf) | IQ1_S | 1.52GB | Extremely low quality, *not* recommended. |
59
 
60
- ## Which file should I choose?
61
 
62
- A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
63
 
64
- 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.
65
 
66
- 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.
67
 
68
- 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.
69
 
70
- Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
71
 
72
- 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.
73
 
74
- If you want to get more into the weeds, you can check out this extremely useful feature chart:
75
 
76
- [llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
77
 
78
- 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.
79
 
80
- 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.
81
 
82
- 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.
83
 
84
- Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski
 
10
  metrics:
11
  - code_eval
12
  quantized_by: bartowski
13
+ lm_studio:
14
+ param_count: 6.7b
15
+ use_case: coding
16
+ release_date: 15-04-2024
17
+ model_creator: microsoft
18
+ prompt_template: alpaca
19
+ system_prompt: Below is an instruction that describes a task. Write a response that appropriately completes the request.
20
+ base_model: DeepseekCoder
21
+ original_repo: microsoft/wavecoder-ultra-6.7b
22
  ---
23
 
24
+ ## 💫 Community Model> wavecoder-ultra-6.7b by Microsoft
25
 
26
+ *👾 [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)*.
27
 
28
+ **Model creator:** [Microsoft](https://huggingface.co/microsoft)<br>
29
+ **Original model**: [wavecoder-ultra-6.7b](https://huggingface.co/microsoft/wavecoder-ultra-6.7b)<br>
30
+ **GGUF quantization:** provided by [bartowski](https://huggingface.co/bartowski) based on `llama.cpp` release [b2675](https://github.com/ggerganov/llama.cpp/releases/tag/b2675)<br>
31
 
32
+ ## Model Summary:
33
 
34
+ WaveCoder ultra is a coding model created with 'Widepread And Versatile Enhanced' instruction tuning. It has exceptional generalization ability across different code-related tasks and has a high efficiency in generation.<br>
35
+ This model should be used exclusively for coding, and will follow instructions for code generation.
36
 
37
+ ## Prompt Template:
38
+
39
+ Choose the `Alpaca` preset in your LM Studio.
40
+
41
+ Under the hood, the model will see a prompt that's formatted like so:
42
 
43
  ```
44
+ Below is an instruction that describes a task. Write a response that appropriately completes the request.
45
  ### Instruction: {prompt}
46
  ### Response:
47
  ```
48
 
49
+ ## Use case and examples
50
+
51
+ WaveCoder ultra is fine tuned for code-related instruction following tasks, including code generation, summarization, repair, and translation.
52
+
53
+ ## Code Generation
54
+
55
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/6435718aaaef013d1aec3b8b/X-MeWq5Aa0MTYUhEv2C4F.png)
56
+
57
+ ## Code Summarization
58
+
59
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/6435718aaaef013d1aec3b8b/qeT5QL-ISLNaRr0NnNDzE.png)
60
 
61
+ ## Code Repair
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62
 
63
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/6435718aaaef013d1aec3b8b/NmtLNuIbB1vPmbunq1Q3p.png)
64
 
65
+ ## Code Translation
66
 
67
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/6435718aaaef013d1aec3b8b/FZroxLvNUVPlydyJlc0lU.png)
68
 
69
+ ## Technical Details
70
 
71
+ The WaveCoder series of models is the result of a 'Widespread And Versatile Enchanced' (WAVE) instruction tuning with a highly refined dataset.
72
 
73
+ Their 'CodeOcean' consists of 20,000 instruction instances across the 4 code-related tasks (generation, summarization, repair, translation) with instructions generated by GPT-3.5-turbo.
74
 
75
+ To create this dataset, the team used existing raw code from GitHub CodeSearchNet, filtering for quality and diversity, then used a 'novel LLM-based Generator-Discriminator Framework' which involves generating supervised instruction data from the unsupervised open source code.
76
 
77
+ For further details and benchmarks, check out their arXiv paper [here](https://arxiv.org/abs/2312.14187)
78
 
79
+ ## Special thanks
80
 
81
+ 🙏 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.
82
 
83
+ 🙏 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 these quants, which improves the overall quality!
84
 
85
+ ## Disclaimers
86
 
87
+ 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.