Downloads · 30 days
5
10% of all-time downloads
pankajpandey-dev/gemma-4-e4b-hindi-instruct-lora
gemma-4-e4b-hindi-instruct-lora is a machine learning model from pankajpandey-dev. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as gemma.
LoRA adapter (r=16) for Hindi instruction-tuning of Gemma 4 E4B. Apply on top of the base model, or use the ready-made merged / GGUF builds.
Downloads · 30 days
5
10% of all-time downloads
All-time downloads
49
Public
Repo size
179 MB
Likes
1
Public
Click a slice to open those files.
.safetensors147 MB · 82%
From the Hugging Face model README
LoRA adapter (r=16) for Hindi instruction-tuning of Gemma 4 E4B. Apply on top of the base model, or use the ready-made merged / GGUF builds.
Part of my Hindi LLM Series.
from transformers import AutoModelForCausalLM
from peft import PeftModel
base = AutoModelForCausalLM.from_pretrained("unsloth/gemma-4-E4B-it", device_map="auto")
model = PeftModel.from_pretrained(base, "pankajpandey-dev/gemma-4-e4b-hindi-instruct-lora")
Or with Unsloth:
from unsloth import FastModel
model, tok = FastModel.from_pretrained("pankajpandey-dev/gemma-4-e4b-hindi-instruct-lora")
| Base model | unsloth/gemma-4-E4B-it |
| Method | LoRA (r=16, α=16), response-only loss |
| Framework | Unsloth |
| Data | ~10k Hindi instruction pairs (AI4Bharat indic-instruct: anudesh + dolly, hi splits) |
| Epochs | 2 |
| LR / schedule | 1e-4, cosine |
| Precision | bf16 (4-bit QLoRA base) |
| Hardware | Single NVIDIA L4 (24 GB) |
| Final train loss | ~0.29 |
pankajpandey-dev/gemma-4-e4b-hindi-instructpankajpandey-dev/gemma-4-e4b-hindi-instruct-GGUFMixed-license lineage — review all before redistribution or commercial use:
You are responsible for complying with the Gemma, Llama 2, and CC-BY-SA terms.
Base model by Google (Gemma 4). Data by AI4Bharat. Fine-tuning with Unsloth. 🙏