How to use from
SGLang
Install from pip and serve model
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
    --model-path "spidyun/kmoshi" \
    --host 0.0.0.0 \
    --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "spidyun/kmoshi",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Use Docker images
docker run --gpus all \
    --shm-size 32g \
    -p 30000:30000 \
    -v ~/.cache/huggingface:/root/.cache/huggingface \
    --env "HF_TOKEN=<secret>" \
    --ipc=host \
    lmsysorg/sglang:latest \
    python3 -m sglang.launch_server \
        --model-path "spidyun/kmoshi" \
        --host 0.0.0.0 \
        --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "spidyun/kmoshi",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

KMoshi (init)

An assembled checkpoint that couples the Qwen3-8B temporal backbone (Korean-capable text LLM) with the PersonaPlex audio stack (Mimi codec, depth decoder with dep_q=16, and 16 audio input embeddings), toward a Korean full-duplex spoken dialogue model.

Status: before coupling training. The backbone was swapped from Helium to Qwen3-8B, so the audio stack is not yet aligned with it — audio output is expected to be noise. The text stream is already fluent (evidence that the backbone transplant is numerically correct). Background and assembly code: https://github.com/un1876/k-moshi

Usage

# pip install "git+https://github.com/un1876/k-moshi.git@main"  (not in upstream transformers)
from transformers.models.kmoshi.modeling_kmoshi import KmoshiForConditionalGeneration
model = KmoshiForConditionalGeneration.from_pretrained("spidyun/kmoshi")

Attribution / Licenses

  • Backbone weights: Qwen/Qwen3-8B — Apache-2.0
  • Audio stack (Mimi codec, depth decoder, audio input embeddings): nvidia/personaplex-7b-v1 — NVIDIA Open Model License (+ CC-BY-4.0). See LICENSE / Notice in this repository.
  • The Mimi codec is byte-identical to stock Moshi (kyutai, CC-BY-4.0).
  • depth_decoder.text_embed_tokens is re-initialized for the new tokenizer vocab (151936) and belongs to the coupling-training stage.
Downloads last month
45
Safetensors
Model size
10B params
Tensor type
F32
·
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for spidyun/kmoshi

Merge model
this model
MiniMax H3 Video Generator 20 free credits · Text & image to video Try Free →