Instructions to use SADAF-IMAMU/3-what-type-of-relation-general-4-classes with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SADAF-IMAMU/3-what-type-of-relation-general-4-classes with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="SADAF-IMAMU/3-what-type-of-relation-general-4-classes")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("SADAF-IMAMU/3-what-type-of-relation-general-4-classes", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Model Card: AraBERT + LSTM for Relation Type Classification (Four Classes)
Model Description
This model combines AraBERT (aubmindlab/bert-base-arabert) with an LSTM layer and a softmax classifier to classify semantic relations between pairs of Arabic arguments into four classes.
- Language: Arabic
- Task: Relation Type Classification
- Base Model:
aubmindlab/bert-base-arabert - Architecture: BERT embeddings โ BiLSTM โ Dropout โ Dense classifier
- Dataset: SADAF View here