Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
3
75
label
stringclasses
2 values
score
float32
1
1
domain
stringclasses
1 value
is_conflict
bool
2 classes
الشحنة تقيلة المندوب رفض انه يطلع الدور التالت رغم ان ظروفي الصحية لا تسمح
negative
1
logistics
false
اتاخر عن الميعاد اعطى اكثر من موعد وتاخر
negative
1
logistics
false
في دفع المبلغ اولاا قال مافيش فكه قلتله لا قال طيب فضل يدور في جيبه وقاللي
negative
1
logistics
false
غير متعاون وأسلوب سيئ
negative
1
logistics
false
الراجل مستعجل و مش صابر و كل ما اجى احول يتصل يفصل النت و مشى من غير ما يقو
negative
1
logistics
false
اخد مني فلوس زياده
negative
1
logistics
false
المنتج ضيق جدا جدا جدا مش داخل اصلا وخسرت فلوس ع الفاضي
negative
1
logistics
false
To be honest, I did not have cash at the time, so I requested payment via I
negative
1
logistics
false
المندوب تعامله وحش وقليل الادب في الكلام وكلامه مش محترم ويقولي هوا أخري 5
negative
1
logistics
false
المندوب وصل الساعة ١١مساء ومع ذلك طلعت اخد منه الاوردر وانا سيدة مريضة وعند
negative
1
logistics
false
المعامله سيئة ويتكلم ب اسلوب وحش
negative
1
logistics
false
سيءه
negative
1
logistics
false
إختيار أسواء مواعيد واسواء تعامل وطريقة لا تليق أبدا بمندوب توصيل فى عدة مر
negative
1
logistics
false
الموبايل ناقص البطارية و السماعة
negative
1
logistics
false
لانوا اتاخروا اوي الحاجه جات متبهدله
negative
1
logistics
false
اخد مني ٥٠ج زياده علشان حولت له المبلغ على محفظته قولت له ده كتير جدا قالي
negative
1
logistics
false
مش المنتج اللي انا طالباه نهائي
negative
1
logistics
false
كود السينسور مش شغال
negative
1
logistics
false
مندوب سئ جدا رفض المعاينه
negative
1
logistics
false
اسوء مندوب اتعاملت معاه في حياتي قليل الذوق والله واسلوبة سيئ
negative
1
logistics
false
المندوب بيبلغ بوقت وبيجي بعديها ب ٧ ساعات وانا متعود الاوردارات بتتسلم بدري
positive
1
logistics
true
المندوب غير ملتزم بالمواعيد
negative
1
logistics
false
ازازة العود جايالي من غير غطاء وربعها تقريبا طاير وهبعت لحضراتكم صورة المنت
negative
1
logistics
false
سيئه وقلة ذوق بدرجه محدش يتخيلها علشان أخرتو مالا يزيد عن ١٢ دقيقه علشان كن
negative
1
logistics
false
تعامله سئ جداً واتمني ميجيش تاني ليا
negative
1
logistics
false
مش الاوردر ده الاوردر اللي قبله منه كان تعامل المندوب زباله
negative
1
logistics
false
المندوب عصبي وأسلوبه غير مهذب ، هو بلغني انها غير قابله للمعاينه و انا وافق
negative
1
logistics
false
الشحنه تأخر تسليمها ٥ ايام
negative
1
logistics
false
طلبت منى النزول إلى الشارع لاستلام المنتج
negative
1
logistics
false
اتاخر عليا ساعه
negative
1
logistics
false
انسان غير صالح للتعامل
negative
1
logistics
false
المندوب عايز فلوس فوق الشحن ليه انا دفع كل حاجه وهو عايز 20ج فوق الفلوس
negative
1
logistics
false
مندوب كويس
negative
1
logistics
false
المندوب سئ جدا وطريقته سيئه جدا ومرضيش يطلعلي الاوردر بحجه انو باب عربيه مش
negative
1
logistics
false
طلع ان ممكن اقيس المنتج و هو رفض
negative
1
logistics
false
هو مش روك ومحتاجة ارجع القمر من فضلكم وبجع مع المندوب رفض ودا شي سي جدا الم
negative
1
logistics
false
مندوب قليل الادب و مش محترم
negative
1
logistics
false
مرضيش يطلع لباب الشقة وساب الاوردر عند مدخل العمارة
negative
1
logistics
false
اسلوبه وحش جداً و كان يتعامل بطريقه وحشه ومكنش راضي يطلع يسلمني الاوردر وطل
negative
1
logistics
false
اخر مره اتعامل مع الشركه تاني
negative
1
logistics
false
المنتج لا يعمل
negative
1
logistics
false
اتاخر جدا جدا في الاستلام
negative
1
logistics
false
اتمنى لو في تواصل مع صاحب المنتج او رقم ليه
negative
1
logistics
false
بيطلب فلوس في كل مرة رغم ان الاوردر مدفوع بالشحن
negative
1
logistics
false
طريقة سييءة للتراثل على الواتساب
negative
1
logistics
false
المندوب داخل مكان التسليم معندوش صبر ومستعجل
negative
1
logistics
false
أسلوبه وحش جدا ومكانش راضي يجيب الاوردر للمكان عايز حد يطلعله
negative
1
logistics
false
بناء على اللون وصل مختلف قلت للمندوب مش هستلم الاوردر قال عايز 50 جنيه تمن
negative
1
logistics
false
الكيس الكرتون المغلف للشال جاي متقطع
negative
1
logistics
false
المندوب قليل الذوق جدا وبلغته بالعنوان ورقم المنزل واستمر فى الاتصال والاعت
negative
1
logistics
false
المندوب المفروض يوصل لعند البيت دا لا وقف في بلد تانيه ويقولي انا اخري البل
negative
1
logistics
false
طريقه الرد
negative
1
logistics
false
المنتج جه متكسر الجردل والسائل بهدل باقي الاغراض
negative
1
logistics
false
لم يتواصل معي قبل الحضور اتفجئت بيه ع الباب
negative
1
logistics
false
لم ياتي فور الاتصال بي بل اتى متاخر
negative
1
logistics
false
المندوب بيتعامل اني شغال عنده مش هو اليدبيقدم خدمة ليا
negative
1
logistics
false
المنتج كويس لكن الاوردر تأخر والمندوب لا يرد علي الهاتف ويرد متأخراً وهذه ا
negative
1
logistics
false
بعد ما قام بالاتصال وأخبرني أنه أمامه للمنزل ١٠ دقائق وأنه بالمدينة وقلت له
negative
1
logistics
false
الكرتونه مش موجوده مفتوحه و المنتج عبارة عن معطر و عبوتين فاضيين
negative
1
logistics
false
كذا مره يحصل فلوس الشحنه مع انها بتبقي مدفوعه اونلاين الموضوع اتكرر ٣ مرات
negative
1
logistics
false
اغلق الاتصال أثناء الحديث معه وتم معاودة الاتصال به عدد 11مره ولم يرد
negative
1
logistics
false
اتأخر ٣ ساعات عن الوقت اللي مكتوب ان هييجي خلاله ومجاش غير لما اتصلت بيه
negative
1
logistics
false
عصبي جدا
negative
1
logistics
false
سيء جدا جداانا كاتبه العنوان مرضاش يجيلي عند العنوان اللي كتباه وقالي مش بد
negative
1
logistics
false
المندوب اتصل أمس و بيسأل الشحنة كانت آيه لانهم اتلخبطوا!
negative
1
logistics
false
حضرتك حد يكلمني وانا اقول السبب
negative
1
logistics
false
مندوب التوصيل طلب منى أكلمه لو حبيت ارجع المنتج عشان يبعت عنوان الارتجاع وط
negative
1
logistics
false
تأخير الوقت جدا
negative
1
logistics
false
الشحنة اتاخرت ٤ ايام علشان توصل و كنت بحاول اوصل لحد من bosta بس محدش كان ب
negative
1
logistics
false
عدم مصداقيه المندوب هو بلغنى انه جى مواصلات خلانى سبت شغلى وخرجت قابلته فى
negative
1
logistics
false
Awhash experience el order galy baad 16 yeom
negative
1
logistics
false
عادي
negative
1
logistics
false
The rep requested the pickup code before actually delivering the items and
negative
1
logistics
false
في مشكله في الجاكت
negative
1
logistics
false
المقاس كبير وفى غلطة فى الالوان انا طالب3الوان جالى واحدة اسود و2بنى
negative
1
logistics
false
كيس المخدة الطويلة به ديفوهاتانا تخدت صورة ومش عارفة ابعتها
negative
1
logistics
false
مندوب طريقته مش حلوه خالص
negative
1
logistics
false
المندوب كان عايزني انزلوا حد يستلم في الشارع
negative
1
logistics
false
كنت قايل اني هحاسب فيزا بس هو مطلعش معاه فيزا وكمان معاملته وحشه
negative
1
logistics
false
بياخد نسبة علي الفلوس علي انستا باي والمفروض مفيش نسبة
negative
1
logistics
false
الكرتونة متبهدلة وشبه مفتوحة
negative
1
logistics
false
المندوب لم يسلم الباقي وذهب بسرعه
negative
1
logistics
false
في برفانات وحشه قوي والخامس قزايز
negative
1
logistics
false
المندوب بيعترض على انه يجيلى عشان معاه عربيه وخايف عليها
negative
1
logistics
false
الشحنه وصلتني متاخره عن الميعاد اللي اخترته علي الواتس ومفيش اي دعم موجود ع
negative
1
logistics
false
أنا لسه كنت رايحه اجيب فلوس الاوردر ولكن المندوب نبه إنى مفتحش الاوردر ، ون
negative
1
logistics
false
ليس المنتج الاصلى
negative
1
logistics
false
انتوا اسوء شركه شحن في التاريخ
negative
1
logistics
false
خمس ايام كل شويه حد يكلمني يقولي حد عيكلمك ومحدش بيكلمني
negative
1
logistics
false
اسلوبه وحش جدا
negative
1
logistics
false
المندوب قام بأخذ 100 جنيه زيادة عن الحساب برجاء اختيار مندوب أمين وحسن السي
positive
1
logistics
true
قليل ذوق جدا طالعلي بيشرب سيجارة قدامي و في طفل معايا و خلي ريحة البيت و ال
negative
1
logistics
false
شركة سيئة وتعامل سيء اسبوع عشان استلم الشخنة وكل دة بسبب اني دفعت اون لاين.
negative
1
logistics
false
الخام وحشه اوي
negative
1
logistics
false
مشكلتي مع شركة الشحن نفسها، علشان جالي اوردر غير اللي طلباه اصلا طلبه اوردر
negative
1
logistics
false
غير مرنين،وقله،ذوق
negative
1
logistics
false
حد يرد عليا
negative
1
logistics
false
لما سألته الحساب كام قالي ٢٧٠٠ وانا عارف ان الاوردر ب ٢٦٨٦ ، انا معنديش مشك
negative
1
logistics
false
المندوب كان ممتاز
positive
1
logistics
true
طفل لا يتعدى ال ١٠ سنين هو السلم الاوردر و طلب ٢٠ جنية زيادة علشان هيحول !!
negative
1
logistics
false
End of preview. Expand in Data Studio

