Views
No views yet
| Field | Description |
|---|---|
| Base model | facebook/mbart-large-50-many-to-many-mmt |
| Fine-tuning method | LoRA adapters via PEFT |
| Languages | English (en) and Kumaoni (kfy) |
| Framework | PyTorch + Transformers |
| Trained on | Apple MacBook Air M3, 16GB RAM, 10-core GPU |
| Developer | Ravi Mishra |
| License | Non-commercial / Research only |
| Dataset size | ~1,000 sentence pairs |
| Training epochs | 3 |
| Learning rate | 2e-4 |
| Batch size | 8 |
| Precision | fp32 |
| Optimizer | AdamW |
| Scheduler | Linear warmup-decay |
| Loss | CrossEntropyLoss |
{'loss': 11.3888, 'grad_norm': 1.16, 'epoch': 0.01}
{'loss': 10.4045, 'grad_norm': 0.45, 'epoch': 0.03}
{'loss': 10.1496, 'grad_norm': 0.31, 'epoch': 0.06}
{'loss': 9.8452, 'grad_norm': 0.28, 'epoch': 0.20}
{'loss': 8.9321, 'grad_norm': 0.23, 'epoch': 0.50}
{'loss': 7.6408, 'grad_norm': 0.19, 'epoch': 1.00}✅ kumaoni-mbart-lora/| English | Kumaoni |
|---|---|
| how is the farming now? | kheti paati kas chal rai. |
| what are you looking for here and there? | yath-wath ki dhunan laag raye chha? |
| rivers are about to get filled in the rainy season. | chaumaas ma gaad gadhyaar bharan haini. |
| there is always a snake in the field. | khet ma hamesha saap ro. |
datasets/english_kumaoni/.1from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
2
3model_name = "RaviMishra/kumaoni-mbart-lora"
4tokenizer = AutoTokenizer.from_pretrained(model_name)
5model = AutoModelForSeq2SeqLM.from_pretrained(model_name)
6
7text = "how is the farming now?"
8inputs = tokenizer(text, return_tensors="pt")
9outputs = model.generate(**inputs, max_length=60)
10print(tokenizer.decode(outputs[0], skip_special_tokens=True))kheti paati kas chal rai.| Metric | Result | Comment |
|---|---|---|
| BLEU (approx.) | 32 | Small dataset, fair alignment |
| Accuracy (manual) | ~85% | Conversational phrases |
| Inference time | ~0.2s / sentence (M3 GPU) |
Mishra, R. (2025). Kumaoni MBART Translation Model (v1.0). Fine-tuned from facebook/mbart-large-50-many-to-many-mmt using LoRA adapters.
1@misc{mishra2025kumaonimbart,
2 author = {Ravi Mishra},
3 title = {Kumaoni MBART Translation Model},
4 year = {2025},
5 howpublished = {\\url{https://huggingface.co/dlucidone/kumaoni-mbart-lora}},
6 note = {Fine-tuned from facebook/mbart-large-50-many-to-many-mmt}
7}🛑 Usage Policy:
This model is released for research, educational, and cultural preservation purposes only.
Any commercial use, redistribution, or retraining on this model’s outputs is strictly prohibited without prior written permission from the author.