Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Quantumhash
/
Qhash-v0.1-hybrid

Text-to-Speech
Zonos
Safetensors
Model card Files Files and versions
xet
Community

Instructions to use Quantumhash/Qhash-v0.1-hybrid with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Zonos

    How to use Quantumhash/Qhash-v0.1-hybrid with Zonos:

    # pip install git+https://github.com/Zyphra/Zonos.git
    import torchaudio
    from zonos.model import Zonos
    from zonos.conditioning import make_cond_dict
    
    model = Zonos.from_pretrained("Quantumhash/Qhash-v0.1-hybrid", device="cuda")
    
    wav, sr = torchaudio.load("speaker.wav")           # 5-10s reference clip
    speaker = model.make_speaker_embedding(wav, sr)
    
    cond  = make_cond_dict(text="Hello, world!", speaker=speaker, language="en-us")
    codes = model.generate(model.prepare_conditioning(cond))
    
    audio = model.autoencoder.decode(codes)[0].cpu()
    torchaudio.save("sample.wav", audio, model.autoencoder.sampling_rate)
    
  • Notebooks
  • Google Colab
  • Kaggle
Qhash-v0.1-hybrid
3.3 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 11 commits
sbapan41's picture
sbapan41
Update README.md
4eef568 verified 12 months ago
  • .gitattributes
    54 Bytes
    Upload model.safetensors about 1 year ago
  • README.md
    4.96 kB
    Update README.md 12 months ago
  • config.json
    3.2 kB
    Upload 3 files about 1 year ago
  • gitattributes
    1.52 kB
    Upload 3 files about 1 year ago
  • model.safetensors
    3.3 GB
    xet
    Upload model.safetensors about 1 year ago