Downloads · 30 days
0
URajinda/qwen-1.5b-burmese-v3
qwen-1.5b-burmese-v3 is a text generation model from URajinda. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
Fine-tuned Qwen-1.5B model for Burmese language.
Downloads · 30 days
0
Access
Public
Updated Dec 13, 2025
Repo size
20.2 MB
Likes
0
Public
Click a slice to open those files.
.json14.2 MB · 58%
From the Hugging Face model README
Fine-tuned Qwen-1.5B model for Burmese language.
This is the third version (V3) of the fine-tuned Qwen-1.5B model for Burmese language.
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
model_name = "URajinda/qwen-1.5b-burmese-v3"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
model_name,
torch_dtype=torch.float16,
device_map="auto"
)
prompt = "မင်္ဂလာပါ၊ ဒီနေ့ ဘယ်လိုနေလဲ?"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
with torch.no_grad():
outputs = model.generate(
**inputs,
max_new_tokens=200,
temperature=0.7,
do_sample=True
)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(response)
Apache 2.0