bartowski commited on
Commit
54a0807
1 Parent(s): 68f9711

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +29 -83
README.md CHANGED
@@ -2,7 +2,6 @@
2
  license: apache-2.0
3
  datasets:
4
  - JetBrains/KExercises
5
- base_model: deepseek-ai/deepseek-coder-1.3b-base
6
  results:
7
  - task:
8
  type: text-generation
@@ -17,99 +16,46 @@ tags:
17
  - code
18
  quantized_by: bartowski
19
  pipeline_tag: text-generation
 
 
 
 
 
 
 
 
 
 
20
  ---
 
21
 
22
- ## Llamacpp imatrix Quantizations of deepseek-coder-1.3B-kexer
23
 
24
- 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.
 
 
25
 
26
- Original model: https://huggingface.co/JetBrains/deepseek-coder-1.3B-kexer
27
 
28
- All quants made using imatrix option with dataset from [here](https://gist.github.com/bartowski1182/b6ac44691e994344625687afe3263b3a)
 
29
 
30
- ## Prompt format
31
 
32
- No chat template specified so default is used. This may be incorrect, check original model card for details.
33
 
34
- ```
35
- <|begin▁of▁sentence|>[INST] <<SYS>>
36
- {system_prompt}
37
- <</SYS>>
38
 
39
- {prompt} [/INST] <|end▁of▁sentence|>
40
- ```
 
41
 
42
- ## Download a file (not the whole branch) from below:
43
 
44
- | Filename | Quant type | File Size | Description |
45
- | -------- | ---------- | --------- | ----------- |
46
- | [deepseek-coder-1.3B-kexer-Q8_0.gguf](https://huggingface.co/bartowski/deepseek-coder-1.3B-kexer-GGUF/blob/main/deepseek-coder-1.3B-kexer-Q8_0.gguf) | Q8_0 | 1.43GB | Extremely high quality, generally unneeded but max available quant. |
47
- | [deepseek-coder-1.3B-kexer-Q6_K.gguf](https://huggingface.co/bartowski/deepseek-coder-1.3B-kexer-GGUF/blob/main/deepseek-coder-1.3B-kexer-Q6_K.gguf) | Q6_K | 1.17GB | Very high quality, near perfect, *recommended*. |
48
- | [deepseek-coder-1.3B-kexer-Q5_K_M.gguf](https://huggingface.co/bartowski/deepseek-coder-1.3B-kexer-GGUF/blob/main/deepseek-coder-1.3B-kexer-Q5_K_M.gguf) | Q5_K_M | 1.00GB | High quality, *recommended*. |
49
- | [deepseek-coder-1.3B-kexer-Q5_K_S.gguf](https://huggingface.co/bartowski/deepseek-coder-1.3B-kexer-GGUF/blob/main/deepseek-coder-1.3B-kexer-Q5_K_S.gguf) | Q5_K_S | .95GB | High quality, *recommended*. |
50
- | [deepseek-coder-1.3B-kexer-Q4_K_M.gguf](https://huggingface.co/bartowski/deepseek-coder-1.3B-kexer-GGUF/blob/main/deepseek-coder-1.3B-kexer-Q4_K_M.gguf) | Q4_K_M | .87GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
51
- | [deepseek-coder-1.3B-kexer-Q4_K_S.gguf](https://huggingface.co/bartowski/deepseek-coder-1.3B-kexer-GGUF/blob/main/deepseek-coder-1.3B-kexer-Q4_K_S.gguf) | Q4_K_S | .81GB | Slightly lower quality with more space savings, *recommended*. |
52
- | [deepseek-coder-1.3B-kexer-IQ4_NL.gguf](https://huggingface.co/bartowski/deepseek-coder-1.3B-kexer-GGUF/blob/main/deepseek-coder-1.3B-kexer-IQ4_NL.gguf) | IQ4_NL | .77GB | Decent quality, slightly smaller than Q4_K_S with similar performance *recommended*. |
53
- | [deepseek-coder-1.3B-kexer-IQ4_XS.gguf](https://huggingface.co/bartowski/deepseek-coder-1.3B-kexer-GGUF/blob/main/deepseek-coder-1.3B-kexer-IQ4_XS.gguf) | IQ4_XS | .74GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
54
- | [deepseek-coder-1.3B-kexer-Q3_K_L.gguf](https://huggingface.co/bartowski/deepseek-coder-1.3B-kexer-GGUF/blob/main/deepseek-coder-1.3B-kexer-Q3_K_L.gguf) | Q3_K_L | .74GB | Lower quality but usable, good for low RAM availability. |
55
- | [deepseek-coder-1.3B-kexer-Q3_K_M.gguf](https://huggingface.co/bartowski/deepseek-coder-1.3B-kexer-GGUF/blob/main/deepseek-coder-1.3B-kexer-Q3_K_M.gguf) | Q3_K_M | .70GB | Even lower quality. |
56
- | [deepseek-coder-1.3B-kexer-IQ3_M.gguf](https://huggingface.co/bartowski/deepseek-coder-1.3B-kexer-GGUF/blob/main/deepseek-coder-1.3B-kexer-IQ3_M.gguf) | IQ3_M | .67GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
57
- | [deepseek-coder-1.3B-kexer-IQ3_S.gguf](https://huggingface.co/bartowski/deepseek-coder-1.3B-kexer-GGUF/blob/main/deepseek-coder-1.3B-kexer-IQ3_S.gguf) | IQ3_S | .64GB | Lower quality, new method with decent performance, recommended over Q3_K_S quant, same size with better performance. |
58
- | [deepseek-coder-1.3B-kexer-Q3_K_S.gguf](https://huggingface.co/bartowski/deepseek-coder-1.3B-kexer-GGUF/blob/main/deepseek-coder-1.3B-kexer-Q3_K_S.gguf) | Q3_K_S | .64GB | Low quality, not recommended. |
59
- | [deepseek-coder-1.3B-kexer-IQ3_XS.gguf](https://huggingface.co/bartowski/deepseek-coder-1.3B-kexer-GGUF/blob/main/deepseek-coder-1.3B-kexer-IQ3_XS.gguf) | IQ3_XS | .61GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
60
- | [deepseek-coder-1.3B-kexer-IQ3_XXS.gguf](https://huggingface.co/bartowski/deepseek-coder-1.3B-kexer-GGUF/blob/main/deepseek-coder-1.3B-kexer-IQ3_XXS.gguf) | IQ3_XXS | .58GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
61
- | [deepseek-coder-1.3B-kexer-Q2_K.gguf](https://huggingface.co/bartowski/deepseek-coder-1.3B-kexer-GGUF/blob/main/deepseek-coder-1.3B-kexer-Q2_K.gguf) | Q2_K | .55GB | Very low quality but surprisingly usable. |
62
- | [deepseek-coder-1.3B-kexer-IQ2_M.gguf](https://huggingface.co/bartowski/deepseek-coder-1.3B-kexer-GGUF/blob/main/deepseek-coder-1.3B-kexer-IQ2_M.gguf) | IQ2_M | .55GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
63
- | [deepseek-coder-1.3B-kexer-IQ2_S.gguf](https://huggingface.co/bartowski/deepseek-coder-1.3B-kexer-GGUF/blob/main/deepseek-coder-1.3B-kexer-IQ2_S.gguf) | IQ2_S | .52GB | Very low quality, uses SOTA techniques to be usable. |
64
- | [deepseek-coder-1.3B-kexer-IQ2_XS.gguf](https://huggingface.co/bartowski/deepseek-coder-1.3B-kexer-GGUF/blob/main/deepseek-coder-1.3B-kexer-IQ2_XS.gguf) | IQ2_XS | .49GB | Very low quality, uses SOTA techniques to be usable. |
65
- | [deepseek-coder-1.3B-kexer-IQ2_XXS.gguf](https://huggingface.co/bartowski/deepseek-coder-1.3B-kexer-GGUF/blob/main/deepseek-coder-1.3B-kexer-IQ2_XXS.gguf) | IQ2_XXS | .47GB | Lower quality, uses SOTA techniques to be usable. |
66
- | [deepseek-coder-1.3B-kexer-IQ1_M.gguf](https://huggingface.co/bartowski/deepseek-coder-1.3B-kexer-GGUF/blob/main/deepseek-coder-1.3B-kexer-IQ1_M.gguf) | IQ1_M | .44GB | Extremely low quality, *not* recommended. |
67
- | [deepseek-coder-1.3B-kexer-IQ1_S.gguf](https://huggingface.co/bartowski/deepseek-coder-1.3B-kexer-GGUF/blob/main/deepseek-coder-1.3B-kexer-IQ1_S.gguf) | IQ1_S | .42GB | Extremely low quality, *not* recommended. |
68
 
69
- ## Downloading using huggingface-cli
70
 
71
- First, make sure you have hugginface-cli installed:
72
 
73
- ```
74
- pip install -U "huggingface_hub[cli]"
75
- ```
76
-
77
- Then, you can target the specific file you want:
78
-
79
- ```
80
- huggingface-cli download bartowski/deepseek-coder-1.3B-kexer-GGUF --include "deepseek-coder-1.3B-kexer-Q4_K_M.gguf" --local-dir ./
81
- ```
82
-
83
- 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:
84
-
85
- ```
86
- huggingface-cli download bartowski/deepseek-coder-1.3B-kexer-GGUF --include "deepseek-coder-1.3B-kexer-Q8_0.gguf/*" --local-dir deepseek-coder-1.3B-kexer-Q8_0
87
- ```
88
-
89
- You can either specify a new local-dir (deepseek-coder-1.3B-kexer-Q8_0) or download them all in place (./)
90
-
91
- ## Which file should I choose?
92
-
93
- A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
94
-
95
- 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.
96
-
97
- 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.
98
-
99
- 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.
100
-
101
- Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
102
-
103
- 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.
104
-
105
- If you want to get more into the weeds, you can check out this extremely useful feature chart:
106
-
107
- [llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
108
-
109
- 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.
110
-
111
- 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.
112
-
113
- 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.
114
-
115
- Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski
 
2
  license: apache-2.0
3
  datasets:
4
  - JetBrains/KExercises
 
5
  results:
6
  - task:
7
  type: text-generation
 
16
  - code
17
  quantized_by: bartowski
18
  pipeline_tag: text-generation
19
+ lm_studio:
20
+ param_count: 1.3b
21
+ use_case: code completion
22
+ release_date: 21-05-2024
23
+ model_creator: JetBrains
24
+ prompt_template: none
25
+ system_prompt: none
26
+ base_model: deepseek-coder
27
+ original_repo: JetBrains/deepseek-coder-1.3B-kexer
28
+ base_model: JetBrains/deepseek-coder-1.3B-kexer
29
  ---
30
+ ## 💫 Community Model> DeepSeek Coder 1.3B Kexer by JetBrains
31
 
32
+ *👾 [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)*.
33
 
34
+ **Model creator:** [JetBrains](https://huggingface.co/JetBrains)<br>
35
+ **Original model**: [deepseek-coder-1.3B-kexer](https://huggingface.co/JetBrains/deepseek-coder-1.3B-kexer)<br>
36
+ **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>
37
 
38
+ ## Model Summary:
39
 
40
+ This model is designed to be used exclusive for code completion and tuned specifically for Kotlin.<br>
41
+ Use this model as a coding assistant and for completion in your IDE to generate strong Kotlin code.
42
 
43
+ ## Prompt template:
44
 
45
+ There is no prompt template for this model, it should be used for completion.
46
 
47
+ ## Technical Details
 
 
 
48
 
49
+ This model is based on the Deepseek-coder-1.3b and trained on 15k synthetically generated Kotlin Exercises, dataset found here: https://huggingface.co/datasets/JetBrains/KExercises<br>
50
+ It supports FIM tokens:
51
+ - `'<|fim▁begin|>' + prefix + '<|fim▁hole|>' + suffix + '<|fim▁end|>'`
52
 
53
+ ## Special thanks
54
 
55
+ 🙏 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.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
 
57
+ 🙏 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.
58
 
59
+ ## Disclaimers
60
 
61
+ 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.