Downloads · 30 days
13
20% of all-time downloads
LingoIITGN/ganga-en-hi-1b
ganga-en-hi-1b is a machine learning model from LingoIITGN. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
The model Ganga-en-hi-1b is a fine-tuned version of Ganga-1b for the English to Hindi Translation Task.
Downloads · 30 days
13
20% of all-time downloads
All-time downloads
64
Public
Parameters
995M
4 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors4 GB · 100%
From the Hugging Face model README
The model Ganga-en-hi-1b is a fine-tuned version of Ganga-1b for the English to Hindi Translation Task.

Project Unity is an initiative to address India's linguistic diversity and richness by creating a comprehensive resource covering the country's major languages. We strive to achieve state-of-the-art performance in understanding and generating text in Indian languages. To achieve this, we train models on the monolingual regional languages of India. Our first release is the Ganga-1B model, which has been trained on a large dataset of public domain web-crawled Hindi language data, including news articles, web documents, books, government publications, educational materials, and social media conversations (filtered for quality). Additionally, the dataset has been further curated by native Indian speakers to ensure high quality. Significantly, the Ganga-1B model outperforms existing open-source models that support Indian languages, even at sizes of up to 7 billion parameters.
Use the code below to get started with the model.
from transformers import AutoModelForCausalLM, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("LingoIITGN/ganga-1b")
model = AutoModelForCausalLM.from_pretrained("LingoIITGN/ganga-1b", device_map="auto")
input_text = "<bos>[INST]How are you?[/INST]"
input_ids = tokenizer.encode(input_text,
return_tensors="pt").to("cuda")
outputs = model.generate(input_ids, max_new_tokens=100)
print(tokenizer.decode(output[0][input_ids[0].shape[0]:], skip_special_tokens=True))
[More Information Needed]
| Model | Chrf<sub>Flores Dataset</sub> | Chrf<sub>IN22 Dataset</sub> |
|---|---|---|
| Ganga-1b | 40.75 | 37.54 |
| Gemma-2b | 39.96 | 34.62 |
| Llama-8b | 35.04 | 30.03 |
<span style="color:red">This model described is a research preview and is under ongoing iterative updations, and as such, it only provides limited safety measures. Additionally, it may generate offensive content. It is strictly prohibited to use the model for any illegal, harmful, violent, racist, or sexual purposes.</span>
Lingo Research Group at IIT Gandhinagar, India </br> Mail at: [email protected]