NANI-Nithin commited on
Commit
5ffb616
·
verified ·
1 Parent(s): 366cc9f

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +270 -0
README.md ADDED
@@ -0,0 +1,270 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: CohereLabs/North-Mini-Code-1.0
4
+ tags:
5
+ - gguf
6
+ - llama.cpp
7
+ - cohere
8
+ - code
9
+ - moe
10
+ - quantized
11
+ - north-mini-code
12
+ pipeline_tag: text-generation
13
+ language:
14
+ - en
15
+ ---
16
+
17
+ # North-Mini-Code-1.0-GGUF
18
+
19
+ GGUF conversions and quantizations of **CohereLabs/North-Mini-Code-1.0** for use with:
20
+
21
+ - llama.cpp
22
+ - LM Studio
23
+ - Ollama
24
+ - Jan
25
+ - KoboldCpp
26
+ - Text Generation WebUI
27
+ - Open WebUI
28
+ - Other GGUF-compatible runtimes
29
+
30
+ ---
31
+
32
+ # About the Model
33
+
34
+ North-Mini-Code-1.0 is a code-focused Mixture-of-Experts (MoE) model released by CohereLabs.
35
+
36
+ This repository provides ready-to-use GGUF conversions for local inference across a range of hardware configurations.
37
+
38
+ ---
39
+
40
+ # Available Files
41
+
42
+ ### Full Precision
43
+
44
+ - `North-Mini-Code-1.0-F16.gguf`
45
+
46
+ ### Quantized Versions
47
+
48
+ - `North-Mini-Code-1.0-Q4_K_M.gguf`
49
+ - `North-Mini-Code-1.0-Q5_K_M.gguf`
50
+ - `North-Mini-Code-1.0-Q6_K.gguf`
51
+ - `North-Mini-Code-1.0-Q8_0.gguf`
52
+
53
+ ---
54
+
55
+ # Recommended Quantization
56
+
57
+ For most users:
58
+
59
+ ```text
60
+ North-Mini-Code-1.0-Q4_K_M.gguf
61
+ ```
62
+
63
+ It offers the best balance of:
64
+
65
+ - Quality
66
+ - Memory usage
67
+ - Inference speed
68
+
69
+ If you have more available RAM/VRAM, consider:
70
+
71
+ ```text
72
+ North-Mini-Code-1.0-Q5_K_M.gguf
73
+ ```
74
+
75
+ or
76
+
77
+ ```text
78
+ North-Mini-Code-1.0-Q6_K.gguf
79
+ ```
80
+
81
+ for slightly higher output quality.
82
+
83
+ ---
84
+
85
+ # Approximate File Sizes
86
+
87
+ ```text
88
+ F16 ~60+ GB
89
+ Q4_K_M ~20 GB
90
+ Q5_K_M ~23 GB
91
+ Q6_K ~27 GB
92
+ Q8_0 ~34 GB
93
+ ```
94
+
95
+ Actual sizes may vary slightly depending on conversion tooling versions.
96
+
97
+ ---
98
+
99
+ # Usage
100
+
101
+ ## llama.cpp
102
+
103
+ Prompt mode:
104
+
105
+ ```bash
106
+ ./llama-cli \
107
+ -m North-Mini-Code-1.0-Q4_K_M.gguf \
108
+ -p "Write a Python function that reverses a linked list."
109
+ ```
110
+
111
+ Chat mode:
112
+
113
+ ```bash
114
+ ./llama-cli \
115
+ -m North-Mini-Code-1.0-Q4_K_M.gguf \
116
+ -cnv
117
+ ```
118
+
119
+ ---
120
+
121
+ ## LM Studio
122
+
123
+ 1. Download your preferred GGUF file.
124
+ 2. Open LM Studio.
125
+ 3. Import the model.
126
+ 4. Start chatting.
127
+
128
+ ---
129
+
130
+ ## Ollama
131
+
132
+ Create a `Modelfile`:
133
+
134
+ ```text
135
+ FROM North-Mini-Code-1.0-Q4_K_M.gguf
136
+ ```
137
+
138
+ Create the model:
139
+
140
+ ```bash
141
+ ollama create north-mini-code -f Modelfile
142
+ ```
143
+
144
+ Run it:
145
+
146
+ ```bash
147
+ ollama run north-mini-code
148
+ ```
149
+
150
+ ---
151
+
152
+ # Hardware Recommendations
153
+
154
+ ### Q4_K_M
155
+
156
+ Recommended minimum:
157
+
158
+ ```text
159
+ 24 GB RAM
160
+ ```
161
+
162
+ ### Q5_K_M
163
+
164
+ Recommended minimum:
165
+
166
+ ```text
167
+ 32 GB RAM
168
+ ```
169
+
170
+ ### Q6_K
171
+
172
+ Recommended minimum:
173
+
174
+ ```text
175
+ 32-40 GB RAM
176
+ ```
177
+
178
+ ### Q8_0
179
+
180
+ Recommended minimum:
181
+
182
+ ```text
183
+ 48+ GB RAM
184
+ ```
185
+
186
+ ### F16
187
+
188
+ Recommended minimum:
189
+
190
+ ```text
191
+ 80+ GB RAM
192
+ ```
193
+
194
+ ---
195
+
196
+ # Prompting Tips
197
+
198
+ This model is optimized for programming-related tasks.
199
+
200
+ Example prompts:
201
+
202
+ ```text
203
+ Implement a fast Rust HTTP server.
204
+ ```
205
+
206
+ ```text
207
+ Explain this C++ compiler error.
208
+ ```
209
+
210
+ ```text
211
+ Write comprehensive unit tests for the following Python code.
212
+ ```
213
+
214
+ ```text
215
+ Convert this JavaScript function to TypeScript.
216
+ ```
217
+
218
+ ```text
219
+ Optimize this SQL query.
220
+ ```
221
+
222
+ ---
223
+
224
+ # Base Model
225
+
226
+ Base model:
227
+
228
+ ```text
229
+ CohereLabs/North-Mini-Code-1.0
230
+ ```
231
+
232
+ All training, architecture, benchmarks, licensing terms, and usage restrictions belong to the original model authors.
233
+
234
+ Please refer to the original repository for official documentation and licensing information.
235
+
236
+ ---
237
+
238
+ # Conversion Details
239
+
240
+ Converted using:
241
+
242
+ ```text
243
+ llama.cpp
244
+ ```
245
+
246
+ Generated quantizations:
247
+
248
+ ```text
249
+ F16
250
+ Q4_K_M
251
+ Q5_K_M
252
+ Q6_K
253
+ Q8_0
254
+ ```
255
+
256
+ A tokenizer compatibility workaround was applied during conversion to support current GGUF conversion tooling.
257
+
258
+ ---
259
+
260
+ # Credits
261
+
262
+ - Base Model: CohereLabs
263
+ - GGUF Conversion & Quantization: NANI-Nithin
264
+ - Tooling: llama.cpp
265
+
266
+ ---
267
+
268
+ # Repository
269
+
270
+ 👉 https://huggingface.co/NANI-Nithin/north-mini-code-gguf