Instructions to use tigerisaac/mushu-1-preview with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use tigerisaac/mushu-1-preview with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tigerisaac/mushu-1-preview", filename="mushu-1-preview-Q4_K_M-00001-of-00003.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tigerisaac/mushu-1-preview with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf tigerisaac/mushu-1-preview:Q4_K_M # Run inference directly in the terminal: llama cli -hf tigerisaac/mushu-1-preview:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf tigerisaac/mushu-1-preview:Q4_K_M # Run inference directly in the terminal: llama cli -hf tigerisaac/mushu-1-preview:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf tigerisaac/mushu-1-preview:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf tigerisaac/mushu-1-preview:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf tigerisaac/mushu-1-preview:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf tigerisaac/mushu-1-preview:Q4_K_M
Use Docker
docker model run hf.co/tigerisaac/mushu-1-preview:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use tigerisaac/mushu-1-preview with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tigerisaac/mushu-1-preview" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tigerisaac/mushu-1-preview", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/tigerisaac/mushu-1-preview:Q4_K_M
- Ollama
How to use tigerisaac/mushu-1-preview with Ollama:
ollama run hf.co/tigerisaac/mushu-1-preview:Q4_K_M
- Unsloth Studio
How to use tigerisaac/mushu-1-preview with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for tigerisaac/mushu-1-preview to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for tigerisaac/mushu-1-preview to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for tigerisaac/mushu-1-preview to start chatting
- Pi
How to use tigerisaac/mushu-1-preview with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tigerisaac/mushu-1-preview:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "tigerisaac/mushu-1-preview:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use tigerisaac/mushu-1-preview with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tigerisaac/mushu-1-preview:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default tigerisaac/mushu-1-preview:Q4_K_M
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use tigerisaac/mushu-1-preview with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tigerisaac/mushu-1-preview:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "tigerisaac/mushu-1-preview:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
- Docker Model Runner
How to use tigerisaac/mushu-1-preview with Docker Model Runner:
docker model run hf.co/tigerisaac/mushu-1-preview:Q4_K_M
- Lemonade
How to use tigerisaac/mushu-1-preview with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tigerisaac/mushu-1-preview:Q4_K_M
Run and chat with the model
lemonade run user.mushu-1-preview-Q4_K_M
List all available models
lemonade list
Mushu 1 Preview
Mushu 1 Preview is a 1.2B-parameter, Dragon-style dictation model. It turns plain speech-to-text transcripts containing spoken punctuation, layout, and capitalization commands into faithfully rendered text with no system prompt.
The model is named after Mushu, the dog pictured above.
GGUF-only preview: this repository contains the final Q4_K_M quantization, split into three llama.cpp-compatible shards. Full-precision weights, adapters, and a Safetensors checkpoint are not included.
What it does
Given a transcript as the user message, Mushu returns only the rendered dictation. It follows a classic command-driven dictation register:
- render spoken punctuation commands such as
period,comma,colon,question mark, andopen quote; - render
new lineandnew paragraphas layout; - use
capto capitalize the next dictated word; - preserve every other dictated word in the same order;
- preserve fillers, stutters, repeated words, casual forms, grammar errors, run-ons, number words, and apparent correction language;
- avoid adding punctuation, rewriting prose, formatting numbers, resolving corrections, or guessing the speaker's intent.
Mushu is a faithful dictation renderer, not a transcript-cleanup model or a general-purpose chat assistant.
Supported commands
| Spoken form | Rendered form |
|---|---|
period |
. |
comma |
, |
question mark |
? |
exclamation point, exclamation mark |
! |
colon |
: |
semicolon |
; |
hyphen |
- |
dash |
โ |
ellipsis, dot dot dot |
... |
new line, newline |
one line break |
new paragraph, next paragraph |
two line breaks |
open paren, open parenthesis |
( |
close paren, close parenthesis |
) |
open quote |
opening double quote |
close quote, unquote |
closing double quote |
cap |
capitalize the next word |
Command words remain literal when they are part of the sentence, such as โthe trial period,โ โa new line of products,โ or โthe salary cap.โ
Stateful editing and application-control commands are not supported. Phrases
such as scratch that, delete that, undo that, all caps on, and
spell that are preserved as dictated.
Quick start
This preview is distributed only as a pre-quantized GGUF for llama.cpp. Point llama.cpp at the first shard; it discovers the remaining shards automatically.
llama-server -m mushu-1-preview-Q4_K_M-00001-of-00003.gguf \
--host 127.0.0.1 --port 8080 \
--ctx-size 2048 --parallel 1 --reasoning off
Send the raw transcript as the only user message, with no system message:
curl http://127.0.0.1:8080/v1/chat/completions \
-H 'Content-Type: application/json' \
-d '{
"model": "mushu-1-preview",
"temperature": 0,
"messages": [
{
"role": "user",
"content": "bring three things colon bread comma milk comma and tea period"
}
]
}'
Expected assistant content:
Bring three things: bread, milk, and tea.
Input boundary
Mushu was trained for an application pipeline that removes automatic STT periods, commas, colons, semicolons, and sentence dashes before inference. Their absence is intentional: Mushu adds these marks only when the speaker dictates a supported command.
For behavior closest to training, apply the same preprocessing and pass plain transcript text through the model's embedded chat template. Existing question marks and exclamation marks may be preserved, but automatic punctuation from an ASR system can otherwise blur the command-driven contract.
Do not add a system prompt. Use deterministic decoding and preserve leading and trailing whitespace if terminal line-break commands matter to your integration.
Training
- Base model:
LiquidAI/LFM2.5-1.2B-Instruct - Method: supervised fine-tuning with Unsloth
- Training format: one raw transcript user message followed by one rendered assistant response; no system message
- Corpus: 20,591 command-grounded dictation pairs, assembled into 19,561 training and 1,030 validation examples
- Label target: faithful US English Dragon-style dictation rendering
- Published artifact: final checkpoint 1224 as a three-shard Q4_K_M GGUF only
The labels are deterministic renderings of declared commands. The corpus covers punctuation, layout, capitalization, command-versus-literal disambiguation, repeated commands, unsupported-command preservation, and ordinary dictated text that must not be rewritten.
Limitations
- English and the supported US command vocabulary were the training target.
capcan damage rare, tokenizer-hostile, or internally capitalized names.- Some ambiguous command words can be misclassified; in particular, literal
uses of
colonmay be rendered as punctuation. - Long letter-by-letter sequences joined with repeated
hyphencommands can lose or substitute characters. - The model may occasionally act on an unsupported command-like phrase.
- This is a preview release of one lossy quantization. Behavior may differ from the unavailable full-precision checkpoint.
Review outputs before using the model for names, identifiers, medical text, or other exact-copy-sensitive dictation.
License
This fine-tune is derived from LiquidAI/LFM2.5-1.2B-Instruct and is released
under the applicable upstream model terms. Review the
base model repository
before use or redistribution.
Acknowledgments
Built with Liquid AI's LFM2.5 base model and Unsloth. Named for Mushu, who provided supervision of the non-gradient variety.
- Downloads last month
- 8
4-bit
Model tree for tigerisaac/mushu-1-preview
Base model
LiquidAI/LFM2.5-1.2B-Base