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
Inference Providers NEW
This model isn't deployed by any Inference Provider. π Ask for provider support