Instructions to use saadMouraf/bert-based-emotion-detection-ar with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use saadMouraf/bert-based-emotion-detection-ar with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="saadMouraf/bert-based-emotion-detection-ar")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("saadMouraf/bert-based-emotion-detection-ar", device_map="auto") - Notebooks
- Google Colab
- Kaggle
metadata
datasets:
- sem_eval_2018_task_1
language:
- ar
metrics:
- accuracy
library_name: transformers
pipeline_tag: text-classification
tags:
- transformers
- emotion
- BERT
Model Card for Model ID
This model aims at classifying arabic text into its corresponding set of emotions by fine-tuning a variant of BERT pre-trained on arabic twitter data.
Model Sources [optional]
Evaluation
Jaccard accuracy is the main eval metric and the model achieved 56.12%