CRAFT (Curriculum-guided Reinforced Adaptive Fine-Tuning) is a reasoning-enhanced
version of Phi-3-Mini, trained to address three specific failure modes of
reinforcement learning applied to small language models: training instability,
unreliable reward signals, and outcome-blind learning.
Built for Samsung EnnovateX 2026, Problem Statement 06.
1from llama_cpp import Llama
23llm = Llama(model_path="CRAFT_Q4_K_M.gguf", n_ctx=2048)4output = llm("Solve step by step: What is 15% of 240?", max_tokens=256)5print(output["choices"][0]["text"])
Intended Use
On-device reasoning for resource-constrained environments — laptops, edge devices,
and offline applications requiring multi-step mathematical and logical reasoning
without cloud dependency.
Limitations
[Be honest here — e.g., "Performance gains are most pronounced on arithmetic
reasoning tasks; gains on broader knowledge benchmarks (MMLU) are comparatively
smaller, reflecting the training data composition."]
Citation / Acknowledgment
Built for Samsung EnnovateX 2026 Hackathon, Problem Statement 06.
Base model: Microsoft Phi-3-Mini.
Repository
Full source code, training pipeline, and documentation:
GitHub link