Arabic Feedback Corpus

Dataset Description

This dataset contains 1,504 Arabic customer feedback entries for sentiment analysis and quality assessment in the logistics domain. The data consists of real customer reviews about delivery services, courier performance, and order fulfillment experiences in Egyptian Arabic and Modern Standard Arabic.

Languages

  • Primary: Egyptian Arabic (العامية المصرية)
  • Secondary: Modern Standard Arabic (MSA)
  • Code: ar, ar_EG

Dataset Summary

Customer feedback is crucial for service improvement and quality assurance. This dataset provides:

  • Authentic customer reviews from logistics services
  • Binary sentiment labels (positive/negative)
  • Quality scores (1-5 scale)
  • Conflict detection flags for quality control
  • Real-world colloquial Egyptian Arabic expressions

Dataset Structure

Data Format

Each entry contains:

{
  "text": "المندوب محترم جدا وسريع في التوصيل",
  "label": "positive",
  "score": 5.0,
  "domain": "logistics",
  "is_conflict": false
}

Data Fields

Field Type Description
text string Customer feedback text in Arabic
label string Sentiment label ("positive" or "negative")
score float Quality rating (1.0 to 5.0)
domain string Content domain (always "logistics")
is_conflict bool Flag for label-score conflicts

Field Details

text

