How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("fill-mask", model="moussaKam/AraBART")
# Load model directly
from transformers import AutoTokenizer, AutoModel

tokenizer = AutoTokenizer.from_pretrained("moussaKam/AraBART")
model = AutoModel.from_pretrained("moussaKam/AraBART")
Quick Links

AraBART is the first Arabic model in which the encoder and the decoder are pretrained end-to-end, based on BART. AraBART follows the architecture of BART-Base which has 6 encoder and 6 decoder layers and 768 hidden dimensions. In total AraBART has 139M parameters.

AraBART achieves the best performance on multiple abstractive summarization datasets, outperforming strong baselines including a pretrained Arabic BERT-based models and multilingual mBART and mT5 models.

Downloads last month
1,992
Inference Providers NEW
Examples
No mask token found for this model.

Model tree for moussaKam/AraBART

Finetunes
13 models

Spaces using moussaKam/AraBART 2