Instructions to use ngxson/Home-Cook-Mistral-Small-Omni-24B-2507-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use ngxson/Home-Cook-Mistral-Small-Omni-24B-2507-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="ngxson/Home-Cook-Mistral-Small-Omni-24B-2507-GGUF", filename="Home-Cook-Mistral-Small-Omni-2507-Q4_K_M.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use ngxson/Home-Cook-Mistral-Small-Omni-24B-2507-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf ngxson/Home-Cook-Mistral-Small-Omni-24B-2507-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf ngxson/Home-Cook-Mistral-Small-Omni-24B-2507-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf ngxson/Home-Cook-Mistral-Small-Omni-24B-2507-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf ngxson/Home-Cook-Mistral-Small-Omni-24B-2507-GGUF: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 ngxson/Home-Cook-Mistral-Small-Omni-24B-2507-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf ngxson/Home-Cook-Mistral-Small-Omni-24B-2507-GGUF: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 ngxson/Home-Cook-Mistral-Small-Omni-24B-2507-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf ngxson/Home-Cook-Mistral-Small-Omni-24B-2507-GGUF:Q4_K_M
Use Docker
docker model run hf.co/ngxson/Home-Cook-Mistral-Small-Omni-24B-2507-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use ngxson/Home-Cook-Mistral-Small-Omni-24B-2507-GGUF with Ollama:
ollama run hf.co/ngxson/Home-Cook-Mistral-Small-Omni-24B-2507-GGUF:Q4_K_M
- Unsloth Studio
How to use ngxson/Home-Cook-Mistral-Small-Omni-24B-2507-GGUF 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 ngxson/Home-Cook-Mistral-Small-Omni-24B-2507-GGUF 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 ngxson/Home-Cook-Mistral-Small-Omni-24B-2507-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for ngxson/Home-Cook-Mistral-Small-Omni-24B-2507-GGUF to start chatting
- Pi
How to use ngxson/Home-Cook-Mistral-Small-Omni-24B-2507-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf ngxson/Home-Cook-Mistral-Small-Omni-24B-2507-GGUF: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": "ngxson/Home-Cook-Mistral-Small-Omni-24B-2507-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use ngxson/Home-Cook-Mistral-Small-Omni-24B-2507-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf ngxson/Home-Cook-Mistral-Small-Omni-24B-2507-GGUF: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 ngxson/Home-Cook-Mistral-Small-Omni-24B-2507-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat new
- Docker Model Runner
How to use ngxson/Home-Cook-Mistral-Small-Omni-24B-2507-GGUF with Docker Model Runner:
docker model run hf.co/ngxson/Home-Cook-Mistral-Small-Omni-24B-2507-GGUF:Q4_K_M
- Lemonade
How to use ngxson/Home-Cook-Mistral-Small-Omni-24B-2507-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ngxson/Home-Cook-Mistral-Small-Omni-24B-2507-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Home-Cook-Mistral-Small-Omni-24B-2507-GGUF-Q4_K_M
List all available models
lemonade list
Home-cooked Mistral Small Omni
This is a multimodal model created by merging Mistral Small 2506 (with vision capabilities) and Voxtral 2507 (with audio capabilities) using a modified version of the mergekit tool.
For detailed merging instructions, refer to the sections below.
License and Attribution
This model is a merged derivative work combining Mistral Small 2506 and Voxtral 2507, both originally released by Mistral AI under the Apache 2.0 license. The merged model is also distributed under the Apache 2.0 license, and the full license text, along with original copyright notices, is included in this repository. I have no affiliation, sponsorship, or formal relationship with Mistral AI. This project is an independent effort to combine the vision and audio capabilities of the two models.
Steps to reproduce
Merge text model
Install mergekit from this version: https://github.com/arcee-ai/mergekit/tree/0027c5c51471fa891d438eccda5455ebe55b536e
Modify the mergekit source code, open file mergekit/merge_methods/generalized_task_arithmetic.py
# Normalize the vectors to get the directions and angles
v0 = normalize(v0, eps)
v1 = normalize(v1, eps)
if v0.shape != v1.shape: # ADD THIS
res = np.array([0.0]) # ADD THIS
return maybe_torch(res, is_torch) # ADD THIS
# Dot product with the normalized vectors (can't use np.dot in W)
dot = np.sum(v0 * v1)
# If absolute value of dot product is almost 1, vectors are ~colinear, so use lerp
if np.abs(dot) > DOT_THRESHOLD:
res = lerp(t, v0_copy, v1_copy)
return maybe_torch(res, is_torch)
Prepare YAML file for merging config:
name: mistral-omni
merge_method: slerp
models:
- model: ../models/Voxtral-Small-24B-2507
- model: ../models/Mistral-Small-3.2-24B-Instruct-2506
base_model: ../models/Mistral-Small-3.2-24B-Instruct-2506
parameters:
t:
- filter: self_attn
value: [0.1, 0.3, 0.5, 0.3, 0.1, 0]
- filter: mlp
value: [0.1, 0.3, 0.5, 0.3, 0.1, 0]
- value: 0.5 # fallback for rest of tensors
dtype: bfloat16
Merge it:
mergekit-yaml mistral_o.yaml ../models/mistral_o
Go to the mistral_o output directory, then download tekken.json from Voxtral and place it there: https://huggingface.co/mistralai/Voxtral-Small-24B-2507/blob/main/tekken.json
Finally, use convert_hf_to_gguf.py to convert it back to GGUF as usual
Merge mmproj models
Download these mmproj files:
- Audio: https://huggingface.co/ggml-org/Voxtral-Mini-3B-2507-GGUF/blob/main/mmproj-Voxtral-Mini-3B-2507-Q8_0.gguf
- Vision: https://huggingface.co/unsloth/Mistral-Small-3.2-24B-Instruct-2506-GGUF/blob/main/mmproj-F16.gguf
Rename them to audio.ggufand vision.gguf respectively
Then run merge_mmproj_models.py from this repo. The output file will be mmproj-model.gguf
- Downloads last month
- 250
4-bit
16-bit
Model tree for ngxson/Home-Cook-Mistral-Small-Omni-24B-2507-GGUF
Base model
mistralai/Mistral-Small-3.1-24B-Base-2503