Customer feedback ranging from 3 to 75 characters, containing:

  • Delivery experience descriptions
  • Courier behavior comments
  • Service quality assessments
  • Product condition feedback
  • Timing and professionalism complaints/praise

label

Binary sentiment classification:

  • positive: Satisfied customers, good experiences
  • negative: Complaints, dissatisfaction, problems

score

Numerical rating on 1-5 scale:

  • 5.0: Excellent service
  • 4.0: Good service
  • 3.0: Average service
  • 2.0: Below average
  • 1.0: Poor service

is_conflict

Quality control flag indicating mismatch between label and score:

  • false: Label and score are consistent
  • true: Conflict detected (e.g., positive label with score 1.0)

Dataset Statistics

Overview

  • Total Entries: 1,504
  • Positive Reviews: ~35%
  • Negative Reviews: ~65%
  • Conflicted Labels: ~2%
  • Average Text Length: 38.5 characters
  • Domain: Logistics only

Label Distribution

Label Count Percentage
negative ~978 65%
positive ~526 35%

Score Distribution

Score Count Typical Label
1.0 ~1,450 negative
5.0 ~50 positive
2.0-4.0 ~4 varies

Conflict Examples

Conflicted entries (where label contradicts score):

{
  "text": "ممتاز وسرعة في الاداء",
  "label": "positive",
  "score": 1.0,  # ← Conflict!
  "is_conflict": true
}

