How to use from
llama.cpp
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf rajasingh012/vidya-gemma4-e2b-gguf:Q4_K_M
# Run inference directly in the terminal:
llama cli -hf rajasingh012/vidya-gemma4-e2b-gguf:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf rajasingh012/vidya-gemma4-e2b-gguf:Q4_K_M
# Run inference directly in the terminal:
llama cli -hf rajasingh012/vidya-gemma4-e2b-gguf:Q4_K_M
Use pre-built binary
# Download pre-built binary from:
# https://github.com/ggerganov/llama.cpp/releases
# Start a local OpenAI-compatible server with a web UI:
./llama-server -hf rajasingh012/vidya-gemma4-e2b-gguf:Q4_K_M
# Run inference directly in the terminal:
./llama-cli -hf rajasingh012/vidya-gemma4-e2b-gguf:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-server llama-cli
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama-server -hf rajasingh012/vidya-gemma4-e2b-gguf:Q4_K_M
# Run inference directly in the terminal:
./build/bin/llama-cli -hf rajasingh012/vidya-gemma4-e2b-gguf:Q4_K_M
Use Docker
docker model run hf.co/rajasingh012/vidya-gemma4-e2b-gguf:Q4_K_M
Quick Links

Vidya - NCERT Socratic Learning Bot

Fine-tuned Gemma 4 E2B (2.3B params) on NCERT socratic dialogue data.

Model Details

  • Base model: unsloth/gemma-4-E2B-it-unsloth-bnb-4bit
  • Fine-tuning method: QLoRA (rank=32, alpha=32)
  • Format: GGUF Q4_K_M (~3.1 GB)
  • Context length: 2048 tokens
  • Trained on: 321 socratic dialogue samples (NCERT Class 6-10 Science)

Usage

This model is compatible with llama.cpp and Ollama. Download the GGUF file from the Files tab, or use the HuggingFace Hub API:

from huggingface_hub import hf_hub_download
path = hf_hub_download(repo_id='rajasingh012/vidya-gemma4-e2b-gguf', 
                       filename='gemma-4-e2b-it-pretrained.Q4_K_M.gguf')

Mobile App

This model powers the Vidya Android app (NCERT Socratic tutoring chatbot). See: https://github.com/rajasingh012/vidya-android

Training

Trained via Unsloth FastModel API on Kaggle GPU (T4 x2). Full training logs and data pipeline available in the ncert-wiki repository.

Downloads last month
22
GGUF
Model size
5B params
Architecture
gemma4
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for rajasingh012/vidya-gemma4-e2b-gguf

Quantized
(3)
this model