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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

sadmN
/
moshi-base7b-rag

Moshi
speech
audio
full-duplex
retrieval-augmented-generation
personaplex
Model card Files Files and versions
xet
Community

Instructions to use sadmN/moshi-base7b-rag with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Moshi

    How to use sadmN/moshi-base7b-rag with Moshi:

    # pip install moshi
    # Run the interactive web server
    python -m moshi.server --hf-repo "sadmN/moshi-base7b-rag"
    # 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("sadmN/moshi-base7b-rag")
    
    # 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
moshi-base7b-rag
16.8 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 12 commits
sadmN's picture
sadmN
Upload ckpt/rag_base7b/step_1500/student.pt with huggingface_hub
fccbd52 verified about 23 hours ago
  • ckpt
    Upload ckpt/rag_base7b/step_1500/student.pt with huggingface_hub about 23 hours ago
  • rag_index_dense
    Upload rag_index_dense/meta.json with huggingface_hub about 23 hours ago
  • .gitattributes
    1.52 kB
    initial commit about 23 hours ago
  • README.md
    4.49 kB
    Upload README.md with huggingface_hub about 23 hours ago
  • download_assets.sh
    1.47 kB
    Upload download_assets.sh with huggingface_hub about 23 hours ago
  • moshi_base7b_server.zip
    10.4 MB
    xet
    Upload moshi_base7b_server.zip with huggingface_hub about 23 hours ago
  • requirements-server.txt
    674 Bytes
    Upload requirements-server.txt with huggingface_hub about 23 hours ago
  • serve_base7b.sh
    4.24 kB
    Upload serve_base7b.sh with huggingface_hub about 23 hours ago
  • setup_env.sh
    1.99 kB
    Upload setup_env.sh with huggingface_hub about 23 hours ago
  • tokenizer.model
    553 kB
    xet
    Upload tokenizer.model with huggingface_hub about 23 hours ago