{
  "text": "المندوب بيبلغ بوقت وبيجي بعديها ب ٧ ساعات",
  "label": "positive",  # ← Conflict!
  "score": 1.0,
  "is_conflict": true
}

Common Feedback Themes

Positive Feedback Topics

  • ✅ Professional and respectful couriers
  • ✅ Fast delivery
  • ✅ Good communication
  • ✅ Helpful service
  • ✅ On-time arrival

Negative Feedback Topics

  • ❌ Rude or unprofessional behavior
  • ❌ Delivery delays
  • ❌ Courier refusing to come upstairs
  • ❌ Extra charges/tips demanded
  • ❌ Not answering calls
  • ❌ Poor product condition
  • ❌ Wrong items delivered
  • ❌ Courier attitude problems

Use Cases

✅ Recommended Use Cases

  • Sentiment Analysis: Train Arabic sentiment classifiers
  • Quality Assessment: Predict service quality scores
  • Conflict Detection: Identify inconsistent reviews
  • Egyptian Arabic NLP: Understand colloquial expressions
  • Customer Service AI: Build chatbots understanding complaints
  • Logistics Analytics: Analyze delivery service quality
  • Multi-Task Learning: Joint sentiment + score prediction
  • Data Quality Models: Detect annotation inconsistencies

⚠️ Limitations

  • Domain Specificity: Limited to logistics/delivery domain
  • Geographic Scope: Primarily Egyptian context
  • Label Noise: Contains ~2% conflicted labels
  • Imbalanced Data: 65% negative vs 35% positive
  • Size: 1,504 entries (medium-sized dataset)
  • Score Distribution: Heavily skewed toward 1.0 and 5.0

Loading the Dataset

Using Hugging Face Datasets

from datasets import load_dataset

# Load the dataset
dataset = load_dataset("fr3on/arabic-feedback-corpus")

# Access the data
print(dataset['train'][0])

