๐Ÿ›‘ Important Notice from the Creator

please dont make qanizations of models I make because these are very hard bulit


๐Ÿ™ A note from the author

These models were hand-trained by me on a 2GB consumer laptop GPU over many long nights โ€” they are hard to build and mean a lot to me. Please don't create quantizations or re-uploads of my models. If you build on them anyway, please clearly credit ANTRUhub and link back to the original model. Thank you.

ANTRU-3B

A 3.09B-parameter coding assistant: Qwen2.5-Coder-3B-Instruct fine-tuned with a custom curriculum on a consumer laptop (Intel i7-8550U CPU + GeForce MX150 2GB GPU, LoRA, real backprop through all adapted layers). Part of the ANTRU project โ€” a family of fully local, self-trained models.

Model details

Base model Qwen2.5-Coder-3B-Instruct (Apache-2.0)
Fine-tune LoRA r=16, ฮฑ=32, dropout 0.05 โ€” all attention + MLP projections (q/k/v/o/gate/up/down)
Curriculum 302 curated examples: ANTRU identity, verified Python/coding solutions, step-by-step math reasoning, agent tool-calling format (<tool_call>), multi-turn clarify-then-deliver patterns
Quantization Q4_K_M GGUF (~1.8GB) from a merged fp16 master
Context 128K tokens via YaRN (native 32K ร—4)

What it's trained to do

  • Answer as ANTRU (built by Haider) โ€” identity trained into the weights, not a prompt trick
  • Deliver complete, runnable code with explanations ("Here's a clean solution:" style)
  • Reason step-by-step on math and debugging questions
  • Emit <tool_call> JSON blocks in agent-harness format when tools are provided
  • Clarify once, then deliver โ€” trained multi-turn patterns where answers to clarifying questions are followed by real code, not more questions

Honest limits

  • A 3B model: strong local helper, not agentic-grade โ€” complex multi-step harness workflows (large system prompts + injected reminders) can confuse it
  • Trained on a small (302-example) curriculum: behavior is reliable on curriculum-like asks; broad knowledge comes from the Qwen base unchanged

Usage (llama.cpp)

llama-server -m antru-3b-Q4_K_M.gguf -c 131072 -ngl 99 \
  --rope-scaling yarn --rope-scale 4 --rope-freq-base 1000000 \
  --yarn-orig-ctx 32768 --alias antru-3b --port 8080

OpenAI-compatible endpoint at http://127.0.0.1:8080/v1 (model antru-3b). Fits a 4GB GPU at Q4; runs on CPU+RAM split for smaller cards.

Training recipe

Single epoch over 302 examples (assistant-only loss masking, ChatML framing), AdamW lr 1e-4, cosine schedule, fp32 LoRA on CPU (~2h). Merged into fp16, converted via llama.cpp convert_hf_to_gguf.py, quantized Q4_K_M. Full pipeline and ledgers in the ANTRU project repository.

License & attribution

Apache-2.0, inherited from Qwen2.5-Coder. Base model by Alibaba's Qwen team; fine-tune, curriculum, and training by the ANTRU project (Haider).

Downloads last month
466
Safetensors
Model size
3B params
Tensor type
F16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for ANTRUhub/ANTRU-3B

Base model

Qwen/Qwen2.5-3B
Adapter
(97)
this model
Adapters
2 models