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

Duplicated from  kyutai/moshiko-pytorch-bf16

shreeharsha
/
test

Moshi
Safetensors
English
Model card Files Files and versions
xet
Community

Instructions to use shreeharsha/test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Moshi

    How to use shreeharsha/test with Moshi:

    # pip install moshi
    # Run the interactive web server
    python -m moshi.server --hf-repo "shreeharsha/test"
    # Then open https://localhost:8998 in your browser
    # pip install moshi
    import torch
    from moshi.models import loaders
    
    # Load checkpoint info from HuggingFace
    checkpoint = loaders.CheckpointInfo.from_hf_repo("shreeharsha/test")
    
    # Load the Mimi audio codec
    mimi = checkpoint.get_mimi(device="cuda")
    mimi.set_num_codebooks(8)
    
    # Encode audio (24kHz, mono)
    wav = torch.randn(1, 1, 24000 * 10)  # [batch, channels, samples]
    with torch.no_grad():
        codes = mimi.encode(wav.cuda())
        decoded = mimi.decode(codes)
  • Notebooks
  • Google Colab
  • Kaggle
test
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
shreeharsha's picture
shreeharsha
reach-vb's picture
reach-vb
Duplicate from kyutai/moshiko-pytorch-bf16
6662f2d verified about 1 year ago
  • .gitattributes
    1.52 kB
    Duplicate from kyutai/moshiko-pytorch-bf16 about 1 year ago
  • README.md
    5.66 kB
    Duplicate from kyutai/moshiko-pytorch-bf16 about 1 year ago
  • model.safetensors
    15.4 GB
    xet
    Duplicate from kyutai/moshiko-pytorch-bf16 about 1 year ago
  • tokenizer-e351c8d8-checkpoint125.safetensors
    385 MB
    xet
    Duplicate from kyutai/moshiko-pytorch-bf16 about 1 year ago
  • tokenizer_spm_32k_3.model
    553 kB
    xet
    Duplicate from kyutai/moshiko-pytorch-bf16 about 1 year ago