Update README.md
Browse files
README.md
CHANGED
@@ -10,75 +10,78 @@ tags:
|
|
10 |
metrics:
|
11 |
- code_eval
|
12 |
quantized_by: bartowski
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
---
|
14 |
|
15 |
-
##
|
16 |
|
17 |
-
|
18 |
|
19 |
-
|
|
|
|
|
20 |
|
21 |
-
|
22 |
|
23 |
-
|
|
|
24 |
|
25 |
-
|
|
|
|
|
|
|
|
|
26 |
|
27 |
```
|
28 |
-
|
29 |
### Instruction: {prompt}
|
30 |
### Response:
|
31 |
```
|
32 |
|
33 |
-
##
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
|
35 |
-
|
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 |
-
|
61 |
|
62 |
-
|
63 |
|
64 |
-
|
65 |
|
66 |
-
|
67 |
|
68 |
-
|
69 |
|
70 |
-
|
71 |
|
72 |
-
|
73 |
|
74 |
-
|
75 |
|
76 |
-
|
77 |
|
78 |
-
|
79 |
|
80 |
-
|
81 |
|
82 |
-
|
83 |
|
84 |
-
|
|
|
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.
|