Canis.teach - Ministral-3B Instruct (Generalist)
Generalist LoRA adapters for the Canis.teach suite, capable of tutoring across Math, Science, Humanities, and Language Arts.
Base Model : unsloth/Ministral-3-3B-Instruct-2512
Release : CanisAI/teach-generalist-ministral-3b-r2
Project : Canis.teach - Learning that fits.
Subject : Generalist (All Subjects)
What is this?
This repository provides LoRA adapters fine-tuned on Generalist (All Subjects) tutoring dialogues. Apply these adapters to the base model to enable subject-aware, didactic behavior without downloading a full merged checkpoint.
The model is designed to teach, not just answer - providing step-by-step explanations, hints, and pedagogically structured responses.
For ready-to-run merged models or Ollama-friendly GGUF quantizations, see the "Related Models" section.
Quick Start
Installation
pip install transformers peft torch
Usage (LoRA)
1 from transformers import AutoTokenizer , AutoModelForCausalLM
2 from peft import PeftModel
3
4 base = "unsloth/Ministral-3-3B-Instruct-2512"
5 adapter = "CanisAI/teach-generalist-ministral-3b-r2"
6
7 tokenizer = AutoTokenizer . from_pretrained ( base , use_fast = True )
8 model = AutoModelForCausalLM . from_pretrained (
9 base ,
10 device_map = "auto" ,
11 torch_dtype = "auto"
12 )
13 model = PeftModel . from_pretrained ( model , adapter )
14
15 # Example prompt
16 prompt = "Explain the concept of entropy in simple terms."
17 inputs = tokenizer . apply_chat_template (
18 [ { "role" : "user" , "content" : prompt } ] ,
19 add_generation_prompt = True ,
20 return_tensors = "pt"
21 ) . to ( model . device )
22
23 outputs = model . generate (
24 inputs ,
25 max_new_tokens = 512 ,
26 temperature = 0.7 ,
27 top_p = 0.8 ,
28 top_k = 40 ,
29 do_sample = True
30 )
31 print ( tokenizer . decode ( outputs [ 0 ] , skip_special_tokens = True ) )
Training Details
Base Model : unsloth/Ministral-3-3B-Instruct-2512
Training Method : Supervised Fine-Tuning (SFT) with LoRA
Framework : Unsloth + TRL/PEFT
Data : Canis.lab-curated Generalist (All Subjects) tutoring dialogues
Target Modules : Query, Key, Value, Output projections, MLP gates (gate, up, down)
Rank : 32
Alpha : 32
Intended Use
Primary : Subject-aware tutoring for Generalist (All Subjects) education
Applications : Educational prototypes, tutoring systems, research
Approach : Stepwise explanations, pedagogical hints, rubric-aligned responses
Target Audience : Students, educators, researchers
Model Behavior
The model is optimized for:
Clear, step-by-step explanations
Appropriate difficulty progression
Encouraging learning through hints rather than direct answers
Subject-specific pedagogical approaches
Maintaining educational standards and accuracy
Recommended Settings
For optimal tutoring behavior:
Temperature : 0.6-0.8
Top-p : 0.8-0.9
Top-k : 20-40
Max tokens : 512-1024
Safety and Limitations
Important Considerations :
Human oversight required for educational use
May occasionally hallucinate or oversimplify complex topics
For fact-critical applications, consider RAG with verified curriculum sources
Follow your institution's data privacy and AI usage policies
Not a replacement for qualified human instruction
Related Models
Type Repository Description LoRA Adapters CanisAI/teach-generalist-ministral-3b-r2This repository (lightweight) Merged Model (Coming Soon) Ready-to-use full model GGUF Quantized (Coming Soon) Ollama/llama.cpp compatible Dataset CanisAI/teach-generalist-v1Training data
License
This model inherits the license from the base model (unsloth/Ministral-3-3B-Instruct-2512). Please review the base model's license terms before use.
Citation
1 @misc{canis-teach-teach-generalist,
2 title={Canis.teach Generalist Tutor},
3 author={CanisAI},
4 year={2026},
5 publisher={Hugging Face},
6 howpublished={\url{https://huggingface.co/CanisAI/teach-generalist-ministral-3b-r2}}
7 }
Acknowledgments
MistralAI/Ministral Team for the excellent base model
Unsloth for efficient training tools
Hugging Face ecosystem (Transformers, PEFT, TRL)
Educators and contributors supporting the Canis.teach project
Canis.teach - Learning that fits.