How to use from the
Use from the
Transformers library
# Gated model: Login with a HF token with gated access permission
hf auth login
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="toiar/Ri-Gemma-E2B-IT-QAT-Khasi-Chatbot")
messages = [
    {
        "role": "user",
        "content": [
            {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"},
            {"type": "text", "text": "What animal is on the candy?"}
        ]
    },
]
pipe(text=messages)
# Load model directly
from transformers import AutoProcessor, AutoModelForMultimodalLM

processor = AutoProcessor.from_pretrained("toiar/Ri-Gemma-E2B-IT-QAT-Khasi-Chatbot")
model = AutoModelForMultimodalLM.from_pretrained("toiar/Ri-Gemma-E2B-IT-QAT-Khasi-Chatbot", device_map="auto")
messages = [
    {
        "role": "user",
        "content": [
            {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"},
            {"type": "text", "text": "What animal is on the candy?"}
        ]
    },
]
inputs = processor.apply_chat_template(
	messages,
	add_generation_prompt=True,
	tokenize=True,
	return_dict=True,
	return_tensors="pt",
).to(model.device)

outputs = model.generate(**inputs, max_new_tokens=40)
print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
Quick Links

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.

Ri-Gemma-E2B-IT-QAT-Khasi-Chatbot

Ri-Gemma-E2B-IT-QAT-Khasi-Chatbot is a fine-tuned conversational Large Language Model (LLM) for the Khasi language. Built upon Gemma 4 E2B IT QAT, the model is designed to provide fluent Khasi conversations, instruction following, translation, and reasoning while preserving cultural and linguistic context.

The model has been instruction-tuned using a large, curated Khasi dataset combined with high-quality reasoning examples, enabling it to perform both everyday conversational tasks and more complex problem-solving.

Model Description

The primary goal of this model is to improve AI support for the Khasi language while maintaining strong reasoning capabilities inherited through instruction tuning.

The model is suitable for:

  • General conversation
  • Khasi question answering
  • Instruction following
  • English ↔ Khasi translation
  • Educational assistance
  • Writing assistance
  • Logical reasoning
  • Cultural and language preservation

Training Dataset

The model was fine-tuned using:

Dataset: toiar/khasi-instruction-response-v2

Dataset Statistics

Category Count
Total Instruction-Response Pairs 77,810
Khasi-Specific Data 72,810
External English Reasoning & General Data 5,000

The dataset is an expanded and improved version of the previous release, focusing on higher-quality instruction-response pairs, broader linguistic coverage, and improved reasoning performance.

It combines:

  • Khasi conversations
  • Instruction following
  • Translation pairs
  • Educational content
  • Cultural knowledge
  • General knowledge
  • Reasoning examples adapted from English-language sources

The reasoning examples are included to improve logical problem-solving while maintaining fluent Khasi responses.

Intended Uses

This model is intended for:

  • Khasi conversational assistants
  • AI chatbots
  • Language learning applications
  • Translation systems
  • Educational tools
  • Research on low-resource languages
  • Digital preservation of Khasi

Limitations

Although the model has been optimized for Khasi, it may still:

  • Produce incorrect or hallucinated information
  • Make reasoning mistakes on complex tasks
  • Struggle with highly specialized domains
  • Reflect biases present in the training data
  • Perform inconsistently on topics not represented in the dataset

Responses should be verified when factual accuracy is important.

Citation

If you use this model in your research or applications, please cite:

@misc{ri_gemma_e2b_it_qat_khasi_chatbot,
  title        = {Ri-Gemma-E2B-IT-QAT-Khasi-Chatbot},
  author       = {Toiar},
  year         = {2026},
  publisher    = {Hugging Face},
  howpublished = {\url{https://huggingface.co/toiar/Ri-Gemma-E2B-IT-QAT-Khasi-Chatbot}}
}
Downloads last month
59
Safetensors
Model size
5B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for toiar/Ri-Gemma-E2B-IT-QAT-Khasi-Chatbot

Finetuned
(6)
this model
Quantizations
1 model

Dataset used to train toiar/Ri-Gemma-E2B-IT-QAT-Khasi-Chatbot