Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

kyutai
/
stt-2.6b-en

Automatic Speech Recognition
Moshi
Safetensors
English
stt
audio
Eval Results
Model card Files Files and versions
xet
Community
7

Instructions to use kyutai/stt-2.6b-en with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Moshi

    How to use kyutai/stt-2.6b-en with Moshi:

    # pip install moshi
    # Run the interactive web server
    python -m moshi.server --hf-repo "kyutai/stt-2.6b-en"
    # 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("kyutai/stt-2.6b-en")
    
    # 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
stt-2.6b-en
11.5 GB
Ctrl+K
Ctrl+K
  • 5 contributors
History: 11 commits
nielsr's picture
nielsr HF Staff
Update library name
800d7ac verified over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    5.74 kB
    Update library name over 1 year ago
  • config.json
    3.23 kB
    transformers-integration (#2) over 1 year ago
  • generation_config.json
    237 Bytes
    transformers-integration (#2) over 1 year ago
  • mimi-pytorch-e351c8d8@125.safetensors
    385 MB
    xet
    rename Mimi model (why do we use @ in the name) over 1 year ago
  • model.safetensors
    5.23 GB
    xet
    Upload 2 files over 1 year ago
  • preprocessor_config.json
    366 Bytes
    transformers-integration (#2) over 1 year ago
  • special_tokens_map.json
    27 Bytes
    transformers-integration (#2) over 1 year ago
  • tokenizer.json
    245 kB
    transformers-integration (#2) over 1 year ago
  • tokenizer_config.json
    1.12 kB
    transformers-integration (#2) over 1 year ago
  • tokenizer_en_audio_4000.model
    59.3 kB
    xet
    Initial model upload over 1 year ago
  • transformers-00001-of-00002.safetensors
    4.37 GB
    xet
    transformers-integration (#2) over 1 year ago
  • transformers-00002-of-00002.safetensors
    1.55 GB
    xet
    transformers-integration (#2) over 1 year ago
  • transformers.safetensors.index.json
    76.8 kB
    transformers-integration (#2) over 1 year ago