Hinglish
Collection
A collection of Hinglish ↔ English translation models, progressively improved from a 2B unidirectional model to a 4B bidirectional translator. • 5 items • Updated
RLM_hingu is a fine-tuned version of the Gemma-3B Instruct model, adapted for casual Hinglish (Hindi-English) conversation using the keras-nlp framework. It is designed for lightweight conversational tasks in Hinglish, optimized with the JAX backend for efficiency.
gemma3_instruct_1bkeras-nlpfrom keras_nlp.models import Gemma3CausalLM
from keras_nlp.samplers import TopKSampler
model = Gemma3CausalLM.from_preset("hf://rudrashah/RLM_hingu")
template = "Question:\n{question}\n\nAnswer:\n{answer}"
prompt = template.format(
question="Rudra acha ladka hai?",
answer="",
)
output = model.generate(prompt, max_length=256)
print(output)
Question:
Rudra acha ladka hai?
Answer:
haan, sabse best hai.
To run RLM_hingu, just paste this code and wait.