AI SeedbankHelp preserve open and free AI for humanity's future

← All models

moonshotai_Kimi-Audio-7B-Instruct

moonshotai · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: · Leechers:

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.


license: mit language:

  • en
  • zh tags:
  • audio
  • audio-language-model
  • speech-recognition
  • audio-understanding
  • text-to-speech
  • audio-generation
  • chat library_name: kimi-audio

Kimi-Audio

🤗 Kimi-Audio-7B  | 🤗 Kimi-Audio-7B-Instruct   | 📑 Paper

Introduction

We present Kimi-Audio, an open-source audio foundation model excelling in audio understanding, generation, and conversation. This repository hosts the model checkpoints for Kimi-Audio-7B-Instruct.

Kimi-Audio is designed as a universal audio foundation model capable of handling a wide variety of audio processing tasks within a single unified framework. Key features include:

  • Universal Capabilities: Handles diverse tasks like speech recognition (ASR), audio question answering (AQA), audio captioning (AAC), speech emotion recognition (SER), sound event/scene classification (SEC/ASC) and end-to-end speech conversation.
  • State-of-the-Art Performance: Achieves SOTA results on numerous audio benchmarks (see our Technical Report).
  • Large-Scale Pre-training: Pre-trained on over 13 million hours of diverse audio data (speech, music, sounds) and text data.
  • Novel Architecture: Employs a hybrid audio input (continuous acoustic + discrete semantic tokens) and an LLM core with parallel heads for text and audio token generation.
  • Efficient Inference: Features a chunk-wise streaming detokenizer based on flow matching for low-latency audio generation.

For more details, please refer to our GitHub Repository and Technical Report.

Requirements

We recommend that you build a Docker image to run the inference. After cloning the inference code, you can construct the image using the docker build command.

git clone https://github.com/MoonshotAI/Kimi-Audio
git submodule update --init
cd Kimi-Audio
docker build -t kimi-audio:v0.1 .

Alternatively, You can also use our pre-built image:

docker pull moonshotai/kimi-audio:v0.1

Or, you can install requirments by:

pip install -r requirements.txt

You may refer to the Dockerfile in case of any environment issues.

Quickstart

This example demonstrates basic usage for generating text from audio (ASR) and generating both text and speech in a conversational turn using the Kimi-Audio-7B-Instruct model.

import soundfile as sf
# Assuming the KimiAudio class is available after installation
from kimia_infer.api.kimia import KimiAudio
import torch # Ensure torch is imported if needed for device placement

# --- 1. Load Model ---
# Load the model from Hugging Face Hub
# Make sure you are logged in (`huggingface-cli login`) if the repo is private.
model_id = "moonshotai/Kimi-Audio-7B-Instruct" # Or "Kimi/Kimi-Audio-7B"
device = "cuda" if torch.cuda.is_available() else "cpu" # Example device placement
# Note: The KimiAudio class might handle model loading differently.
# You might need to pass the model_id directly or download checkpoints manually
# and provide the local path as shown in the original readme_kimia.md.
# Please refer to the main Kimi-Audio repository for precise loading instructions.
# Example assuming KimiAudio takes the HF ID or a local path:
try:
    model = KimiAudio(model_path=model_id, load_detokenizer=True) # May need device argument
    model.to(device) # Example device placement
except Exception as e:
    print(f"Automatic loading from HF Hub might require specific setup.")
    print(f"Refer to Kimi-Audio docs. Trying local path example (update path!). Error: {e}")
    # Fallback example:
    # model_path = "/path/to/your/downloaded/kimia-hf-ckpt" # IMPORTANT: Update this path if loading locally
    # model = KimiAudio(model_path=model_path, load_detokenizer=True)
    # model.to(device) # Example device placement

# --- 2. Define Sampling Parameters ---
sampling_params = {
    "audio_temperature": 0.8,
    "audio_top_k": 10,
    "text_temperature": 0.0,
    "text_top_k": 5,
    "audio_repetition_penalty": 1.0,
    "audio_repetition_window_size": 64,
    "text_repetition_penalty": 1.0,
    "text_repetition_window_size": 16,
}

# --- 3. Example 1: Audio-to-Text (ASR) ---
# TODO: Provide actual example audio files or URLs accessible to users
# E.g., download sample files first or use URLs
# wget https://path/to/your/asr_example.wav -O asr_example.wav
# wget https://path/to/your/qa_example.wav -O qa_example.wav
asr_audio_path = "asr_example.wav" # IMPORTANT: Make sure this file exists
qa_audio_path = "qa_example.wav" # IMPORTANT: Make sure this file exists

