## Arabic MARBERT News Article Classification Model
#### Model description
**arabic-MARBERT-news-article-classification Model** is a news article classification model that was built by fine-tuning the [MARBERT](https://huggingface.co/UBC-NLP/MARBERT) model. For the fine-tuning, I used [SANAD: Single-Label Arabic News Articles Dataset](https://data.mendeley.com/datasets/57zpx667y9) that includes 7 labels(Culture,Finance,Medical,Politics,Religion,Sports,and Tech).

#### How to use
To use the model with a transformers pipeline:
```python
>>>from transformers import pipeline
>>>model = pipeline('text-classification', model='Ammar-alhaj-ali/arabic-MARBERT-news-article-classification')
>>>sentences = ['أخطرت شركة أرامكو السعودية 4 على الأقل من المشترين في شمال آسيا بأنها ستورد إليهم الكميات المتعاقد عليها من النفط الخام كاملة في سبتمبرأيلول المقبل. وقالت مصادر مطلعة لرويترز إن السعودية، أكبر مصدر النفط في العالم، كانت قد رفعت سعر البيع الرسمي للمشترين الآسيويين إلى مستويات قياسية لذلك الشهر.']
>>>model(sentences)
[{'label': 'Finance', 'score': 0.9998553991317749}]
```
{"language": ["ar"], "tags": ["text classification", "news"], "widget": [{"text": "\u0623\u062e\u0637\u0631\u062a \u0634\u0631\u0643\u0629 \u0623\u0631\u0627\u0645\u0643\u0648 \u0627\u0644\u0633\u0639\u0648\u062f\u064a\u0629 4 \u0639\u0644\u0649 \u0627\u0644\u0623\u0642\u0644 \u0645\u0646 \u0627\u0644\u0645\u0634\u062a\u0631\u064a\u0646 \u0641\u064a \u0634\u0645\u0627\u0644 \u0622\u0633\u064a\u0627 \u0628\u0623\u0646\u0647\u0627 \u0633\u062a\u0648\u0631\u062f \u0625\u0644\u064a\u0647\u0645 \u0627\u0644\u0643\u0645\u064a\u0627\u062a \u0627\u0644\u0645\u062a\u0639\u0627\u0642\u062f \u0639\u0644\u064a\u0647\u0627 \u0645\u0646 \u0627\u0644\u0646\u0641\u0637 \u0627\u0644\u062e\u0627\u0645 \u0643\u0627\u0645\u0644\u0629 \u0641\u064a \u0633\u0628\u062a\u0645\u0628\u0631\u0623\u064a\u0644\u0648\u0644 \u0627\u0644\u0645\u0642\u0628\u0644. \u0648\u0642\u0627\u0644\u062a \u0645\u0635\u0627\u062f\u0631 \u0645\u0637\u0644\u0639\u0629 \u0644\u0631\u0648\u064a\u062a\u0631\u0632 \u0625\u0646 \u0627\u0644\u0633\u0639\u0648\u062f\u064a\u0629\u060c \u0623\u0643\u0628\u0631 \u0645\u0635\u062f\u0631 \u0627\u0644\u0646\u0641\u0637 \u0641\u064a \u0627\u0644\u0639\u0627\u0644\u0645\u060c \u0643\u0627\u0646\u062a \u0642\u062f \u0631\u0641\u0639\u062a \u0633\u0639\u0631 \u0627\u0644\u0628\u064a\u0639 \u0627\u0644\u0631\u0633\u0645\u064a \u0644\u0644\u0645\u0634\u062a\u0631\u064a\u0646 \u0627\u0644\u0622\u0633\u064a\u0648\u064a\u064a\u0646 \u0625\u0644\u0649 \u0645\u0633\u062a\u0648\u064a\u0627\u062a \u0642\u064a\u0627\u0633\u064a\u0629 \u0644\u0630\u0644\u0643 \u0627\u0644\u0634\u0647\u0631."}, {"text": "\u064a\u0631\u0649 \u0627\u0644\u0645\u062d\u0644\u0644 \u0627\u0644\u0639\u0633\u0643\u0631\u064a \u0648\u0627\u0644\u0625\u0633\u062a\u0631\u0627\u062a\u064a\u062c\u064a \u0627\u0639\u064a\u0627\u062f \u0627\u0644\u0637\u0648\u0641\u0627\u0646 \u0623\u0646 \u0623\u062d\u062f \u0623\u0633\u0628\u0627\u0628 \u0627\u0644\u062d\u0631\u0628 \u0627\u0644\u0631\u0648\u0633\u064a\u0629 \u0627\u0644\u0623\u0648\u0643\u0631\u0627\u0646\u064a\u0629 \u0647\u0648 \u0623\u0646 \u0627\u0644\u0648\u0644\u0627\u064a\u0627\u062a \u0627\u0644\u0645\u062a\u062d\u062f\u0629 \u062a\u0631\u064a\u062f \u0623\u0646 \u062a\u0642\u0627\u062a\u0644 \u0643\u0645\u0627 \u064a\u0642\u0627\u0644 \u062d\u062a\u0649 \u0622\u062e\u0631 \u062c\u0646\u062f\u064a \u0623\u0648\u0643\u0631\u0627\u0646\u064a \u0628\u0645\u0639\u0646\u0649 \u0623\u0646 \u0648\u0627\u0634\u0646\u0637\u0646 \u062a\u0633\u0639\u0649 \u0644\u0627\u0633\u062a\u0646\u0632\u0627\u0641 \u0627\u0644\u0631\u0648\u0633 \u0648\u0643\u0634\u0641 \u0623\u0633\u0644\u062d\u062a\u0647\u0645 \u0627\u0644\u0633\u0631\u064a\u0629 \u0648\u0627\u0644\u0625\u0633\u062a\u0631\u0627\u062a\u064a\u062c\u064a\u0629 \u0645\u0646 \u062f\u0648\u0646 \u0623\u0646 \u062a\u062a\u062d\u0645\u0644 \u0623\u064a \u062e\u0633\u0627\u0626\u0631 \u0639\u0644\u0649 \u0627\u0644\u0623\u0631\u0636."}]}
transformers pytorch bert text-classification text classification news ar autotrain_compatible endpoints_compatible has_space region:us
TAGS
#transformers #pytorch #bert #text-classification #text classification #news #ar #autotrain_compatible #endpoints_compatible #has_space #region-us 

## Arabic MARBERT News Article Classification Model
#### Model description
arabic-MARBERT-news-article-classification Model is a news article classification model that was built by fine-tuning the MARBERT model. For the fine-tuning, I used SANAD: Single-Label Arabic News Articles Dataset that includes 7 labels(Culture,Finance,Medical,Politics,Religion,Sports,and Tech).

#### How to use
To use the model with a transformers pipeline:

## Arabic MARBERT News Article Classification Model #### Model description
arabic-MARBERT-news-article-classification Model is a news article classification model that was built by fine-tuning the MARBERT model. For the fine-tuning, I used SANAD: Single-Label Arabic News Articles Dataset that includes 7 labels(Culture,Finance,Medical,Politics,Religion,Sports,and Tech). #### How to use
To use the model with a transformers pipeline:
TAGS
#transformers #pytorch #bert #text-classification #text classification #news #ar #autotrain_compatible #endpoints_compatible #has_space #region-us 
 ## Arabic MARBERT News Article Classification Model #### Model description
arabic-MARBERT-news-article-classification Model is a news article classification model that was built by fine-tuning the MARBERT model. For the fine-tuning, I used SANAD: Single-Label Arabic News Articles Dataset that includes 7 labels(Culture,Finance,Medical,Politics,Religion,Sports,and Tech). #### How to use
To use the model with a transformers pipeline:
passage: TAGS
#transformers #pytorch #bert #text-classification #text classification #news #ar #autotrain_compatible #endpoints_compatible #has_space #region-us 
## Arabic MARBERT News Article Classification Model#### Model description
arabic-MARBERT-news-article-classification Model is a news article classification model that was built by fine-tuning the MARBERT model. For the fine-tuning, I used SANAD: Single-Label Arabic News Articles Dataset that includes 7 labels(Culture,Finance,Medical,Politics,Religion,Sports,and Tech).#### How to use
To use the model with a transformers pipeline: