Views
No views yet
| File | Quantization | Size | BPW | Description |
|---|---|---|---|---|
| MiniCPM-V-4.6-F16.gguf | F16 | 1.5GB | 16.0 | Full precision |
| MiniCPM-V-4.6-Q4_K_M.gguf | Q4_K_M | 812MB | 8.5 | 4-bit, medium |
| MiniCPM-V-4.6-Q4_K_S.gguf | Q4_K_S | 812MB | 8.5 | 4-bit, small |
| MiniCPM-V-4.6-Q3_K_M.gguf | Q3_K_M | 812MB | 8.5 | 3-bit, medium |
| MiniCPM-V-4.6-Q3_K_S.gguf | Q3_K_S | 812MB | 8.5 | 3-bit, small |
| MiniCPM-V-4.6-Q2_K.gguf | Q2_K | 812MB | 8.5 | 2-bit, smallest |
llama-server -m MiniCPM-V-4.6-Q2_K.gguf --port 80801from llama_cpp import Llama
2
3llm = Llama(model_path="./MiniCPM-V-4.6-Q2_K.gguf", n_ctx=512, n_threads=4)
4output = llm.create_chat_completion(
5 messages=[{"role": "user", "content": "你好,你是谁?"}],
6 max_tokens=100,
7 temperature=0.0,
8)
9print(output['choices'][0]['message']['content'])FROM ./MiniCPM-V-4.6-Q2_K.gguf1ollama create minicpm-v-4.6 -f Modelfile
2ollama run minicpm-v-4.6| Type | Bits | Quality | Speed | Use Case |
|---|---|---|---|---|
| F16 | 16 | Best | Slow | Development |
| Q4_K_M | 4 | Good | Fast | General use |
| Q3_K_M | 3 | Medium | Faster | Balanced |
| Q2_K | 2 | Lower | Fastest | Edge/mobile |
1python convert_hf_to_gguf.py openbmb/MiniCPM-V-4.6 --outfile MiniCPM-V-4.6-F16.gguf --outtype f16
2llama-quantize MiniCPM-V-4.6-F16.gguf MiniCPM-V-4.6-Q2_K.gguf Q2_K