CoolFace
Modelpublic

Merlin-Research/Micro-Merlin-Experimental

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
0likes6downloads
Model Card

Micro-Merlin-Experimental

This is a fine-tune of LiquidAI/LFM2.5-1.2B-Thinking on GPT-5.2 reasoning traces.

The model was trained with LoRA on the TeichAI/gpt-5.2-high-reasoning-250x dataset, a collection of high-reasoning-depth traces distilled from GPT-5.2, focused on production-grade DevOps, backend, and infrastructure engineering tasks. The goal is to transfer GPT-5.2's structured <think> reasoning style onto a compact 1.2B model that runs comfortably on consumer hardware.

Model & Training Details

FieldValue
Base modelLiquidAI/LFM2.5-1.2B-Thinking
Parameters1.2B
MethodLoRA (16-bit, rank-stabilized)
DatasetTeichAI/gpt-5.2-high-reasoning-250x
Training examples249
Epochs1
Total steps~63
Final training loss2.121
LoRA rank (r)64
LoRA alpha64
LoRA dropout0
rsLoRAEnabled
Target modulesqproj, kproj, vproj, outproj, in_proj, w1, w2, w3
Max sequence length20,480
Batch size (effective)4 (1 × 4 grad. accum.)
Learning rate2e-4
LR schedulerCosine
Warmup steps3
Optimizeradamw_8bit
Weight decay0.01
PrecisionFP16
Loss maskingResponses only (<think> + answer)
Hardware1× NVIDIA Tesla T4 (16 GB)
FrameworkUnsloth + TRL SFTTrainer
Training runtime~608 s (~10 min)
Chat templateChatML (`<im_start> / <im_end>`)

Usage

python
from unsloth import FastLanguageModel

model, tokenizer = FastLanguageModel.from_pretrained(
    model_name="OrionLLM/Micro-Merlin-Experimental",
    max_seq_length=20480,
    load_in_4bit=False,
)
FastLanguageModel.for_inference(model)

messages = [{"role": "user", "content": "Design a rate limiter for a REST API."}]
inputs = tokenizer.apply_chat_template(
    messages, tokenize=True, add_generation_prompt=True, return_tensors="pt"
).to(model.device)

out = model.generate(**inputs, max_new_tokens=1024, temperature=0.5, repetition_penalty=1.15)
print(tokenizer.decode(out[0], skip_special_tokens=True))

<div align="center">

Merlin Research • 2026

Developed by DedeProGames

</div>