# Filter by sentiment
positive_reviews = dataset['train'].filter(lambda x: x['label'] == 'positive')
negative_reviews = dataset['train'].filter(lambda x: x['label'] == 'negative')

# Filter clean data (no conflicts)
clean_data = dataset['train'].filter(lambda x: x['is_conflict'] == False)

# Filter by score
excellent_service = dataset['train'].filter(lambda x: x['score'] == 5.0)
poor_service = dataset['train'].filter(lambda x: x['score'] == 1.0)

Using Pandas

import pandas as pd

# Load Parquet file directly
df = pd.read_parquet("hf://datasets/fr3on/arabic-feedback-corpus/data/train-00000-of-00001.parquet")

# Analyze sentiment distribution
print(df['label'].value_counts())

# Check for conflicts
conflicts = df[df['is_conflict'] == True]
print(f"Conflicted entries: {len(conflicts)}")

# Score statistics
print(df['score'].describe())

# Export filtered data
positive_df = df[df['label'] == 'positive']
positive_df.to_csv('positive_feedback.csv', index=False)

Training Examples

Sentiment Classification

from datasets import load_dataset
from transformers import AutoTokenizer, AutoModelForSequenceClassification, Trainer

# Load dataset
dataset = load_dataset("fr3on/arabic-feedback-corpus")

# Remove conflicted samples for clean training
clean_dataset = dataset['train'].filter(lambda x: not x['is_conflict'])

# Load Arabic BERT model
model_name = "asafaya/bert-base-arabic"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForSequenceClassification.from_pretrained(
    model_name, 
    num_labels=2  # positive/negative
)

# Tokenize
def preprocess(examples):
    return tokenizer(
        examples['text'], 
        truncation=True, 
        max_length=128,
        padding='max_length'
    )

tokenized = clean_dataset.map(preprocess, batched=True)

# Convert labels to numbers
label_map = {'negative': 0, 'positive': 1}
tokenized = tokenized.map(lambda x: {'label': label_map[x['label']]})

# Train
trainer = Trainer(
    model=model,
    train_dataset=tokenized,
)
trainer.train()

Multi-Task Learning (Sentiment + Score)

from datasets import load_dataset
import torch.nn as nn

dataset = load_dataset("fr3on/arabic-feedback-corpus")
clean_data = dataset['train'].filter(lambda x: not x['is_conflict'])

# Multi-task model architecture
class MultiTaskModel(nn.Module):
    def __init__(self, base_model):
        super().__init__()
        self.base = base_model
        self.sentiment_head = nn.Linear(768, 2)  # positive/negative
        self.score_head = nn.Linear(768, 1)      # score prediction
    
    def forward(self, input_ids, attention_mask):
        outputs = self.base(input_ids, attention_mask)
        pooled = outputs.last_hidden_state[:, 0]  # CLS token
        
        sentiment = self.sentiment_head(pooled)
        score = self.score_head(pooled)
        
        return sentiment, score

# Train with both objectives
# sentiment_loss = CrossEntropyLoss()
# score_loss = MSELoss()
# total_loss = sentiment_loss + score_loss

Conflict Detection

from datasets import load_dataset

dataset = load_dataset("fr3on/arabic-feedback-corpus")

# Train a model to detect annotation conflicts
# Features: text + predicted_label + predicted_score
# Target: is_conflict flag

def extract_features(example):
    return {
        'text': example['text'],
        'label': example['label'],
        'score': example['score'],
        'target': example['is_conflict']
    }

conflict_dataset = dataset['train'].map(extract_features)

# This can help identify:
# - Annotation errors
# - Sarcastic comments
# - Ambiguous feedback

Data Collection & Processing

Source

  • Origin: Real customer feedback from logistics services
  • Language: Primarily Egyptian Arabic (colloquial)
  • Quality: Authentic user-generated content

Annotation Process

  1. Text Collection: Customer reviews and feedback
  2. Labeling: Binary sentiment annotation (positive/negative)
  3. Scoring: Quality ratings on 1-5 scale
  4. Conflict Detection: Automated flag for label-score mismatches
  5. Validation: Quality checks and consistency reviews

