Downloads · 30 days
2
9% of all-time downloads
Govsovereign/himalaya-gemma-4-e2b-it
himalaya-gemma-4-e2b-it is a machine learning model from Govsovereign. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
2
9% of all-time downloads
All-time downloads
23
Public
Parameters
5.1B
10.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors10.2 GB · 100%
From the Hugging Face model README

This repository contains the finalized fine-tuned weights for the himalaya-gemma-4-e2b-it model. It has been fully trained to understand and generate high-quality text in both English and Nepali.
Unlike standard QLoRA fine-tuning, this model uses Full-Parameter SFT. This means every parameter in the model is trainable.
The training run stabilized beautifully over approximately 125,000 steps. To fit this comprehensive training on a single 1x A100 GPU with a tight memory budget, we utilized:
The training data is a 50/50 mix of two high-quality datasets:
himalaya-ai/nepali-sft-datasetteknium/OpenHermes-2.5You can load and test this model using the Hugging Face transformers library.
First, make sure you have the required libraries installed:
pip install transformers accelerate torch
from transformers import AutoTokenizer, AutoModelForCausalLM import torch
model_id = "himalaya-ai/himalaya-gemma-4-e2b-it"
print("Loading model for benchmarking...")
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
device_map="auto",
torch_dtype=torch.float16
)
user_prompt = "Write a short poem about the mountains in Nepal."
print("Generating response...")
outputs = model.generate(
**inputs,
max_new_tokens=256,
do_sample=True,
temperature=0.7
)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
print("\n--- Output ---\n")
print(response)