TTS / README.md
Manar312's picture
Upload 6 files
6dce2be verified
|
Raw
History Blame Contribute Delete
919 Bytes
---
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
1. Upload your model file as `entire_model.pth` to the Space files.
2. Open `/docs` for the interactive Swagger UI.
3. `POST /transcribe` with 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