AraBART + Logistic Regression โ Arabic Text Classifier
Pipeline
- AraBART generates a summary from the input Arabic text
- TF-IDF vectorizes both the original text and the generated summary
- Logistic Regression classifies the combined features
Test Results
- Accuracy : 95.92%
- F1-score : 95.91%
Files
| File | Description |
|---|---|
| arabart/ | Fine-tuned AraBART model + tokenizer |
| lr_model.pkl | Trained Logistic Regression |
| tfidf_text.pkl | TF-IDF vectorizer for original text |
| tfidf_sum.pkl | TF-IDF vectorizer for AraBART summaries |