metadata
title: RAFIQ Arabic ASR
emoji: 🎙️
colorFrom: green
colorTo: blue
sdk: docker
pinned: false
RAFIQ – Egyptian Arabic Speech-to-Text API
Custom character-level Transformer trained on Egyptian Arabic audio.
Built as part of the RAFIQ autism-support platform – FCAI, Beni-Suef University 2026.
Usage
- Upload your model file as
entire_model.pthto the Space files. - Open
/docsfor the interactive Swagger UI. POST /transcribewith a WAV/MP3/OGG file (≤ 15 s).
Endpoints
| Method | Path | Description |
|---|---|---|
| GET | / |
API info |
| GET | /health |
Model status + config |
| POST | /transcribe |
Upload audio → Arabic text |
Model config
- Character-level vocab (Arabic + English) – 74 tokens
- Encoder: 2 layers, Decoder: 1 layer, d_model=512, 8 heads
- Input: 128-mel spectrogram, 15-second chunks
- Sample rate: 16 000 Hz