How to use from the
Use from the
llama-cpp-python library
# !pip install llama-cpp-python

from llama_cpp import Llama

llm = Llama.from_pretrained(
	repo_id="majentik/MiniCPM5-1B-Base-RotorQuant-GGUF-IQ4_XS",
	filename="MiniCPM5-1B-Base-IQ4_XS.gguf",
)
llm.create_chat_completion(
	messages = [
		{
			"role": "user",
			"content": "What is the capital of France?"
		}
	]
)

KV-cache quantization (upstream, no fork needed): llama.cpp/Ollama cover this natively — -ctk q8_0 -ctv q8_0 (half KV memory, negligible quality loss) or -ctk q4_0 -ctv q4_0 (quarter memory, small quality cost). In Ollama: OLLAMA_KV_CACHE_TYPE=q8_0 with OLLAMA_FLASH_ATTENTION=1.

MiniCPM5-1B-Base — RotorQuant GGUF IQ4_XS

openbmb/MiniCPM5-1B-Base quantized pack, published as MiniCPM5-1B-Base-RotorQuant-GGUF-IQ4_XS.

Method

llama.cpp IQ4_XS quantization.

Release line

Released under the RotorQuant line. RotorQuant and TurboQuant are this project's release labels for this pack, not distinct quantization algorithms — both brand repos carry byte-identical weights. No brand-specific speedup is claimed or measured.

Modality

pipeline_tag: text-generation. This is a llama.cpp GGUF conversion of the text tower; no modality beyond pipeline_tag above is claimed or included.

License

This pack is a derivative of openbmb/MiniCPM5-1B-Base; all credit for the original model, training, and weights belongs to the upstream authors. This repo republishes a quantized conversion of those weights only.

Governed by the apache-2.0. See the upstream repo and the linked license for the full terms — no license text is reproduced here.

Downloads last month
-
GGUF
Model size
1B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for majentik/MiniCPM5-1B-Base-RotorQuant-GGUF-IQ4_XS

Quantized
(23)
this model