messages_asr = [
    {"role": "user", "message_type": "text", "content": "Please transcribe the following audio:"},
    {"role": "user", "message_type": "audio", "content": asr_audio_path}
]

# Generate only text output
# Note: Ensure the model object and generate method accept device placement if needed
_, text_output = model.generate(messages_asr, **sampling_params, output_type="text")
print(">>> ASR Output Text: ", text_output)
# Expected output: "这并不是告别,这是一个篇章的结束,也是新篇章的开始。" (Example)

# --- 4. Example 2: Audio-to-Audio/Text Conversation ---
messages_conversation = [
    {"role": "user", "message_type": "audio", "content": qa_audio_path}
]

# Generate both audio and text output
wav_output, text_output = model.generate(messages_conversation, **sampling_params, output_type="both")

# Save the generated audio
output_audio_path = "output_audio.wav"
# Ensure wav_output is on CPU and flattened before saving
sf.write(output_audio_path, wav_output.detach().cpu().view(-1).numpy(), 24000) # Assuming 24kHz output
print(f">>> Conversational Output Audio saved to: {output_audio_path}")
print(">>> Conversational Output Text: ", text_output)
# Expected output: "A." (Example)

print("Kimi-Audio inference examples complete.")

Citation

If you find Kimi-Audio useful in your research or applications, please cite our technical report:

@misc{kimi_audio_2024,
      title={Kimi-Audio Technical Report},
      author={Kimi Team},
      year={2024},
      eprint={arXiv:placeholder},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
}

License

The model is based and modified from Qwen 2.5-7B. Code derived from Qwen2.5-7B is licensed under the Apache 2.0 License. Other parts of the code are licensed under the MIT License.

Magnet link

Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:

magnet:?xt=urn:btih:54c3d35315e7cd5144eb12e1b7fd9c4095409370&dn=moonshotai_Kimi-Audio-7B-Instruct

Open magnet in torrent client · infohash 54c3d35315e7cd5144eb12e1b7fd9c4095409370

Files & hashes