Data Quality

  • ✅ Real customer feedback (not synthetic)
  • ⚠️ Contains ~2% label-score conflicts
  • ✅ Text lengths validated (3-75 characters)
  • ✅ Domain consistency (all logistics)
  • ⚠️ Class imbalance (65% negative)

Considerations for Using the Data

Egyptian Arabic Characteristics

This dataset contains colloquial Egyptian expressions:

  • Informal spelling: مش instead of ليس
  • Egyptian vocabulary: مندوب، اوردر، شحنة
  • Mixed language: Some English words (أوردر = order)
  • Abbreviated words: ج for جنيه (Egyptian pound)

Handling Conflicts

The is_conflict flag identifies potential issues:

# Option 1: Exclude conflicts
clean_data = dataset.filter(lambda x: not x['is_conflict'])

# Option 2: Use conflicts for quality control training
conflicts = dataset.filter(lambda x: x['is_conflict'])

# Option 3: Manually review and correct
for item in conflicts:
    # Review and fix annotations
    pass

Recommended Training Approaches

  1. Balance the dataset using oversampling or class weights
  2. Remove conflicts for cleaner training
  3. Use Arabic-specific models (AraBERT, MARBERT)
  4. Consider dialectal variations in preprocessing
  5. Apply data augmentation to address class imbalance

Ethical Considerations

  • Privacy: Customer names and personal info removed
  • Bias: Dataset reflects real customer experiences
  • Negativity bias: More complaints than praise (common in feedback data)
  • Cultural context: Egyptian service expectations and norms

Applications

Customer Service Automation

# Real-time sentiment analysis for support tickets
def analyze_feedback(text):
    sentiment = model.predict(text)
    if sentiment == 'negative' and score < 3.0:
        # Escalate to human agent
        priority = "high"
    return sentiment, score, priority

Quality Monitoring

# Track service quality trends
import pandas as pd

df = pd.read_parquet("data.parquet")
daily_scores = df.groupby('date')['score'].mean()

# Alert on quality drops
if daily_scores.last() < 3.0:
    send_alert("Service quality declining")

Training Data Annotation

# Use model to pre-annotate new data
new_feedback = ["المندوب كان ممتاز"]
predicted_label = model.predict(new_feedback)
# Human reviews and corrects predictions

Common Arabic Tokens

Positive indicators:

  • ممتاز (excellent)
  • محترم (respectful)
  • سريع (fast)
  • كويس (good)
  • شكرا (thanks)

Negative indicators:

  • سيء (bad)
  • اتأخر (delayed)
  • قليل الذوق (rude, lit. "little taste")
  • وحش (bad/ugly)
  • مش (not)
  • رفض (refused)

Neutral/Context-dependent:

  • المندوب (the courier)
  • الاوردر (the order)
  • الشحنة (the shipment)
  • وصل (arrived)

License

This dataset is released under the Apache 2.0 License.

Citation

If you use this dataset in your research, please cite:

@dataset{arabic_feedback_corpus,
  title={Arabic Feedback Corpus: Logistics Domain Sentiment Analysis},
  author={fr3on},
  year={2026},
  publisher={Hugging Face},
  url={https://huggingface.co/datasets/fr3on/arabic-feedback-corpus}
}

Acknowledgments

  • Source: Customer feedback from logistics services
  • Annotation: Sentiment labels and quality scores
  • Format: Parquet for efficient storage and loading

Version History

  • v1.0.0 (2026-01-06): Initial release
    • 1,504 entries
    • Binary sentiment labels
    • 1-5 quality scores
    • Conflict detection flags
    • Parquet format

Keywords: Arabic NLP, sentiment analysis, customer feedback, logistics, Egyptian Arabic, colloquial Arabic, quality assessment, conflict detection, delivery services

Dataset Size: 1,504 examples | Format: Parquet | License: Apache 2.0

Downloads last month
-