Downloads · 30 days
12
10% of all-time downloads
tidelganesh/Qwen3-thirukkural-tamil
Qwen3-thirukkural-tamil is a text generation model from tidelganesh. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
12
10% of all-time downloads
All-time downloads
123
Public
Parameters
596M
7.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.2 GB · 99%
From the Hugging Face model README
This model is a fine-tuned version of Qwen/Qwen3-0.6B on an Thirukkural dataset
It achieves the following results on the evaluation set:
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.2613 | 1.0 | 200 | 0.2644 |
| 0.2322 | 2.0 | 400 | 0.2482 |
| 0.2235 | 3.0 | 600 | 0.2403 |
| 0.2022 | 4.0 | 800 | 0.2380 |
| 0.1972 | 5.0 | 1000 | 0.2374 |
| 0.2086 | 6.0 | 1200 | 0.2378 |
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "tidelganesh/Qwen3-thirukkural-tamil" # update to your actual repo name
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name, dtype="auto")
messages = [
{"role": "user", "content": "பொறையுடைமை அதிகாரத்தில் வரும் 158ஆம் குறளைத் தருக."}
]
prompt = tokenizer.apply_chat_template(
messages, tokenize=False, add_generation_prompt=True
)
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
output = model.generate(
**inputs,
max_new_tokens=150,
eos_token_id=tokenizer.eos_token_id,
pad_token_id=tokenizer.eos_token_id,
)
response = tokenizer.decode(
output[0][inputs["input_ids"].shape[1]:],
skip_special_tokens=True,
)
print(response)