RichardErkhov commited on
Commit
45a0b63
1 Parent(s): 55e3faa

uploaded readme

Browse files
Files changed (1) hide show
  1. README.md +93 -0
README.md ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Quantization made by Richard Erkhov.
2
+
3
+ [Github](https://github.com/RichardErkhov)
4
+
5
+ [Discord](https://discord.gg/pvy7H8DZMG)
6
+
7
+ [Request more models](https://github.com/RichardErkhov/quant_request)
8
+
9
+
10
+ deepseek-coder-7b-base-v1.5 - GGUF
11
+ - Model creator: https://huggingface.co/deepseek-ai/
12
+ - Original model: https://huggingface.co/deepseek-ai/deepseek-coder-7b-base-v1.5/
13
+
14
+
15
+ | Name | Quant method | Size |
16
+ | ---- | ---- | ---- |
17
+ | [deepseek-coder-7b-base-v1.5.Q2_K.gguf](https://huggingface.co/RichardErkhov/deepseek-ai_-_deepseek-coder-7b-base-v1.5-gguf/blob/main/deepseek-coder-7b-base-v1.5.Q2_K.gguf) | Q2_K | 2.53GB |
18
+ | [deepseek-coder-7b-base-v1.5.IQ3_XS.gguf](https://huggingface.co/RichardErkhov/deepseek-ai_-_deepseek-coder-7b-base-v1.5-gguf/blob/main/deepseek-coder-7b-base-v1.5.IQ3_XS.gguf) | IQ3_XS | 2.79GB |
19
+ | [deepseek-coder-7b-base-v1.5.IQ3_S.gguf](https://huggingface.co/RichardErkhov/deepseek-ai_-_deepseek-coder-7b-base-v1.5-gguf/blob/main/deepseek-coder-7b-base-v1.5.IQ3_S.gguf) | IQ3_S | 2.92GB |
20
+ | [deepseek-coder-7b-base-v1.5.Q3_K_S.gguf](https://huggingface.co/RichardErkhov/deepseek-ai_-_deepseek-coder-7b-base-v1.5-gguf/blob/main/deepseek-coder-7b-base-v1.5.Q3_K_S.gguf) | Q3_K_S | 2.92GB |
21
+ | [deepseek-coder-7b-base-v1.5.IQ3_M.gguf](https://huggingface.co/RichardErkhov/deepseek-ai_-_deepseek-coder-7b-base-v1.5-gguf/blob/main/deepseek-coder-7b-base-v1.5.IQ3_M.gguf) | IQ3_M | 3.06GB |
22
+ | [deepseek-coder-7b-base-v1.5.Q3_K.gguf](https://huggingface.co/RichardErkhov/deepseek-ai_-_deepseek-coder-7b-base-v1.5-gguf/blob/main/deepseek-coder-7b-base-v1.5.Q3_K.gguf) | Q3_K | 3.22GB |
23
+ | [deepseek-coder-7b-base-v1.5.Q3_K_M.gguf](https://huggingface.co/RichardErkhov/deepseek-ai_-_deepseek-coder-7b-base-v1.5-gguf/blob/main/deepseek-coder-7b-base-v1.5.Q3_K_M.gguf) | Q3_K_M | 3.22GB |
24
+ | [deepseek-coder-7b-base-v1.5.Q3_K_L.gguf](https://huggingface.co/RichardErkhov/deepseek-ai_-_deepseek-coder-7b-base-v1.5-gguf/blob/main/deepseek-coder-7b-base-v1.5.Q3_K_L.gguf) | Q3_K_L | 3.49GB |
25
+ | [deepseek-coder-7b-base-v1.5.IQ4_XS.gguf](https://huggingface.co/RichardErkhov/deepseek-ai_-_deepseek-coder-7b-base-v1.5-gguf/blob/main/deepseek-coder-7b-base-v1.5.IQ4_XS.gguf) | IQ4_XS | 3.56GB |
26
+ | [deepseek-coder-7b-base-v1.5.Q4_0.gguf](https://huggingface.co/RichardErkhov/deepseek-ai_-_deepseek-coder-7b-base-v1.5-gguf/blob/main/deepseek-coder-7b-base-v1.5.Q4_0.gguf) | Q4_0 | 3.73GB |
27
+ | [deepseek-coder-7b-base-v1.5.IQ4_NL.gguf](https://huggingface.co/RichardErkhov/deepseek-ai_-_deepseek-coder-7b-base-v1.5-gguf/blob/main/deepseek-coder-7b-base-v1.5.IQ4_NL.gguf) | IQ4_NL | 3.74GB |
28
+ | [deepseek-coder-7b-base-v1.5.Q4_K_S.gguf](https://huggingface.co/RichardErkhov/deepseek-ai_-_deepseek-coder-7b-base-v1.5-gguf/blob/main/deepseek-coder-7b-base-v1.5.Q4_K_S.gguf) | Q4_K_S | 3.75GB |
29
+ | [deepseek-coder-7b-base-v1.5.Q4_K.gguf](https://huggingface.co/RichardErkhov/deepseek-ai_-_deepseek-coder-7b-base-v1.5-gguf/blob/main/deepseek-coder-7b-base-v1.5.Q4_K.gguf) | Q4_K | 3.93GB |
30
+ | [deepseek-coder-7b-base-v1.5.Q4_K_M.gguf](https://huggingface.co/RichardErkhov/deepseek-ai_-_deepseek-coder-7b-base-v1.5-gguf/blob/main/deepseek-coder-7b-base-v1.5.Q4_K_M.gguf) | Q4_K_M | 3.93GB |
31
+ | [deepseek-coder-7b-base-v1.5.Q4_1.gguf](https://huggingface.co/RichardErkhov/deepseek-ai_-_deepseek-coder-7b-base-v1.5-gguf/blob/main/deepseek-coder-7b-base-v1.5.Q4_1.gguf) | Q4_1 | 4.1GB |
32
+ | [deepseek-coder-7b-base-v1.5.Q5_0.gguf](https://huggingface.co/RichardErkhov/deepseek-ai_-_deepseek-coder-7b-base-v1.5-gguf/blob/main/deepseek-coder-7b-base-v1.5.Q5_0.gguf) | Q5_0 | 4.48GB |
33
+ | [deepseek-coder-7b-base-v1.5.Q5_K_S.gguf](https://huggingface.co/RichardErkhov/deepseek-ai_-_deepseek-coder-7b-base-v1.5-gguf/blob/main/deepseek-coder-7b-base-v1.5.Q5_K_S.gguf) | Q5_K_S | 4.48GB |
34
+ | [deepseek-coder-7b-base-v1.5.Q5_K.gguf](https://huggingface.co/RichardErkhov/deepseek-ai_-_deepseek-coder-7b-base-v1.5-gguf/blob/main/deepseek-coder-7b-base-v1.5.Q5_K.gguf) | Q5_K | 4.59GB |
35
+ | [deepseek-coder-7b-base-v1.5.Q5_K_M.gguf](https://huggingface.co/RichardErkhov/deepseek-ai_-_deepseek-coder-7b-base-v1.5-gguf/blob/main/deepseek-coder-7b-base-v1.5.Q5_K_M.gguf) | Q5_K_M | 4.59GB |
36
+ | [deepseek-coder-7b-base-v1.5.Q5_1.gguf](https://huggingface.co/RichardErkhov/deepseek-ai_-_deepseek-coder-7b-base-v1.5-gguf/blob/main/deepseek-coder-7b-base-v1.5.Q5_1.gguf) | Q5_1 | 4.86GB |
37
+ | [deepseek-coder-7b-base-v1.5.Q6_K.gguf](https://huggingface.co/RichardErkhov/deepseek-ai_-_deepseek-coder-7b-base-v1.5-gguf/blob/main/deepseek-coder-7b-base-v1.5.Q6_K.gguf) | Q6_K | 5.28GB |
38
+ | [deepseek-coder-7b-base-v1.5.Q8_0.gguf](https://huggingface.co/RichardErkhov/deepseek-ai_-_deepseek-coder-7b-base-v1.5-gguf/blob/main/deepseek-coder-7b-base-v1.5.Q8_0.gguf) | Q8_0 | 6.84GB |
39
+
40
+
41
+
42
+
43
+ Original model description:
44
+ ---
45
+ license: other
46
+ license_name: deepseek-license
47
+ license_link: LICENSE
48
+ ---
49
+
50
+ <p align="center">
51
+ <img width="1000px" alt="DeepSeek Coder" src="https://github.com/deepseek-ai/DeepSeek-Coder/blob/main/pictures/logo.png?raw=true">
52
+ </p>
53
+ <p align="center"><a href="https://www.deepseek.com/">[🏠Homepage]</a> | <a href="https://coder.deepseek.com/">[🤖 Chat with DeepSeek Coder]</a> | <a href="https://discord.gg/Tc7c45Zzu5">[Discord]</a> | <a href="https://github.com/guoday/assert/blob/main/QR.png?raw=true">[Wechat(微信)]</a> </p>
54
+ <hr>
55
+
56
+
57
+ ### 1. Introduction of Deepseek-Coder-7B-Base-v1.5
58
+
59
+ Deepseek-Coder-7B-Base-v1.5 is continue pre-trained from Deepseek-LLM 7B on 2T tokens by employing a window size of 4K and next token prediction objective.
60
+
61
+ - **Home Page:** [DeepSeek](https://deepseek.com/)
62
+ - **Repository:** [deepseek-ai/deepseek-coder](https://github.com/deepseek-ai/deepseek-coder)
63
+ - **Chat With DeepSeek Coder:** [DeepSeek-Coder](https://coder.deepseek.com/)
64
+
65
+
66
+ ### 2. Evaluation Results
67
+ <img width="1000px" alt="DeepSeek Coder" src="https://cdn-uploads.huggingface.co/production/uploads/6538815d1bdb3c40db94fbfa/xOtCTW5xdoLCKY4FR6tri.png">
68
+
69
+
70
+
71
+ ### 3. How to Use
72
+ Here give an example of how to use our model.
73
+ ```python
74
+ from transformers import AutoTokenizer, AutoModelForCausalLM
75
+ import torch
76
+ tokenizer = AutoTokenizer.from_pretrained("deepseek-ai/deepseek-coder-7b-base-v1.5", trust_remote_code=True)
77
+ model = AutoModelForCausalLM.from_pretrained("deepseek-ai/deepseek-coder-7b-base-v1.5", trust_remote_code=True).cuda()
78
+ input_text = "#write a quick sort algorithm"
79
+ inputs = tokenizer(input_text, return_tensors="pt").cuda()
80
+ outputs = model.generate(**inputs, max_length=128)
81
+ print(tokenizer.decode(outputs[0], skip_special_tokens=True))
82
+ ```
83
+
84
+ ### 4. License
85
+ This code repository is licensed under the MIT License. The use of DeepSeek Coder models is subject to the Model License. DeepSeek Coder supports commercial use.
86
+
87
+ See the [LICENSE-MODEL](https://github.com/deepseek-ai/deepseek-coder/blob/main/LICENSE-MODEL) for more details.
88
+
89
+ ### 5. Contact
90
+
91
+ If you have any questions, please raise an issue or contact us at [service@deepseek.com](mailto:service@deepseek.com).
92
+
93
+