MiniCPM5-2B-catalan-chat โ€” GGUF

GGUF conversions of luispoveda93/MiniCPM5-2B-catalan-chat โ€” a LoRA fine-tune of openbmb/MiniCPM5-2B on projecte-aina/InstruCAT (165,100 Catalan instructions, 1 epoch) for conversational Catalan.

Converted with llama.cpp convert_hf_to_gguf.py (fp16) and quantized with llama-quantize. The chat template is embedded in the GGUF metadata (tokenizer.chat_template).

Available quants

File Quant Size Notes
MiniCPM5-2B-catalan-chat-Q4_K_M.gguf Q4_K_M 1.6 GB Best size/quality trade-off for most uses
MiniCPM5-2B-catalan-chat-Q8_0.gguf Q8_0 2.7 GB Near-lossless
MiniCPM5-2B-catalan-chat-f16.gguf F16 5.0 GB Reference / re-quantization source

Usage

llama.cpp

llama-cli -m MiniCPM5-2B-catalan-chat-Q4_K_M.gguf \
  --chat-template llama3 \
  -p "Ets un assistent conversacional que respon sempre en catalร .\nUser: Hola! Com estร s?"

Or with the server (the embedded chat template is applied automatically):

llama-server -m MiniCPM5-2B-catalan-chat-Q4_K_M.gguf --port 8080

Ollama

Create a Modelfile:

FROM MiniCPM5-2B-catalan-chat-Q4_K_M.gguf
SYSTEM "Ets un assistent conversacional que respon sempre en catalร ."
ollama create minicpm5-catalan -f Modelfile
ollama run minicpm5-catalan

Details

  • Base model: openbmb/MiniCPM5-2B (2.5B params, Llama architecture, vocab 130,560)
  • Training: LoRA r=32/ฮฑ=64, lr 2e-4, effective batch 32, max_length 2048 packed, completion-only loss; final loss โ‰ˆ 0.33, token accuracy โ‰ˆ 0.92 (see training metrics)
  • License: base model Apache-2.0; training data CC-BY-NC-ND-4.0 (non-commercial) โ€” check InstruCAT terms before commercial use
  • Limitations: single-turn task-oriented training data; general chit-chat behavior comes from the base model
Downloads last month
46
GGUF
Model size
3B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

4-bit

8-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support