Run this model with HF Jobs
Run Kamel/t5-darija-summarization on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Kamel/t5-darija-summarization. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Kamel/t5-darija-summarization on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Kamel/t5-darija-summarization with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Kamel/t5-darija-summarization with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Kamel/t5-darija-summarization") model = AutoModelForSeq2SeqLM.from_pretrained("Kamel/t5-darija-summarization", device_map="auto") - Notebooks
- Google Colab
- Kaggle
MArSum: Moroccan Articles Summarization dataset
Description
This dataset contains 19,806 news articles written in Moroccan Arabic dialect along with their titles. The articles were crawled from Goud.ma website between 01/01/2018 and 12/31/2020. The articles are written mainly in Moroccan Arabic dialect (Darija) but some of them contain Modern Standard Arabic (MSA) passages. All the titles are written in Darija. The following table summarize some tatistics on the MArSum Dataset.
| Size | Titles length | Articles length | ||||
|---|---|---|---|---|---|---|
| Min. | Max. | Avg. | Min. | Max. | Avg. | |
| 19,806 | 2 | 74 | 14.6 | 30 | 2964 | 140.7 |
The following figure describes the creation process of MArSum:
You may refer to our paper, cited below, for more details on this process.
Dataset
The dataset is split into Train/Test subsets using a 90/10 split strategy. Both subsets are available for direct donwload.
Citation
Please cite the following paper if you decide to use the dataset:
Gaanoun, K., Naira, A. M., Allak, A., & Benelallam, I. (2022). Automatic Text Summarization for Moroccan Arabic Dialect
Using an Artificial Intelligence Approach. In International Conference on Business Intelligence (pp. 158-177). Springer, Cham.
License
The dataset is distributed under the CC BY 4.0 license.
- Downloads last month
- 34
