Replica-Harf-SA

tokenaii/Replica-Harf-SA

作者
tokenaii
任务
语音合成
下载量
166,520
点赞数
1
趋势分
1
许可证
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
  • saudi
  • saudi-arabic
  • replica
  • tokenai
  • tts
  • text-to-speech
  • voice-cloning
  • voice-design
  • arz
  • code-switching
  • multilingual
  • non-autoregressive
  • diffusion
  • qwen3
  • omnivoice

Replica Harf SA is TokenAI's Saudi 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 Saudi pronunciation, natural expressive speech, and non-verbal sounds.

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

Model Details

PropertyValue
Model IDtokenaii/Replica-Harf-SA
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 Saudi Arabic
LicenseTokenAI Custom Non-Commercial License

Capabilities

  • Saudi Arabic synthesis: optimized for Saudi colloquial pronunciation, vocabulary, and conversational phrasing.
  • 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 Saudi Arabic.

Latency

ScenarioValue
Warm-request latency p500.325 s
Warm-request latency p950.328 s
Mean RTF0.0925
Real-time factor10.81×
Measurement10 warm requests, 20 diffusion steps, RTX PRO 6000 Blackwell

Memory

ScenarioValue
Inference peak VRAM allocated1.95 GiB
Inference peak VRAM reserved1.99 GiB
Peak process RAM3.62 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-SA", device_map="cuda:0")
prompt = model.create_voice_clone_prompt(
    ref_audio="reference.wav",
    ref_text="النص المنطوق في التسجيل المرجعي",
)
audio = model.generate(
    text="هلا والله، وش أخبارك اليوم؟",
    language_id="ar",
    voice_clone_prompt=prompt,
)
sf.write("output.wav", audio[0], 24000)

Voice design

audio = model.generate(
    text="أهلًا وسهلًا، خلنا نبدأ.",
    language_id="ar",
    instruction="male, middle-aged, calm, conversational Saudi 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 Saudi 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 SA 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_sa_2026,
  title  = {Replica Harf SA: Saudi Arabic Text-to-Speech},
  author = {TokenAI},
  year   = {2026},
  url    = {https://huggingface.co/tokenaii/Replica-Harf-SA}
}

License

Replica Harf SA 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 dialectSaudi Arabic
Dialect evaluation set40 prompts
Word accuracy84.23% word accuracy (15.77% WER)
Character accuracy95.80% character accuracy (4.20% CER)
Speaker similarity0.747 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 ↓15.77%
CER ↓4.20%
SIM-o ↑0.747
UTMOS ↑2.92
NISQA-TTS ↑3.342
DNSMOS OVRL ↑3.170
DNSMOS SIG ↑3.461
DNSMOS BAK ↑4.005
Mean RTF ↓0.0925
Peak VRAM1.95 GiB

Base OmniVoice Comparison

MetricReplica Harf SABase OmniVoice
WER ↓15.77%18.79%
CER ↓4.20%5.44%
SIM-o ↑0.7470.718
UTMOS ↑2.923.41
NISQA-TTS ↑3.3424.042

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 查看