A2NLP at StanceNakba 2026: AraBERT-Based Arabic Stance Detection (Subtask B)
This repository contains the official submission of Team
A2NLP
to the
StanceNakba 2026 Shared Task – Subtask B (Topic-Based Stance Detection)
,
co-located with
LREC-COLING 2026
.
Base model: aubmindlab/bert-base-arabertv02-twitter
Best Validation Macro-F1: 0.8434
Team A2NLP
A2NLP is a research team focusing on Arabic Natural Language Processing,
with interests in stance detection, political discourse analysis,
and transformer-based modeling.
This model performs
Arabic stance classification
with three labels:
pro
against
neutral
The architecture is based on BERT-base and fine-tuned using a prompt-based input formulation that explicitly conditions stance prediction on the topic.
Input Format
During training and inference, each instance is formatted as:
الهدف: {topic} [SEP] الموقف من: {sentence}
This prompt-based concatenation strategy was used to explicitly inject the topic context into the transformer encoder.
The model outputs a probability distribution over the three stance labels using a softmax classification head.
Intended Uses & Limitations
Intended Use
Arabic stance detection in social media text.
Topic-conditioned stance classification.
Research and shared-task benchmarking.
The model is particularly suited for:
Political discourse analysis.
Arabic Twitter stance modeling.
Experimental NLP research on stance detection.
Limitations
The model was trained on Arabic Twitter-style text and may not generalize well to:
Formal Arabic prose
Long documents
Non-political domains
Sensitive to distribution shift.
Performance may degrade on unseen topics.
No external data augmentation was used.
This model should
not
be used for high-stakes automated decision-making.
Training and Evaluation Data
The model was trained on the official
StanceNakba Subtask B train/validation dataset
provided by the shared task organizers.
StanceNakba-EXP5 huggingface.co is an AI model on huggingface.co that provides StanceNakba-EXP5's model effect (), which can be used instantly with this aomar85 StanceNakba-EXP5 model. huggingface.co supports a free trial of the StanceNakba-EXP5 model, and also provides paid use of the StanceNakba-EXP5. Support call StanceNakba-EXP5 model through api, including Node.js, Python, http.
StanceNakba-EXP5 huggingface.co is an online trial and call api platform, which integrates StanceNakba-EXP5's modeling effects, including api services, and provides a free online trial of StanceNakba-EXP5, you can try StanceNakba-EXP5 online for free by clicking the link below.
aomar85 StanceNakba-EXP5 online free url in huggingface.co:
StanceNakba-EXP5 is an open source model from GitHub that offers a free installation service, and any user can find StanceNakba-EXP5 on GitHub to install. At the same time, huggingface.co provides the effect of StanceNakba-EXP5 install, users can directly use StanceNakba-EXP5 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.