Views
No views yet
⚠️ Note: This 0.6B version is undertrained and does not reliably follow Hindi instructions. For a working Hindi model, please use Qwen3-4B-Hindi-Instruct-v2 (GGUF here).
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "pankajpandey-dev/Qwen3-0.6B-Hindi-Instruct-v1"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, dtype="auto", device_map="auto")
messages = [{"role": "user", "content": "भारत की राजधानी क्या है?"}]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(text, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=200, temperature=0.7)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))| Property | Value |
|---|---|
| Base Model | Qwen/Qwen3-0.6B |
| Parameters | 600M |
| Architecture | Qwen2 |
| Fine-tune Method | QLoRA with LoRA r=16 alpha=16 |
| Training Framework | Unsloth + TRL |
| Training Steps | 60 steps |
| Training Data | 2000 English to Hindi instruction pairs |
| Max Context | 2048 tokens |
| Languages | Hindi and English |
| License | Apache 2.0 — commercial use allowed |
Base model: Qwen/Qwen3-0.6B
Method: QLoRA via Unsloth
LoRA rank: 16
LoRA alpha: 16
Batch size: 2
Grad accum: 4
LR: 2e-4
Steps: 60
Hardware: Google Colab free tier (T4 GPU)User: भारत की राजधानी क्या है?
Model: भारत की राजधानी नई दिल्ली है।User: मुझे चाय बनाने का तरीका बताओ।
Model: चाय बनाने के लिए पहले पानी गरम करें...User: Python में for loop कैसे लिखते हैं?
Model: Python में for loop इस तरह लिखते हैं...| Repo | Description |
|---|---|
| pankajpandey-dev/Qwen3-0.6B-Hindi-Instruct-v1 | This repo — full precision safetensors |
| pankajpandey-dev/Qwen3-0.6B-Hindi-Instruct-v1-GGUF | GGUF versions for local CPU inference |
@misc{pankajpandey-dev-hindi-2026,
author = {Pankaj Pandey},
title = {Qwen3-0.6B Hindi Instruct v1},
year = {2026},
publisher = {HuggingFace},
url = {https://huggingface.co/pankajpandey-dev/Qwen3-0.6B-Hindi-Instruct-v1}
}