Downloads · 30 days
0
FatimahEmadEldin/ArSL-Models
ArSL-Models is a image classification model from FatimahEmadEldin. Use it when you need a label for an image. It is set up for pytorch. The card lists the license as mit.
Two PyTorch models for Arabic Sign Language (ArSL) recognition, used by the CSLR app (deployed as a Hugging Face Space):
Downloads · 30 days
0
Access
Public
Updated Jun 28, 2026
Repo size
514 MB
Likes
0
Public
Click a slice to open those files.
.pth514 MB · 100%
From the Hugging Face model README
Two PyTorch models for Arabic Sign Language (ArSL) recognition, used by the CSLR app (deployed as a Hugging Face Space):
| File | Task | Architecture | Classes |
|---|---|---|---|
improved_arsl_model.pth | Alphabet (finger-spelling) | ResNet18 + BiLSTM + Attention | 29 |
sign_word_t5_classifier_best_3d.pth | Word signs | T5-encoder over hand landmarks | 10 |
⚠️ Note: Quantitative results below (accuracy, F1, dataset sizes) are placeholders pending the accompanying paper. They will be updated with the exact reported figures.
improved_arsl_model.pthA spatial-sequential classifier for static Arabic letter signs.
Architecture (ArSLAttentionLSTM)
512×7×7 feature map.7×7 grid is flattened to a length-49 sequence of 512-d vectors.1024 → 512 → 256 → 29 MLP with BatchNorm, ReLU, dropout (0.5).Input
[0.485, 0.456, 0.406] / [0.229, 0.224, 0.225]).Output: softmax over 29 classes.
| idx | letter | idx | letter | idx | letter | idx | letter | idx | letter |
|---|---|---|---|---|---|---|---|---|---|
| 0 | ع | 6 | ف | 12 | ك | 18 | ر | 24 | ث |
| 1 | أ | 7 | ق | 13 | خ | 19 | ص | 25 | ذ |
| 2 | ب | 8 | غ | 14 | لا | 20 | س | 26 | و |
| 3 | د | 9 | ه | 15 | ل | 21 | ش | 27 | ي |
| 4 | ظ | 10 | ح | 16 | م | 22 | ط | 28 | ز |
| 5 | ض | 11 | ج | 17 | ن | 23 | ت |
| Metric | Value |
|---|---|
| Test accuracy | TBD |
| Macro F1 | TBD |
| Dataset / split | TBD |
sign_word_t5_classifier_best_3d.pthA landmark-based classifier for dynamic word signs.
Architecture (T5EncoderClassifier)
google-t5/t5-small (d_model = 512).Linear(feature_dim → 512) → Dropout → LayerNorm → GELU.Dropout → Linear(512 → 10).Input
feature_dim = 63.Output: softmax over 10 classes.
| idx | Arabic | English |
|---|---|---|
| 0 | ينام | sleep |
| 1 | يسكت | be silent |
| 2 | حب | love |
| 3 | يدخن | smoke |
| 4 | دعم | support |
| 5 | مرتبك | confused |
| 6 | قلق | worried |
| 7 | هنا | here |
| 8 | السلام عليكم | greeting (peace be upon you) |
| 9 | شكرا | thanks |
| Metric | Value |
|---|---|
| Test accuracy | TBD |
| Macro F1 | TBD |
| Dataset / split | TBD |
import torch
from huggingface_hub import hf_hub_download
# --- Alphabet model ---
from models.alphabet_model import ArSLAttentionLSTM # from the CSLR repo
ckpt = hf_hub_download("FatimahEmadEldin/ArSL-Models", "improved_arsl_model.pth")
model = ArSLAttentionLSTM(num_classes=29, hidden_size=512, num_layers=2,
bidirectional=True, dropout_rate=0.5)
state = torch.load(ckpt, map_location="cpu")
state = state.get("model_state_dict", state) if isinstance(state, dict) else state
model.load_state_dict(state, strict=False)
model.eval()
The full inference pipeline (MediaPipe hand detection, preprocessing, the T5 word model, and a web UI) is available in the CSLR repository.
@misc{arsl_models_2026,
title = {ArSL-Models: Arabic Sign Language Recognition},
author = {Fatimah Emad Eldin},
year = {2026},
howpublished = {\url{https://huggingface.co/FatimahEmadEldin/ArSL-Models}}
}
Paper details and full results to be added.
MIT