## Arabic MARBERT Poetry Classification Model
#### Model description
**arabic-MARBERT-poetry-classification Model** is a poetry classification model that was built by fine-tuning the [MARBERT](https://huggingface.co/UBC-NLP/MARBERT) model. For the fine-tuning, I used [APCD: Arabic Poem Comprehensive Dataset](https://hci-lab.github.io/ArabicPoetry-1-Private/) that includes 23 labels (البسيط,الطويل,الكامل,الوافر,الخفيف,السريع,..).

#### 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-poetry-classification')
>>>sentences = ['ويوم نلتقي فيه قصير[sep]يطول اليوم لا ألقاك فيه',
             'أما للهوى عليك نهي ولا أمر[sep]أراك عصيّ الدمع شيمتك الصبر']
>>>model(sentences)
[{'label': 'الوافر', 'score': 0.9979557991027832},
 {'label': 'الطويل', 'score': 0.9646275043487549}]
```
{"language": ["ar"], "tags": ["text classification", "arabic", "poetry"], "widget": [{"text": "\u0642\u0650\u0641\u064e\u0627 \u0646\u064e\u0628\u0652\u0643\u0650 \u0645\u0650\u0646\u0652 \u0630\u0650\u0643\u0652\u0631\u064e\u0649 \u062d\u064e\u0628\u0650\u064a\u0628\u064d \u0648\u0645\u064e\u0646\u0652\u0632\u0650\u0644\u0650 [sep]\u0628\u0650\u0633\u0650\u0642\u0652\u0637\u0650 \u0627\u0644\u0644\u0651\u0650\u0648\u064e\u0649 \u0628\u064e\u064a\u0652\u0646\u064e \u0627\u0644\u062f\u0651\u064e\u062e\u064f\u0648\u0644\u0650 \u0641\u064e\u062d\u064e\u0648\u0652\u0645\u064e\u0644\u0650"}, {"text": "\u0644\u064a\u0633 \u0627\u0644\u063a\u0631\u064a\u0628 \u063a\u0631\u064a\u0628 \u0627\u0644\u0634\u0627\u0645 \u0648\u0627\u0644\u064a\u0645\u0646\u064f[sep]\u0625\u0646 \u0627\u0644\u063a\u0631\u064a\u0628 \u063a\u0631\u064a\u0628 \u0627\u0644\u0644\u062d\u062f \u0648\u0627\u0644\u0643\u0641\u0646"}, {"text": "\u0639\u064e\u0644\u0649 \u0642\u064e\u062f\u0652\u0631\u0650 \u0623\u0647\u0652\u0644\u0650 \u0627\u0644\u0639\u064e\u0632\u0652\u0645 \u062a\u0623\u062a\u064a \u0627\u0644\u0639\u064e\u0632\u0627\u0626\u0650\u0645\u064f[sep] \u0648\u064e\u062a\u0623\u062a\u064a \u0639\u0644\u064e\u0649 \u0642\u064e\u062f\u0652\u0631\u0650 \u0627\u0644\u0643\u0650\u0631\u0627\u0645\u0650 \u0627\u0644\u0645\u064e\u0643\u0627\u0631\u0645\u064f"}, {"text": "\u0642\u0645 \u0644\u0644\u0645\u0639\u0644\u0645 \u0648\u0641\u0651\u0647 \u0627\u0644\u062a\u0628\u062c\u064a\u0644\u0627[sep] \u0643\u0627\u062f \u0627\u0644\u0645\u0639\u0644\u0645 \u0623\u0646 \u064a\u0643\u0648\u0646 \u0631\u0633\u0648\u0644\u0627"}]}
transformers pytorch bert text-classification text classification arabic poetry ar autotrain_compatible endpoints_compatible region:us
TAGS
#transformers #pytorch #bert #text-classification #text classification #arabic #poetry #ar #autotrain_compatible #endpoints_compatible #region-us 

## Arabic MARBERT Poetry Classification Model
#### Model description
arabic-MARBERT-poetry-classification Model is a poetry classification model that was built by fine-tuning the MARBERT model. For the fine-tuning, I used APCD: Arabic Poem Comprehensive Dataset that includes 23 labels (البسيط,الطويل,الكامل,الوافر,الخفيف,السريع,..).

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

## Arabic MARBERT Poetry Classification Model #### Model description
arabic-MARBERT-poetry-classification Model is a poetry classification model that was built by fine-tuning the MARBERT model. For the fine-tuning, I used APCD: Arabic Poem Comprehensive Dataset that includes 23 labels (البسيط,الطويل,الكامل,الوافر,الخفيف,السريع,..). #### How to use
To use the model with a transformers pipeline:
TAGS
#transformers #pytorch #bert #text-classification #text classification #arabic #poetry #ar #autotrain_compatible #endpoints_compatible #region-us 
 ## Arabic MARBERT Poetry Classification Model #### Model description
arabic-MARBERT-poetry-classification Model is a poetry classification model that was built by fine-tuning the MARBERT model. For the fine-tuning, I used APCD: Arabic Poem Comprehensive Dataset that includes 23 labels (البسيط,الطويل,الكامل,الوافر,الخفيف,السريع,..). #### How to use
To use the model with a transformers pipeline:
passage: TAGS
#transformers #pytorch #bert #text-classification #text classification #arabic #poetry #ar #autotrain_compatible #endpoints_compatible #region-us 
## Arabic MARBERT Poetry Classification Model#### Model description
arabic-MARBERT-poetry-classification Model is a poetry classification model that was built by fine-tuning the MARBERT model. For the fine-tuning, I used APCD: Arabic Poem Comprehensive Dataset that includes 23 labels (البسيط,الطويل,الكامل,الوافر,الخفيف,السريع,..).#### How to use
To use the model with a transformers pipeline: