Downloads · 30 days
23
8% of all-time downloads
muhtasham/hifigan-ar-v2
hifigan-ar-v2 is a machine learning model from muhtasham. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
A standalone implementation of HiFiGAN vocoder for Arabic text-to-speech, based on the paper "HiFi-GAN: Generative Adversarial Networks for Efficient and High Fidelity Speech Synthesis" (https://arxiv.org/pdf/2010.056…
Downloads · 30 days
23
8% of all-time downloads
All-time downloads
275
Public
Repo size
3.5 GB
Likes
1
Public
Click a slice to open those files.
.ckpt55.8 MB · 100%
From the Hugging Face model README
A standalone implementation of HiFiGAN vocoder for Arabic text-to-speech, based on the paper "HiFi-GAN: Generative Adversarial Networks for Efficient and High Fidelity Speech Synthesis" (https://arxiv.org/pdf/2010.05646.pdf).
from hifigan_ar_v2 import HiFiGANArabicGenerator
import torch
# Load the model
model = HiFiGANArabicGenerator.from_pretrained("generator.ckpt", "config.json")
# Generate audio from mel spectrogram
mel = torch.rand(1, 80, 122) # Example mel spectrogram
audio = model(mel) # Shape: [1, 1, 8448]