GnLOLot/MiniCPM5-1B-Claude-Opus-Fable5-Thinking

Hugging Face Models Trending Models

Summary

MiniCPM5-1B-Claude-Opus-Fable5-Thinking is a compact 1B thinking language model fine-tuned from openbmb/MiniCPM5-1B on Fable 5 data, enhancing coding and instruction-following while retaining the native thinking chat template and tool-call format. It supports up to 128K context and is suitable for local deployment.

Task: text-generation Tags: transformers, safetensors, llama, text-generation, minicpm, minicpm5, thinking, fable5, coding, instruction-following, conversational, en, zh, base_model:openbmb/MiniCPM5-1B, base_model:finetune:openbmb/MiniCPM5-1B, license:apache-2.0, text-generation-inference, endpoints_compatible, region:us
Original Article
View Cached Full Text

Cached at: 07/15/26, 04:17 AM

GnLOLot/MiniCPM5-1B-Claude-Opus-Fable5-Thinking · Hugging Face

Source: https://huggingface.co/GnLOLot/MiniCPM5-1B-Claude-Opus-Fable5-Thinking MiniCPM5-1B-Claude-Opus-Fable5-Thinking

https://huggingface.co/GnLOLot/MiniCPM5-1B-Claude-Opus-Fable5-Thinking#minicpm5-1b-claude-opus-fable5-thinkingMiniCPM5-1B-Claude-Opus-Fable5-Thinking

📢 V2.0 is available— We have released an updated model withenhanced tool-callingcapabilities. Welcome to try the new version: - Transformers:MiniCPM5-1B-Claude-Opus-Fable5-V2-Thinking - GGUF:MiniCPM5-1B-Claude-Opus-Fable5-V2-Thinking-GGUF

GGUF quantizations for local deployment:MiniCPM5-1B-Claude-Opus-Fable5-Thinking-GGUF

中文说明

MiniCPM5-1B-Claude-Opus-Fable5-Thinkingis a compact 1BThinkinglanguage model built onopenbmb/MiniCPM5-1B. It is further fine-tuned onFable 5data to improvecodingandinstruction-followingwhile keeping MiniCPM5’s native Thinking chat template and tool-call format.

For llama.cpp / Ollama / LM Studio deployment, see the**GGUF repository**.


https://huggingface.co/GnLOLot/MiniCPM5-1B-Claude-Opus-Fable5-Thinking#overviewOverview

ItemDetailBase modelopenbmb/MiniCPM5-1B(1B dense Llama architecture)Post-trainingFable 5 tracesKey gainsStronger coding and instruction following vs. the base checkpointChat formatMiniCPM5 native Thinking template with optional chain-of-thought blocksContext length****128K(max\_position\_embeddings = 131072)DeploymentSingle-GPU friendly; suitable for edge / local use


https://huggingface.co/GnLOLot/MiniCPM5-1B-Claude-Opus-Fable5-Thinking#capabilitiesCapabilities

  • Coding— code generation, debugging, and software-engineering-style tasks
  • Instruction following— more reliable adherence to user prompts and structured constraints
  • Thinking mode— chain-of-thought reasoning via the MiniCPM5 chat template
  • Tool calling— inherits MiniCPM5’s XML tool-call format
  • Long context— up to128K tokens(131,072 tokens perconfig\.json)

https://huggingface.co/GnLOLot/MiniCPM5-1B-Claude-Opus-Fable5-Thinking#quick-startQuick start

from transformers import AutoModelForCausalLM, AutoTokenizer
import torch

model_id = "GnLOLot/MiniCPM5-1B-Claude-Opus-Fable5-Thinking"

tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
    model_id,
    trust_remote_code=True,
    torch_dtype=torch.bfloat16,
    device_map="auto",
)

messages = [{"role": "user", "content": "Write a Python function to merge two sorted lists."}]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(text, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=512, do_sample=False)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))

https://huggingface.co/GnLOLot/MiniCPM5-1B-Claude-Opus-Fable5-Thinking#sampling-recommendationsSampling recommendations

Generation defaults are inherited from**MiniCPM5-1B**:

ModeParamsThink(default)temperature=0\.9, top\_p=0\.95No Thinktemperature=0\.7, top\_p=0\.95,enable\_thinking=False


https://huggingface.co/GnLOLot/MiniCPM5-1B-Claude-Opus-Fable5-Thinking#limitationsLimitations

  • Thinking outputs— the model may emit reasoning blocks before the final answer; downstream apps can strip them before display
  • 1B scale— optimized for lightweight local deployment, not frontier-scale general reasoning

https://huggingface.co/GnLOLot/MiniCPM5-1B-Claude-Opus-Fable5-Thinking#provenance–licensingProvenance & licensing

Released underApache-2.0, inherited fromMiniCPM5-1B.

https://huggingface.co/GnLOLot/MiniCPM5-1B-Claude-Opus-Fable5-Thinking#acknowledgementsAcknowledgements

Similar Articles

GnLOLot/MiniCPM5-1B-Claude-Opus-Fable5-V2-Thinking-GGUF

Hugging Face Models Trending

GnLOLot releases GGUF quantizations of the MiniCPM5-1B-Claude-Opus-Fable5-V2-Thinking model, a 1B parameter thinking model fine-tuned on Fable 5 data with improved tool/function calling compared to V1, designed for local deployment via llama.cpp and compatible runtimes.

MiniCPM5 1B - what is it?

Reddit r/LocalLLaMA

MiniCPM5-1B is a new small language model from OpenBMB, apparently built from scratch with its own tokenizer and distinct behavior, generating excitement as a capable 1B model.

MiniCPM5-1B

Reddit r/LocalLLaMA

OpenBMB releases MiniCPM5-1B, a dense 1B Transformer model achieving SOTA among open-source 1B-class models, designed for on-device deployment with hybrid reasoning and long-context support.