apepkuss79 commited on
Commit
025278e
·
verified ·
1 Parent(s): 204a5b5

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +93 -0
README.md CHANGED
@@ -1,3 +1,96 @@
1
  ---
 
2
  license: apache-2.0
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ base_model: deepseek-ai/DeepSeek-R1-Distill-Qwen-7B
3
  license: apache-2.0
4
+ license_link: https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-7B/blob/main/LICENSE
5
+ model_creator: Qwen
6
+ model_name: DeepSeek-R1-Distill-Qwen-7B
7
+ quantized_by: Second State Inc.
8
+ library_name: transformers
9
  ---
10
+
11
+ <!-- header start -->
12
+ <!-- 200823 -->
13
+ <div style="width: auto; margin-left: auto; margin-right: auto">
14
+ <img src="https://github.com/LlamaEdge/LlamaEdge/raw/dev/assets/logo.svg" style="width: 100%; min-width: 400px; display: block; margin: auto;">
15
+ </div>
16
+ <hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
17
+ <!-- header end -->
18
+
19
+ # DeepSeek-R1-Distill-Qwen-7B-GGUF
20
+
21
+ ## Original Model
22
+
23
+ [deepseek-ai/DeepSeek-R1-Distill-Qwen-7B](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-7B)
24
+
25
+ ## Run with LlamaEdge
26
+
27
+ - LlamaEdge version: coming soon
28
+
29
+ <!-- - LlamaEdge version: [v0.14.3](https://github.com/LlamaEdge/LlamaEdge/releases/tag/0.14.3) -->
30
+
31
+ <!-- - Prompt template
32
+
33
+ - Prompt type: `qwen-2.5-coder`
34
+
35
+ - Prompt string
36
+
37
+ - File-Level Code Completion (Fill in the middle)
38
+
39
+ ```text
40
+ <|fim_prefix|>{prefix_code}<|fim_suffix|>{suffix_code}<|fim_middle|>
41
+ ```
42
+
43
+ *Reference: https://github.com/QwenLM/Qwen2.5-Coder?tab=readme-ov-file#3-file-level-code-completion-fill-in-the-middle*
44
+
45
+ - Repository-Level Code Completion
46
+
47
+ ```text
48
+ <|repo_name|>{repo_name}
49
+ <|file_sep|>{file_path1}
50
+ {file_content1}
51
+ <|file_sep|>{file_path2}
52
+ {file_content2}
53
+ ```
54
+
55
+ *Reference: https://github.com/QwenLM/Qwen2.5-Coder?tab=readme-ov-file#4-repository-level-code-completion*
56
+
57
+ - Context size: `128000`
58
+
59
+ - Run as LlamaEdge service
60
+
61
+ ```bash
62
+ wasmedge --dir .:. --nn-preload default:GGML:AUTO:DeepSeek-R1-Distill-Qwen-7B-Q5_K_M.gguf \
63
+ llama-api-server.wasm \
64
+ --model-name DeepSeek-R1-Distill-Qwen-7B \
65
+ --prompt-template qwen-2.5-coder \
66
+ --ctx-size 128000
67
+ ```
68
+
69
+ - Run as LlamaEdge command app
70
+
71
+ ```bash
72
+ wasmedge --dir .:. --nn-preload default:GGML:AUTO:DeepSeek-R1-Distill-Qwen-7B-Q5_K_M.gguf \
73
+ llama-chat.wasm \
74
+ --prompt-template qwen-2.5-coder \
75
+ --ctx-size 128000
76
+ ``` -->
77
+
78
+ ## Quantized GGUF Models
79
+
80
+ | Name | Quant method | Bits | Size | Use case |
81
+ | ---- | ---- | ---- | ---- | ----- |
82
+ | [DeepSeek-R1-Distill-Qwen-7B-Q2_K.gguf](https://huggingface.co/second-state/DeepSeek-R1-Distill-Qwen-7B-GGUF/blob/main/DeepSeek-R1-Distill-Qwen-7B-Q2_K.gguf) | Q2_K | 2 | 3.02 GB| smallest, significant quality loss - not recommended for most purposes |
83
+ | [DeepSeek-R1-Distill-Qwen-7B-Q3_K_L.gguf](https://huggingface.co/second-state/DeepSeek-R1-Distill-Qwen-7B-GGUF/blob/main/DeepSeek-R1-Distill-Qwen-7B-Q3_K_L.gguf) | Q3_K_L | 3 | 4.09 GB| small, substantial quality loss |
84
+ | [DeepSeek-R1-Distill-Qwen-7B-Q3_K_M.gguf](https://huggingface.co/second-state/DeepSeek-R1-Distill-Qwen-7B-GGUF/blob/main/DeepSeek-R1-Distill-Qwen-7B-Q3_K_M.gguf) | Q3_K_M | 3 | 3.81 GB| very small, high quality loss |
85
+ | [DeepSeek-R1-Distill-Qwen-7B-Q3_K_S.gguf](https://huggingface.co/second-state/DeepSeek-R1-Distill-Qwen-7B-GGUF/blob/main/DeepSeek-R1-Distill-Qwen-7B-Q3_K_S.gguf) | Q3_K_S | 3 | 3.49 GB| very small, high quality loss |
86
+ | [DeepSeek-R1-Distill-Qwen-7B-Q4_0.gguf](https://huggingface.co/second-state/DeepSeek-R1-Distill-Qwen-7B-GGUF/blob/main/DeepSeek-R1-Distill-Qwen-7B-Q4_0.gguf) | Q4_0 | 4 | 4.43 GB| legacy; small, very high quality loss - prefer using Q3_K_M |
87
+ | [DeepSeek-R1-Distill-Qwen-7B-Q4_K_M.gguf](https://huggingface.co/second-state/DeepSeek-R1-Distill-Qwen-7B-GGUF/blob/main/DeepSeek-R1-Distill-Qwen-7B-Q4_K_M.gguf) | Q4_K_M | 4 | 4.68 GB| medium, balanced quality - recommended |
88
+ | [DeepSeek-R1-Distill-Qwen-7B-Q4_K_S.gguf](https://huggingface.co/second-state/DeepSeek-R1-Distill-Qwen-7B-GGUF/blob/main/DeepSeek-R1-Distill-Qwen-7B-Q4_K_S.gguf) | Q4_K_S | 4 | 4.46 GB| small, greater quality loss |
89
+ | [DeepSeek-R1-Distill-Qwen-7B-Q5_0.gguf](https://huggingface.co/second-state/DeepSeek-R1-Distill-Qwen-7B-GGUF/blob/main/DeepSeek-R1-Distill-Qwen-7B-Q5_0.gguf) | Q5_0 | 5 | 5.32 GB| legacy; medium, balanced quality - prefer using Q4_K_M |
90
+ | [DeepSeek-R1-Distill-Qwen-7B-Q5_K_M.gguf](https://huggingface.co/second-state/DeepSeek-R1-Distill-Qwen-7B-GGUF/blob/main/DeepSeek-R1-Distill-Qwen-7B-Q5_K_M.gguf) | Q5_K_M | 5 | 5.44 GB| large, very low quality loss - recommended |
91
+ | [DeepSeek-R1-Distill-Qwen-7B-Q5_K_S.gguf](https://huggingface.co/second-state/DeepSeek-R1-Distill-Qwen-7B-GGUF/blob/main/DeepSeek-R1-Distill-Qwen-7B-Q5_K_S.gguf) | Q5_K_S | 5 | 5.32 GB| large, low quality loss - recommended |
92
+ | [DeepSeek-R1-Distill-Qwen-7B-Q6_K.gguf](https://huggingface.co/second-state/DeepSeek-R1-Distill-Qwen-7B-GGUF/blob/main/DeepSeek-R1-Distill-Qwen-7B-Q6_K.gguf) | Q6_K | 6 | 6.25 GB| very large, extremely low quality loss |
93
+ | [DeepSeek-R1-Distill-Qwen-7B-Q8_0.gguf](https://huggingface.co/second-state/DeepSeek-R1-Distill-Qwen-7B-GGUF/blob/main/DeepSeek-R1-Distill-Qwen-7B-Q8_0.gguf) | Q8_0 | 8 | 8.21 GB| very large, extremely low quality loss - not recommended |
94
+ | [DeepSeek-R1-Distill-Qwen-7B-f16.gguf](https://huggingface.co/second-state/DeepSeek-R1-Distill-Qwen-7B-GGUF/blob/main/DeepSeek-R1-Distill-Qwen-7B-f16.gguf) | f16 | 16 | 15.2 GB| |
95
+
96
+ *Quantized with llama.cpp b4519*