You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

URVASHI-Gemma3

URVASHI-Gemma3 is a Gemma-3 compatible decoder-only transformer featuring factorized embeddings initialized through SVD compression of Gemma token embeddings.

Features

  • Gemma-3 compatible geometry
  • Factorized embeddings
  • Grouped Query Attention (GQA)
  • Sliding Window Attention (SWA)
  • RoPE positional embeddings
  • RMSNorm
  • HuggingFace compatible

Usage

from transformers import AutoTokenizer, AutoModelForCausalLM

model = AutoModelForCausalLM.from_pretrained(
    "shashwatmudgal/urvashi-gemma3-4B-Base",
    trust_remote_code=True,
)

tokenizer = AutoTokenizer.from_pretrained(
    "shashwatmudgal/urvashi-gemma3-4B-Base"
)

prompt = "The ancient city stood silent beneath"

inputs = tokenizer(
    prompt,
    return_tensors="pt"
)

outputs = model.generate(
    **inputs,
    max_new_tokens=100,
)

print(
    tokenizer.decode(outputs[0])
)

Notes

This repository requires:

trust_remote_code=True

because it uses custom URVASHI architecture files.

Citation

@misc{urvashi2026,
  title={URVASHI},
  author={Divyansh Bharadwaj},
  year={2026}
}
Downloads last month
-
Safetensors
Model size
3B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support