esdurmus/wiki_lingua
Viewer • Updated • 274k • 1.02k • 54
How to use eslamxm/AraBART-finetuned-ar-wikilingua with Transformers:
# Use a pipeline as a high-level helper
# Warning: Pipeline type "summarization" is no longer supported in transformers v5.
# You must load the model directly (see below) or downgrade to v4.x with:
# 'pip install "transformers<5.0.0'
from transformers import pipeline
pipe = pipeline("summarization", model="eslamxm/AraBART-finetuned-ar-wikilingua") # Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("eslamxm/AraBART-finetuned-ar-wikilingua")
model = AutoModelForSeq2SeqLM.from_pretrained("eslamxm/AraBART-finetuned-ar-wikilingua", device_map="auto")This model is a fine-tuned version of moussaKam/AraBART on the wiki_lingua dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Rouge-1 | Rouge-2 | Rouge-l | Gen Len | Bertscore |
|---|---|---|---|---|---|---|---|---|
| 4.2331 | 1.0 | 5111 | 4.0713 | 21.42 | 7.69 | 19.08 | 18.79 | 71.22 |
| 3.9438 | 2.0 | 10222 | 4.0251 | 23.1 | 8.63 | 20.59 | 18.41 | 71.86 |
| 3.7372 | 3.0 | 15333 | 3.9744 | 22.98 | 8.47 | 20.3 | 19.2 | 71.74 |
| 3.5782 | 4.0 | 20444 | 3.9680 | 23.37 | 8.67 | 20.79 | 18.93 | 71.85 |
| 3.4509 | 5.0 | 25555 | 3.9643 | 23.42 | 8.85 | 20.71 | 19.33 | 71.88 |
| 3.3471 | 6.0 | 30666 | 3.9831 | 23.41 | 8.75 | 20.69 | 19.18 | 71.97 |
| 3.2673 | 7.0 | 35777 | 3.9917 | 23.93 | 9.13 | 21.16 | 19.0 | 72.11 |
| 3.214 | 8.0 | 40888 | 3.9990 | 23.94 | 9.1 | 21.21 | 19.13 | 72.11 |