FinchAI-Rune3.1-Preview
A fine-tuned 9B model for chat and code generation
2 min readupdated
The new language model is built on XiaomiMiMo/MiMo-V2.6-Distill-Qwen-9B using LoRA (a lightweight adaptation layer over the base model) with cloud compute resources. Unlike the previous version based on MiniCPM5-2B, the new model features 3.6 times more parameters, native long-context support, and reliable handling of complex prompts. It is optimized for technical tasks, multi-turn dialogue, and tool calling.
Key features
- MiMo-V2.6 base: 9.01B parameters, hybrid linear attention architecture (24 linear layers and 8 full layers).
- Specialized dataset: 1,272 training examples plus 40 corrections for short prompts and elimination of meta-reasoning.
- Training parameters: LoRA rank 32 with alpha 64, trained on sequences up to 32,768 tokens in bf16 and TF32 formats.
- Tool calling support: reliable generation of Qwen-style function calls for system and operational tasks.
What you can do
- Code and architecture analysis: use for discussing technical issues, identifying bottlenecks, and designing caching mechanisms.
- Chatbot integration: deploy a local assistant for answering technical questions with context support.
- Function calling setup: apply the model in combination with external APIs and development tools.
Example
import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
mid = "whcl412/FinchAI-Rune3.1-Preview"
tok = AutoTokenizer.from_pretrained(mid, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
mid, dtype=torch.bfloat16, device_map="auto", trust_remote_code=True).eval()
msgs = [{"role": "system", "content": "你是 FinchAI-Rune3.1,一个跑在本地的助手。回答简洁直接。"},
{"role": "user", "content": "你好"}]
text = tok.apply_chat_template(msgs, tokenize=False,
add_generation_prompt=True, enable_thinking=True)
ids = tok(text, return_tensors="pt", add_special_tokens=False).to(model.device)
out = model.generate(**ids, max_new_tokens=256, do_sample=True, temperature=0.3)
print(tok.decode(out[0][ids["input_ids"].shape[1]:], skip_special_tokens=False))Read more
DetailsBenchmarks: key loss metrics dropped from 0.2324 to 0.0044 during fine-tuning.
Hardware requirements: full f16 weights take up 16.69 GiB, training was performed on a GPU with 96GB VRAM.
Limitations: long context was trained only on the 8K-15K token range; traces of overfitting are possible due to the low final loss.
Details: MIT license inherited from the XiaomiMiMo base model.










Comments