Replica-Harf-EG

tokenaii/Replica-Harf-EG

作者
tokenaii
任务
语音合成
下载量
268,225
点赞数
2
趋势分
2
许可证
other
收录时间
2026/11/29

base_model:

  • tokenaii/replica-preview-0.6b
  • Qwen/Qwen3-0.6B-Base license: other license_name: tokenai-custom-non-commercial library_name: omnivoice pipeline_tag: text-to-speech language:
  • ar
  • en
  • fr
  • de
  • es
  • zh
  • ja
  • ko tags:
  • arabic
  • egyptian
  • egyptian-arabic
  • replica
  • tokenai
  • tts
  • text-to-speech
  • voice-cloning
  • voice-design
  • arz
  • code-switching
  • multilingual
  • non-autoregressive
  • diffusion
  • qwen3
  • omnivoice

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

PropertyValue
Model IDtokenaii/Replica-Harf-EG
Model typeText-to-Speech (TTS), non-autoregressive diffusion
Base modelOmniVoice
LLMQwen/Qwen3-0.6B-Base
Audio codecHiggsAudioV2Tokenizer: 9 codebooks × 1,024, hop 960, 16 kHz input / 24 kHz output
Audio heads8 heads with weights [8, 8, 6, 6, 4, 4, 2, 2]
ParametersApproximately 612.6M
Model sizeApproximately 2.45 GB safetensors + 0.77 GB codec = 3.22 GB total
Sample rate24 kHz output
Languages646 inherited OmniVoice languages; dialect focus on Egyptian Arabic
LicenseTokenAI 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

ScenarioValue
Batch-1 synthesis time6.41 s
Batch-4 synthesis time1.93 s
RTF (batch 4)0.0257
RTF (batch 8)0.0180
Measurement20 Egyptian Arabic prompts, 20 diffusion steps, RTX PRO 6000 Blackwell

Memory

ScenarioValue
Inference peak VRAM allocated1.95 GiB
Inference peak VRAM reserved1.99 GiB
Peak process RAM3.61 GiB
Practical recommendation4 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

CapabilityResult
Target dialectEgyptian Arabic
Dialect evaluation set40 prompts
Word accuracy86.84% word accuracy (13.16% WER)
Character accuracy96.95% character accuracy (3.05% CER)
Speaker similarity0.738 SIM-o on 20 controlled samples
Audio integrity40/40 files at 24 kHz with no clipping
Inference memory1.95 GiB peak VRAM at 20 steps

Benchmark Results

MetricResult
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 VRAM1.95 GiB

Base OmniVoice Comparison

MetricReplica Harf EGBase OmniVoice
WER ↓13.16%17.84%
CER ↓3.05%4.90%
SIM-o ↑0.7380.782
UTMOS ↑3.233.60
NISQA-TTS ↑3.6364.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.

内容来源:Hugging Face 模型卡

在 Hugging Face 查看