peasantsmith/MiniCPM5-2B-GGUF

认证创作者 peasantsmith 已认证
🤗 Hugging Face 来源text-generationapache-2.0激活 2B1.6 GBGGUF✓ 1 个校验和今天更新
一条命令提交

在你的模型文件夹旁边运行它。它会制作种子、将文件与 Hugging Face 比对,然后提交。你只需开始做种,并粘贴你账户中的密钥。它只读取你的文件,绝不修改。如果愿意,可以先阅读脚本。

curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo peasantsmith/MiniCPM5-2B-GGUF ./model-folder
需要做种者 →

MiniCPM5-2B GGUF

GGUF quantizations of openbmb/MiniCPM5-2B.

Model Description

MiniCPM5-2B is a dense ~2.5B parameter Transformer from the MiniCPM5 series, built for on-device and resource-constrained deployment. LlamaForCausalLM architecture, 131K context, strong at coding, math, tool use, and agentic tasks in its class.

Architecture: LlamaForCausalLM | 42 layers | 2048 hidden | 16 attn heads | 2 KV heads | 130,560 vocab

Quantization

Converted from the official F16 GGUF master using llama.cpp b10842 (CPU-only, no imatrix).

File Size Type bpw
MiniCPM5-2B-Q4_K.gguf 1.56 GB Q4_K - Medium ~4.95

Q4_K (Mixed): Q4_K base with Q6_K on attention and FFN output tensors (llama.cpp's built-in Q4_K_M large-precision treatment).

Usage

Ollama

ollama run hf.co/peasantsmith/MiniCPM5-2B-GGUF:Q4_K

llama.cpp

llama-cli -m MiniCPM5-2B-Q4_K.gguf -p "Your prompt here" -ngl <layers that fit your VRAM>

Python (llama-cpp-python)

from llama_cpp import Llama
llm = Llama(model_path="MiniCPM5-2B-Q4_K.gguf", n_ctx=8192, n_gpu_layers=-1)
output = llm("Your prompt here", max_tokens=256)
print(output["choices"][0]["text"])

Composition

Type Count Size
Q4_K 253 tensors 1110 MiB
Q6_K 43 tensors 445 MiB
F32 85 tensors <1 MiB

Original Model