CoolFace
Modelpublic

budecosystem/hex-1

sourceHugging Faceapache-2.0updated 1y agoView on Hugging Face
3likes30downloads
Model Card

<!-- This model card has been generated automatically according to the information the Trainer had access to. You should probably proofread and complete it, then remove this comment. -->

<div align="center"> <img src="https://budecosystem.alwaysdata.net/wp-content/uploads/2025/05/hex1-llm-indic.png"> </div>

India, being one of the most linguistically diverse nations in the world, faces a major roadblock in harnessing the full potential of Generative AI. With only about 10% of the population fluent in English, the remaining 90% are effectively left behind—unable to engage with GenAI tools that are predominantly built for English-speaking users.

Most leading language models today are trained using the English language, offering little to no support for Indian languages. As a result, the depth and richness of India’s linguistic and cultural heritage are being overlooked by this global AI wave—leaving billions underserved and underrepresented. To address this gap, we need language models that are;

Proficient in Indic languages Open-source, making it available to researchers, developers, and the public Offers a commercial license, allowing businesses to freely build applications, tools, and services without restrictive usage terms Hex1: Indic LLM Built for India

Hex1 is a 4B parameter language model specifically optimized for Indian languages. It is designed to bridge the linguistic AI gap in India by enabling developers to build intelligent systems that understand and respond in native Indian languages. In its first release, Hex1 supports five major Indian languages, including Hindi, Kannada, Telugu, Tamil and Malayalam. Future versions of the model are set to expand support to more languages, broadening its usability across the Indian subcontinent.

When benchmarked against leading models like Gemma-2B, LLaMA-3.2-3B, and Sarvam-1, Hex1 delivers best-in-class performance in all five supported languages for MMLU benchmark. This makes it one of the most capable models currently available for Indic language tasks.

<div align="center"> <img src="https://lh7-rt.googleusercontent.com/docsz/AD4nXfOWAfktE9XdRl7UY-8tCBaY1n-myJb9UQvIKBnsagD3hBpOu28fi5LGupKjM6o-CxvozuPpGYATk0aRBDFNADwAfy8uB4S1M9SPycWDDf1VmV5Co9KPXR1_FMMAFV54DkB6uO?key=Z4vPtKGJIGf83PmLrJX9RY3I"> </div>

Quickstart

The following contains a code snippet illustrating how to use the model generate content based on given inputs.

python
from transformers import AutoModelForCausalLM, AutoTokenizer

model_name = "budecosystem/hex-1"

# load the tokenizer and the model
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
    model_name,
    torch_dtype="auto",
    device_map="auto"
)

# prepare the model input
prompt = "பொங்கல் என்றால் என்ன?."
messages = [
    {"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True,
)
model_inputs = tokenizer([text], return_tensors="pt").to(model.device)

# conduct text completion
generated_ids = model.generate(
    **model_inputs,
    max_new_tokens=32768
)
output_ids = generated_ids[0][len(model_inputs.input_ids[0]):].tolist() 

content = tokenizer.decode(output_ids, skip_special_tokens=True).strip("\n")

print("content:", content)

Training results - Multilingual Task Performance Comparison

LanguageHellaswagARC-cARC-eMMLUBoolQ
Hindi47.8536.6852.1446.7357.61
Tamil49.4538.6553.4544.7145.87
Telugu50.8437.9653.3646.8551.89
Kannada52.1638.3153.1146.3852.32
Malayalam46.3229.6040.8643.6346.69

Training hyperparameters

The following hyperparameters were used during training:

  • —learning_rate: 1e-05
  • —seed: 42
  • —distributed_type: multi-GPU
  • —lrschedulertype: cosine
  • —lrschedulerwarmup_ratio: 0.1
  • —num_epochs: 3.0

Aknowledgements

Our heartfelt thanks go to the open-source community and the trailblazers in AI research whose work has paved the way for innovations. Special shout out to the Qwen3 team for the open-source model.