YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

mT5 Summarizer (Arabic & English) 🌍

This is a fine-tuned mT5-small model for text summarization in both Arabic and English.

The model is designed to generate concise and meaningful summaries for:

  • News articles
  • Technical definitions
  • General long-form text

πŸš€ Model Details

  • Base Model: Google mT5-small
  • Task: Abstractive Summarization
  • Languages: Arabic (ar), English (en)
  • Training Dataset: XL-Sum

πŸ’» How to Use (Python)

from transformers import pipeline

summarizer = pipeline(
    "summarization",
    model="Muhamed1223/mt5-summarizer-ar-en"
)

text = """
Cloud computing is the delivery of computing servicesβ€”including servers,
storage, databases, networking, software, analytics, and intelligenceβ€”
over the Internet to offer faster innovation, flexible resources, and economies of scale.
"""

summary = summarizer(text, max_length=64, min_length=10, num_beams=4)
print(summary[0]["summary_text"])

⚠️ Notes

  • The model is trained mainly on news-style text.
  • For best results with definitions, it is recommended to prefix the input with:

summarize this definition: ...


Author: Muhamed1223 Project: Summrization Bot

Downloads last month
6
Safetensors
Model size
0.6B params
Tensor type
F32
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Spaces using Muhamed1223/mt5-summarizer-ar-en 2