Image-Text-to-Text
Safetensors
GGUF
Panjabi
English
gemma
gemma4
multimodal
education
pseb
punjabi
fine-tuned
unsloth
Instructions to use bhriguverma/padhai-v2-final-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Local Apps Settings
- Unsloth Studio
How to use bhriguverma/padhai-v2-final-gguf with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for bhriguverma/padhai-v2-final-gguf to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for bhriguverma/padhai-v2-final-gguf to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for bhriguverma/padhai-v2-final-gguf to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="bhriguverma/padhai-v2-final-gguf", max_seq_length=2048, )
PadhAI v2 Final: Multimodal Punjabi AI Tutor (Gemma 4)
PadhAI v2 Final is a specialized, fine-tuned multimodal AI tutor based on the Gemma 4 4B (E4B) architecture. It is purpose-built to support students of the Punjab School Education Board (PSEB) by providing explanations, answering questions, and clarifying concepts from the official curriculum in fluent Punjabi (Gurmukhi).
Developed by Bhrigu Verma.
π Key Features
- Gemma 4 Architecture: Leverages the latest efficient 4-billion parameter model for high-speed reasoning and deep multilingual understanding.
- PSEB Curriculum Grounded: Trained specifically on cleaned datasets including Agriculture, Science, and Mathematics textbooks from the Punjab School Education Board.
- Punjabi First: Optimized for natural, warm, and culturally relevant responses in Punjabi (Gurmukhi script).
- Multimodal Capabilities: Can be paired with a vision projector to analyze textbook images, diagrams, and handwritten notes.
- Mobile Ready: Distributed in GGUF format for local execution on mobile devices (Android/iOS) and resource-constrained hardware.
π Training Details
- Base Model:
google/gemma-4-E4B-it - Dataset: Exclusively trained on
aafinal/train_data.jsonl(2,851 high-quality instructional pairs). - Hardware: Trained on NVIDIA H100 (HBM3) using Unsloth for 2x faster optimization.
- Optimization: BF16 precision with QLoRA (Rank 64, Alpha 128).
- Final Metrics:
- Train Loss: 2.045
- Eval Loss: 1.473
- Epochs: 2
π Files in this Repository
padhai-v2-final-q4_k_m.gguf: The language model weights quantized to 4-bit (Q4_K_M).adapter_model.safetensors: The raw LoRA adapter weights (for researchers/developers).train_data.jsonl: The exact dataset used for the final retraining session.training_log.txt: Comprehensive logs detailing the loss curves and throughput.training_config.json: The hyperparameters used for this specific run.
π How to Use
Mobile (PocketPal / LM Studio Mobile)
- Download
padhai-v2-final-q4_k_m.gguf. - Load it in your preferred GGUF-compatible app.
- (Optional) For vision support, use the
padhai-mmproj-f16.ggufvision tower.
CLI (llama.cpp)
./llama-cli -m padhai-v2-final-q4_k_m.gguf --mmproj padhai-mmproj-f16.gguf -p "਀ΰ©ΰ¨Έΰ©ΰ¨ ΰ¨ΰ©ΰ¨£ ΰ¨Ήΰ©?" -n 512
β οΈ Limitations & Scope
- Curriculum Scope: PadhAI is designed for PSEB school topics. It may refuse or provide generic answers for advanced university-level or non-educational topics.
- Hallucinations: While improved, the model may occasionally generate incorrect information. Always cross-reference with official textbooks.
π Credits & License
- Lead Developer: Bhrigu Verma
- Base Model: Google Gemma 4
- Optimization: Unsloth AI
- License: Released under the Gemma Terms of Use.
Created with β€οΈ for the students of Punjab.
Inference Providers NEW
This model isn't deployed by any Inference Provider. π Ask for provider support