Khmer mT5 Summarization

Abstractive summarization for Khmer (αžαŸ’αž˜αŸ‚αžš) text, fine-tuned from google/mt5-small on kimleang123/khmer-text-dataset.

Related models: for inputs longer than 512 tokens use khmer-mt5-summarization-1024tk-V3. For text with repeated passages, use khmer-mt5-summarization-duplicated.

Base model google/mt5-small (~300M parameters)
Task Abstractive summarization (seq2seq)
Language Khmer
Max input length 512 tokens
Training data kimleang123/khmer-text-dataset
Training hardware 1Γ— NVIDIA Tesla T4
Demo Khmer Text Summarization Space

Usage

from transformers import pipeline

summarizer = pipeline("summarization", model="songhieng/khmer-mt5-summarization")

text = "αž€αž˜αŸ’αž–αž»αž‡αžΆαž˜αžΆαž“αž”αŸ’αžšαž‡αžΆαž‡αž“αž”αŸ’αžšαž˜αžΆαžŽ ៑៦ αž›αžΆαž“αž“αžΆαž€αŸ‹ αž αžΎαž™αžœαžΆαž‚αžΊαž‡αžΆαž”αŸ’αžšαž‘αŸαžŸαž“αŸ…αžαŸ†αž”αž“αŸ‹αž’αžΆαžŸαŸŠαžΈαž’αžΆαž‚αŸ’αž“αŸαž™αŸαŸ” ..."
summary = summarizer(text, max_length=150, min_length=30, num_beams=4)
print(summary[0]["summary_text"])

Files

  • model.safetensors: the full-precision weights, loaded by from_pretrained. Use this.
  • quantized-khmer-mt5.pth: an experimental quantized PyTorch checkpoint. from_pretrained cannot load it.

Intended use and limitations

  • Intended for: summarizing Khmer news and article-style text, research, and prototyping Khmer NLP applications.
  • Inputs longer than 512 tokens are truncated.
  • Like any abstractive summarizer, the model can omit key facts or produce statements that are not in the source. Review its output before downstream use.
  • Quantitative ROUGE results have not been published yet.

Author

Built by Songhieng Van. Questions and feedback are welcome in the Community tab.

Citation

@misc{van2025khmermt5summarization,
  author       = {Van, Songhieng},
  title        = {Khmer mT5 Summarization},
  year         = {2025},
  publisher    = {Hugging Face},
  howpublished = {\url{https://huggingface.co/songhieng/khmer-mt5-summarization}}
}
Downloads last month
48
Safetensors
Model size
0.3B params
Tensor type
F32
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for songhieng/khmer-mt5-summarization

Base model

google/mt5-small
Finetuned
(780)
this model

Dataset used to train songhieng/khmer-mt5-summarization

Space using songhieng/khmer-mt5-summarization 1

Collection including songhieng/khmer-mt5-summarization