PathSizesha1sha256
README.md7.0 KB (7,175 B)cb6b4c08b53ea9d58ac5640ffe0183fb412c82f4a656e304cf2e8203609af0d97b159fab3be2815c59cb159d7cdca2b813c8dae5
audio_detokenizer/config.yaml2.5 KB (2,608 B)a0d010ab640db1be928fff9a74106d532c45d8f0f5f8a68d132c100d330c47a633aa395f48b8a6b2543e255a6ec19f2eedd051eb
audio_detokenizer/model.pt17.70 GB (19,008,505,142 B)c9b6452c32d8ef9d5c1f5b334424c426a66de8cbcdeeec41e629565439cd8ef807c8a014ad6ce052cce0c259c7bfe3fe6ada3f51
config.json1.2 KB (1,239 B)f179474b57174a702ddbd95141e52540c7b09783515a352843ad45896514ecf707b0983fa39bd3ee2c32bd88cc4fa98a50516ba1
configuration_moonshot_kimia.py2.4 KB (2,484 B)7541baac0bccf84157aea00e3c13615491955b3647074a01d4ffc36d78844ba3de4ff3abceec1e28f4d34e7c5daee5567dfa3285
generation_config.json24 B (24 B)72006f8ac7d290b60316aadcf6401f7231faca63340efd0f40b4ab6322b9d11508020887d70548bd7d5decccb2a2042a988bd7b4
model-1-of-35.safetensors444.5 MB (466,117,192 B)667c28ca61b059d849fe295a3f3f0420676ff2d7462878caab2cc405a9665569e9c4a72191b070f73df5530f6e9c419108a24fe2
model-10-of-35.safetensors444.5 MB (466,117,192 B)7e54e08c1294558eed8bbfc2ae664932bece2f8a835a9fe443d1118f5ff46d1d35814e6080ff2a9ed578654887638ee853f47ae2
model-11-of-35.safetensors444.5 MB (466,117,208 B)ba76dcebf58137946c899a19f9a52631c0ba6a6a6c9de9a823c1b63a4813b4e1d0f6d9c522382981f1889f9423aa077cc91a8f0f
model-12-of-35.safetensors444.5 MB (466,117,208 B)0c015e040efbed902e406d564ad8b3e0710f3b234e38dd5adcf335dfe2da28613ab0098570ae9f5fb0f0d137720b5b2458d68d45
model-13-of-35.safetensors444.5 MB (466,117,208 B)77c5692bcbf073b0d05a36b1abc255da78aab7a2895e02180f74fd811874d200229a549344e6a84a12943aa78d7bf03c3ffb6140
model-14-of-35.safetensors444.5 MB (466,117,208 B)20e8a64ab7c3ba1a764a50a7d025e90ea068f6fbe6ebf2a6d19063146565f0e6f7de3bc810a4565a8a24693c85119969b99e2542
model-15-of-35.safetensors444.5 MB (466,117,208 B)f733e7a44d40ab634ff13803a34968b6db39f65276c3fb75b201ccbbfc1f9b909b75924445efe3e09199ac6d13db0857356975fa
model-16-of-35.safetensors444.5 MB (466,117,208 B)9a8a69404d10a6cc46767daadc4932948d6a89fb9af4933a1ef591f45d2e61fd7cc5b4e00969e59339a74a10a625de85ccb26362
model-17-of-35.safetensors444.5 MB (466,117,208 B)d14613d6a83286554a088aeddf4dc972c0b0adb739545d953a1db3ffb63f981e57c2f7d4fd178131c515c58955ece020be96241d
model-18-of-35.safetensors444.5 MB (466,117,208 B)35b25f4e6b36af29d23fe01e82dd0f305d3b3731a782c5c67a08571730bbebdb8928dfad48cf8342c38bbe98c6bfa7329edcf7bd
model-19-of-35.safetensors444.5 MB (466,117,208 B)bffe0b7478bdc40f8df13e91fe8c1b2c7b1d124251e850d87b4ece3566404d66c1e27d474549a160b6bc216607bd11fc336e25ee
model-2-of-35.safetensors444.5 MB (466,117,192 B)451073eca54b4ca4a4a9a12e911503044d9bd21ec20fafb1f647f47084f81095ffcf2c85a55af0665c5b1caa1fb5c0504ee92433
model-20-of-35.safetensors444.5 MB (466,117,208 B)1d504f1666f95fd5d3bce7684318bd86bc5e0d69434af95fd5e5a9e38dfe37c2123de7e55e8676c45ecc3f11ab94c0984588ab40
model-21-of-35.safetensors444.5 MB (466,117,208 B)a49c5f1eed65ea13eabd0afa89de005fd772e9044f1dd7e0d633053d61bdd14f1ff96f3dc27e7e4ee66c707ce4ff4f4bb1490040
model-22-of-35.safetensors444.5 MB (466,117,208 B)1ba4c981c55363b58f54e1b25c8ef8016401c3201e8e22a53c90fd6b68df56de41519c6bce4e0c3df0d75262121c0f0cdfabedf8
model-23-of-35.safetensors444.5 MB (466,117,208 B)d6faae5e1a33fa011d507cecbf3c01f0ca603503f52cf116ea9183f84678aae29bef762e945f0a11b043385e34d150cb4e0930ee
model-24-of-35.safetensors444.5 MB (466,117,208 B)167621a40831fa6d7a0df2d701b42836e96821fd17c2348936c30f4715c6ac406d88d3fcd2ede9b860051b0e43357398b6b2c392
model-25-of-35.safetensors444.5 MB (466,117,208 B)6faf250f22a4e617cafd57c479663d58bbe69b707f0f0d3852637374b66bd250abab868a48ca4120d01e70acff617ce751e2f9ce
model-26-of-35.safetensors444.5 MB (466,117,208 B)0bb5005e4f5fb9c90e353b7fef1fe04ef9c96241ec675c4b2590c0f3b6bdfcd3afa5292f08c3723f84d816eb30ad85143b47f704
model-27-of-35.safetensors444.5 MB (466,117,208 B)83c2a7fadb0d4f706c1e1477a846bcf8c485882395c4714d295631d3562b25c5168a6551a92450a4c63bb9592eadde18347e2a3c
model-28-of-35.safetensors444.5 MB (466,117,208 B)f69474947100801c82ec6cf96640648e1f8db798d7c53162402f1a258fc1863a5857bc006b84f934719e6350cab328d5190d1800
model-29-of-35.safetensors444.5 MB (466,117,264 B)a8f751cb8d52e6be162546096d775a272056773a02c5b5edc547ab8ff6ac83fec6f10a018ce111cc1ce6f6e3ced4db432b60903f
model-3-of-35.safetensors444.5 MB (466,117,192 B)7f3a634afa46c8c0bfd07c7348af206266043d29d11bd527d217b86951248ba3506205b47fdd05ef8afedbd088733b2cff236553
model-30-of-35.safetensors444.5 MB (466,117,264 B)2a09565aecc05a8e3b5a35b8ebcb76e3d277c5f6f7132a11e4e890532c9e4c30cfaf55904f2f6fcf79b74552e3903ec8f4fe38c1
model-31-of-35.safetensors444.5 MB (466,117,264 B)e24d44c2a594c4bc9b6c31fc133c0d897a9deb66a836b2ad72a98873872bc7cbfda0ac0811d565dc4303212c0684abfaf83fb50f
model-32-of-35.safetensors444.5 MB (466,117,264 B)990aff822bc8eab0704dcf7d8578a685cd347d9ccd088c37a69da02d73a779caa447f82fb8dc3ad04a1d1590704395f7043737ee
model-33-of-35.safetensors444.5 MB (466,117,264 B)995a7c5be3b52da81d5d1eab6e81a6e9087a4e3c9e7ab0dbed449d1ba7ed1f2582e279af6585c505158b1af66a7a77521677b70a
model-34-of-35.safetensors444.5 MB (466,117,264 B)1927d3aaf0a3df4b2a0b872e6348030b5a9cdac146b117a2fe7dd2c2eb3d2c6fb367bc3813a2d3b2a01bd330d983c52112a32ffd
model-35-of-35.safetensors59.5 MB (62,419,592 B)e1955fe61becc5de2a1ac244b81896519655f64a7dbbe9894d818f2751c32a36fe6db1f7e5d0f7d94e9752ee2ba81535ec777e33
model-36-of-36.safetensors3.37 GB (3,622,320,648 B)da3e58d2830f8c0c7e556cdeb014fa5f0be4a60ba25c2286a3373471ab4687f3908327ea15e29a909f9cc69eb642b1b47643a2df
model-4-of-35.safetensors444.5 MB (466,117,192 B)34f59392bbae3b07ad8037370decbfde8d5170239d5fe7491bac40d3b5c5eec23ba449f15e3248d12bdf582881fc65dafebe5a7a
model-5-of-35.safetensors444.5 MB (466,117,192 B)956108269e39d1f4bda20af4f47b821790c156b9193972da11808be8be48b74f439c5cd0567d825c84505565d30e208bf3dff0ed
model-6-of-35.safetensors444.5 MB (466,117,192 B)1c1202747aedd550a58c9e7ec2eaf72b6926eddb6aabe4e1e987bfc7ecc46933ae4a5f37c6e262411c1d86c663709abe633f3756
model-7-of-35.safetensors444.5 MB (466,117,192 B)2aaf0f68dd7a95e8cbd1957614b6e698b2acfd27a0fd3c96b26299dd056c849d969f54f1f89fca3ab480f7afdb57edf437497f48
model-8-of-35.safetensors444.5 MB (466,117,192 B)864dff2c91039244d91ceaffbd24a777e185466654f14bd698a405430c529895e167d39827e349a48181544e7e12ff41637f28e8
model-9-of-35.safetensors444.5 MB (466,117,192 B)09ccf76c2551b39984115dbb985805fe259bc8c4fb0dc503bf96d67cf5ebb87bd9d899874e2cda9f0c828786e84f60e8c22cbbfc
model.safetensors.index.json33.9 KB (34,738 B)af1a1185c1feec7a91a32de54acb9ea5c02592aed570eb4b9c29e3b5791b026e4798448ded0ddbdafab7f746dd326a895ba02c3a
modeling_moonshot_kimia.py34.5 KB (35,306 B)a642317281405a2196873897d92e281138e242f927981bc23ef2e7c383ab4af4c125b270ce1fad5391b2cd3a83f844c1008882e6
special_tokens_map.json13.1 KB (13,393 B)605a6b4186f0bcfe2ce9250bf669e4304bfee1d46efecebf76a4b1add9ae1b6af09c951b13adaeba8ea3e71427c01ed14ffbf96e
tiktoken.model2.4 MB (2,561,218 B)f37b7489d579eefc95fe41c1921efced27d82d3cb2b1b8dfb5cc5f024bafc373121c6aba3f66f9a5a0269e243470a1de16a33186
tokenization_kimia.py11.0 KB (11,251 B)7f697d3d7e3c31a38171f1ca5af9b62754ddbfac380c58ac41a42083bec5f348bfce3d0076be9ed5dfa560c892a425807bc2620d
tokenizer_config.json110.0 KB (112,634 B)dd1b2bf21d02b11952d7b716746b4b392d48a7a9c6c2717a80021d86a364736e4112dc15a67b86ab03ff6c3de0a6d8fc86839233
vocoder/config.json1.4 KB (1,402 B)9b06f37e6ea9d41ee94820d48bb71bdf0f46d8adfedcfff2ba90ae57b9beec279d57d5af7d502df7fd555cea66451052b9b40507
vocoder/model.pt920.2 MB (964,918,850 B)6a207af5c58045e166dd65e7cde1a9c82695b192a043a75ae865a9f3264500966a2622399e6b29cf362f4e2134adaefd4ba1252c
whisper-large-v3/README.md21.3 KB (21,829 B)f98e6afab120b2c8cc504933527659c5adcc6d30b05416eb578e9fc65ce137f3401bafdf3bc2feac7448e7dd180dcd367b8cfb52
whisper-large-v3/added_tokens.json33.8 KB (34,648 B)1b33526d33aaa60d79f78ae8651dae50b730185a3c51f66c4c21f9e126970078f11ae77a78c74aee8df606ee9daba86e467108e0
whisper-large-v3/config.json1.2 KB (1,272 B)14c6c8cf48b64ebb1cb8b637e2b0fab3a9774972ad0e8d1e46f4d01f7861a21509e5d0f977d6cc1f367a370603c92541d819807b
whisper-large-v3/generation_config.json3.8 KB (3,903 B)f3294dfe3654ac4e362570867369ec48104af59ffbdfa70135de9b1d31553393f14e80aaeb1936ea36576b2ba864055943c09d23
whisper-large-v3/merges.txt482.3 KB (493,869 B)6038932a2a1f09a66991b1c2adae0d14066fa29e2df2990a395e35e8dfbc7511e08c12d56018d8d04691e0133e5d63b21e154dc6
whisper-large-v3/model.safetensors2.88 GB (3,087,131,376 B)0488606b6bb421376b8790ae69cf6b7be454a7d9d677ab655d1916439c5868c819a0e48cdac574defab83c69b0bbc2b7b31a9f06
whisper-large-v3/normalizer.json51.4 KB (52,666 B)dd6ae819ad738ac1a546e9f9282ef325c33b9ea0bf1c507dc8724ca9cf9903640dacfb69dae2f00edee4f21ceba106a7392f26dd
whisper-large-v3/preprocessor_config.json340 B (340 B)931c77a740890c46365c7ae0c9d350ba3cca908f7ccc62c6f2765af1f3b46c00c9b5894426835a05021c8b9c01eecb6dfb542711
whisper-large-v3/special_tokens_map.json2.0 KB (2,072 B)3c18e97162d572f2b1d62e7e1c7b805f1be11dbe1c70773c078cb2ca96e0fcff113102f1d3e2b1504272c3bb63b035d4a6700d87
whisper-large-v3/tokenizer.json2.4 MB (2,480,617 B)3a5e2ba63acdcac9a19ba56cf9bd27f185bfff616d8cbd7cd0d8d5815e478dac67b85a26bbe77c1f5e0c6d76d1ce2abc0e5f21ca
whisper-large-v3/tokenizer_config.json276.2 KB (282,843 B)06ffdc8308eae6bb7bd1fdd81e94b0a881a539ab844b642c73a91359722f47b35705f7174686df33d252695d8572cf9ac03a6389
whisper-large-v3/vocab.json1012.3 KB (1,036,558 B)0f3456460629e21d559c6daa23ab6ce3644e8271e2aa043ef015641d363d8288e7c241c85e36a5c761fb303598e0710233344387

Cite this release

Canonical URL
https://aiseedbank.org/models/moonshotai_Kimi-Audio-7B-Instruct/
Slug
moonshotai_Kimi-Audio-7B-Instruct
Infohash
54c3d35315e7cd5144eb12e1b7fd9c4095409370
License
mit
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: moonshotai_Kimi-Audio-7B-Instruct.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositorymoonshotai/Kimi-Audio-7B-Instruct
Revision (pinned)9a82a84c37ad9eb1307fb6ed8d7b397862ef9e6b
Fetched at2026-09-04T02:54:13Z
License at fetchmit
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-04T03:02:16Z

mit39.67 GB (42,600,474,945 bytes)kimi-audiosafetensorsaudioaudio-language-modelspeech-recognitionaudio-understandingtext-to-speechaudio-generationchatcustom_code2 languages (en, zh)