Downloads · 30 days
0
SAURABH257/gpt2-355M-hinglish-translation-instruct
gpt2-355M-hinglish-translation-instruct is a translation model from SAURABH257. Use it when you need text moved from one language to another. The card lists the license as mit.
A fine-tuned GPT-2 Medium model for translating English text into Hinglish (Hindi written using the Latin alphabet).
Downloads · 30 days
0
Access
Public
Updated Jun 22, 2026
Repo size
1.7 GB
Likes
0
Public
Click a slice to open those files.
.pth1.7 GB · 100%
From the Hugging Face model README
A fine-tuned GPT-2 Medium model for translating English text into Hinglish (Hindi written using the Latin alphabet).
This model has been fine-tuned on the findnitai/english-to-hinglish dataset to generate natural Hinglish translations from English input. The model is designed for conversational text, social media content, chatbots, and localization use cases targeting Indian audiences.
Input
How are you doing today?
Output
Aaj tum kaise ho?
| Attribute | Value |
|---|---|
| Base Model | GPT-2 Medium |
| Task | English → Hinglish Translation |
| Dataset | findnitai/english-to-hinglish |
| Languages | English, Hinglish |
| License | MIT |
| Framework | Hugging Face Transformers |
| Developed By | Saurabh Prajapati |
Dataset used:
findnitai/english-to-hinglishThe dataset contains paired English and Hinglish sentences suitable for supervised fine-tuning.
Example:
{
"en": "What are you doing?",
"hi_ng": "Tum kya kar rahe ho?"
}
This model is not intended for:
Generated outputs should always be reviewed before production deployment.
pip install transformers torch
Training examples were formatted as:
Translate English to Hinglish:
English: How are you?
Hinglish: Tum kaise ho?
| Parameter | Value |
|---|---|
| Base Model | GPT-2 Medium |
| Parameters | 355M |
| Memory | 1.7Gb |
| Context_size | 1024 |
| Emb_dim | 1024 |
| n_layers | 24 |
| n_heads | 16 |
| Vocab_size | 50257 |
| Optimizer | AdamW |
| Learning Rate | 5e-5 |
| Precision | FP16 |
| Framework | Google Colab |
| Task | Causal Language Modeling |
| English | Hinglish |
|---|---|
| How many accidents are on the i 5 north freeway? | i 5 north freeway par kitne accidents hue he? |
| Report the weather in New Zealand to me | mere liye New Zealand ka weather report bataiye |
| Remind me every month to pay my mortgage payment | mujhe har mahine har mahine mera mortgage payment karne ke liye yaad dilaye |
The model performs well on common conversational English sentences and generates natural Hinglish outputs.
This model inherits biases present in:
@misc{prajapati2026gpt2hinglish,
author = {Saurabh Prajapati},
title = {GPT2-Medium English to Hinglish Translator},
year = {2026},
publisher = {Hugging Face}
}
For questions, issues, or collaboration opportunities, please open an issue on the Hugging Face repository.