Downloads · 30 days
0
LinoM/bloomz-1b1MM
bloomz-1b1MM is a translation model from LinoM. Use it when you need text moved from one language to another. It is set up for peft. The card lists the license as apache-2.0.
Model Name: LinoM/bloomz-1b1MM Base Model: bigscience/bloomz-1b1 Fine-Tuning Method: QLoRA (4-bit LoRA adapters + 8-bit base model) Frameworks: Hugging Face Transformers + PEFT + BitsAndBytes Task: English to Myanmar…
Downloads · 30 days
0
Access
Public
Updated Aug 7, 2025
Repo size
—
Likes
1
Public
Click a slice to open those files.
.md2.9 KB · 65%
From the Hugging Face model README
Model Name: LinoM/bloomz-1b1MM
Base Model: bigscience/bloomz-1b1
Fine-Tuning Method: QLoRA (4-bit LoRA adapters + 8-bit base model)
Frameworks: Hugging Face Transformers + PEFT + BitsAndBytes
Task: English to Myanmar Instruction-style Translation
| Detail | Value |
|---|---|
| Model Architecture | BLOOMZ |
| Base Model Size | 1.1 Billion Parameters |
| Fine-tuning Method | LoRA with QLoRA (4-bit adapters) |
| Optimizer | paged_adamw_8bit |
| Precision | 4-bit LoRA + 8-bit Base |
| Epochs | 3–5 (variable per run) |
| Batch Size | 32 |
| Language Pair | English → Burmese (မြန်မာ) |
| Tokenizer | Bloom tokenizer (bigscience/tokenizer) |
The model was fine-tuned on a curated mix of open datasets including:
| Metric | Score |
|---|---|
| BLEU | 35–40 |
| Translation Style | Instructional, formal |
| Human Evaluation | ✓ Understood grammar and tone in 85% samples |
✅ The model excels at translating English prompts into formal Burmese suitable for education, scripts, and user guides.
from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline
from peft import PeftModel
base = AutoModelForCausalLM.from_pretrained("bigscience/bloomz-1b1", load_in_8bit=True, device_map="auto")
lora = PeftModel.from_pretrained(base, "LinoM/bloomz-1b1MM")
tokenizer = AutoTokenizer.from_pretrained("bigscience/bloomz-1b1")
translator = pipeline("text-generation", model=lora, tokenizer=tokenizer)
text = "Translate into Burmese: What is your favorite subject?"
output = translator(text, max_new_tokens=100)
print(output[0]['generated_text'])