Replica Harf EG

Replica Harf EG

Every Dialect Has Its Replica.

Replica Harf EG is TokenAI's Egyptian Arabic dialect-specialized release in the Replica Harf family. It is a non-autoregressive, diffusion-based multilingual text-to-speech model built on OmniVoice, with a focus on Egyptian pronunciation, natural expressive speech, and non-verbal sounds.

Replica Harf EG is derived from tokenaii/replica-preview-0.6b and fine-tuned for Egyptian Arabic. Learn more about the family on TokenAI's official Replica Preview page.

Model Details

Property Value
Model ID tokenaii/Replica-Harf-EG
Model type Text-to-Speech (TTS), non-autoregressive diffusion
Base model OmniVoice
LLM Qwen/Qwen3-0.6B-Base
Audio codec HiggsAudioV2Tokenizer: 9 codebooks × 1,024, hop 960, 16 kHz input / 24 kHz output
Audio heads 8 heads with weights [8, 8, 6, 6, 4, 4, 2, 2]
Parameters Approximately 612.6M
Model size Approximately 2.45 GB safetensors + 0.77 GB codec = 3.22 GB total
Sample rate 24 kHz output
Languages 646 inherited OmniVoice languages; dialect focus on Egyptian Arabic
License TokenAI Custom Non-Commercial License

Capabilities

  • Egyptian Arabic synthesis: optimized for Egyptian colloquial pronunciation and vocabulary.
  • Zero-shot voice cloning: clone a speaker from a short reference recording without speaker-specific fine-tuning.
  • Voice design: control gender, age, pitch, style, and accent through a natural-language instruction.
  • Auto voice: automatic voice selection for practical generation workflows.
  • Expressive speech: supports pauses, emphasis, conversational delivery, and tested non-verbal markers such as [inhale], [exhale], [sigh], [laughter], and [laugh].
  • Multilingual foundation: retains the multilingual OmniVoice interface while specializing the weights for Egyptian Arabic.

Latency

Scenario Value
Batch-1 synthesis time 6.41 s
Batch-4 synthesis time 1.93 s
RTF (batch 4) 0.0257
RTF (batch 8) 0.0180
Measurement 20 Egyptian Arabic prompts, 20 diffusion steps, RTX PRO 6000 Blackwell

Memory

Scenario Value
Inference peak VRAM allocated 1.95 GiB
Inference peak VRAM reserved 1.99 GiB
Peak process RAM 3.61 GiB
Practical recommendation 4 GiB VRAM and 8 GiB RAM

Usage

Voice cloning

from omnivoice import OmniVoice
import soundfile as sf

model = OmniVoice.from_pretrained("tokenaii/Replica-Harf-EG", device_map="cuda:0")
prompt = model.create_voice_clone_prompt(
    ref_audio="reference.wav",
    ref_text="النص المنطوق في التسجيل المرجعي",
)
audio = model.generate(
    text="إزيك؟ النهارده الجو جميل جدًا.",
    language_id="arz",
    voice_clone_prompt=prompt,
)
sf.write("output.wav", audio[0], 24000)

Voice design

audio = model.generate(
    text="أهلًا بيك، خلينا نبدأ.",
    language_id="arz",
    instruction="female, young adult, warm, conversational Egyptian Arabic accent",
    num_step=8,
)

Non-verbal sounds

Include markers in the text, for example [inhale], [exhale], [sigh], [laughter], [laugh], and fillers such as آه, هممم, Hmmm, and phew. Verify the exact pronunciation and placement for the target production voice before deployment.

Number normalization

Arabic digits are normalized into spoken Arabic forms. For Egyptian production, validate dialect-specific forms such as 5000 → خمسة آلاف against the intended script and pronunciation style.

Audio Samples

Audio samples are not hosted or displayed in this repository. Visit the official TokenAI Replica Preview family page for the company presentation and the Replica Harf EG repository for the released model files.

About TokenAI

TokenAI is an AI startup founded on May 10, 2025 by Assem Sabry. TokenAI builds advanced AI models, research, datasets, and developer tools. The company focuses on language, multimodal systems, speech, cybersecurity, and Arabic-native intelligence, with a mission to make advanced intelligence accessible and useful for everyone.

Website: tokenai.llc

Contact TokenAI

For inquiries, partnerships, or support, contact TokenAI at info@tokenai.llc.

Citation

@misc{replica_harf_eg_2026,
  title  = {Replica Harf EG: Egyptian Arabic Text-to-Speech},
  author = {TokenAI},
  year   = {2026},
  url    = {https://huggingface.co/tokenaii/Replica-Harf-EG}
}

License

Replica Harf EG is a TokenAI model release and is strictly non-commercial. Commercial use is prohibited. Rebranding, renaming, or misrepresenting this model is prohibited.

This model is based on and/or incorporates work from OmniVoice by k2-fsa. OmniVoice retains rights in its original components. Where applicable, upstream material remains subject to the CC BY-NC 4.0 terms. See the complete custom terms in LICENSE.

Capabilities and Results

Capability Result
Target dialect Egyptian Arabic
Dialect evaluation set 40 prompts
Word accuracy 86.84% word accuracy (13.16% WER)
Character accuracy 96.95% character accuracy (3.05% CER)
Speaker similarity 0.738 SIM-o on 20 controlled samples
Audio integrity 40/40 files at 24 kHz with no clipping
Inference memory 1.95 GiB peak VRAM at 20 steps

Benchmark Results

Metric Result
WER ↓ 13.16%
CER ↓ 3.05%
SIM-o ↑ 0.738
UTMOS ↑ 3.23
NISQA-TTS ↑ 3.636
DNSMOS OVRL ↑ 3.233
DNSMOS SIG ↑ 3.497
DNSMOS BAK ↑ 4.067
Batch-4 RTF ↓ 0.0257
Peak VRAM 1.95 GiB

Base OmniVoice Comparison

Metric Replica Harf EG Base OmniVoice
WER ↓ 13.16% 17.84%
CER ↓ 3.05% 4.90%
SIM-o ↑ 0.738 0.782
UTMOS ↑ 3.23 3.60
NISQA-TTS ↑ 3.636 4.092

Evaluation note: the OmniVoice CLI did not recognize ar as an explicit language ID and used its language-agnostic fallback for both systems. The same settings were used for all comparisons.

Downloads last month
-
Safetensors
Model size
0.6B params
Tensor type
I64
·
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for tokenaii/Replica-Harf-EG

Finetuned
(818)
this model

Collection including tokenaii/Replica-Harf-EG