Instructions to use Undi95/Mistral-11B-OmniMix-bf16-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use Undi95/Mistral-11B-OmniMix-bf16-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="Undi95/Mistral-11B-OmniMix-bf16-GGUF", filename="Mistral-11B-OmniMix-bf16.q4_k_m.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use Undi95/Mistral-11B-OmniMix-bf16-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Undi95/Mistral-11B-OmniMix-bf16-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf Undi95/Mistral-11B-OmniMix-bf16-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 Undi95/Mistral-11B-OmniMix-bf16-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf Undi95/Mistral-11B-OmniMix-bf16-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 Undi95/Mistral-11B-OmniMix-bf16-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf Undi95/Mistral-11B-OmniMix-bf16-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 Undi95/Mistral-11B-OmniMix-bf16-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf Undi95/Mistral-11B-OmniMix-bf16-GGUF:Q4_K_M
Use Docker
docker model run hf.co/Undi95/Mistral-11B-OmniMix-bf16-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use Undi95/Mistral-11B-OmniMix-bf16-GGUF with Ollama:
ollama run hf.co/Undi95/Mistral-11B-OmniMix-bf16-GGUF:Q4_K_M
- Unsloth Studio new
How to use Undi95/Mistral-11B-OmniMix-bf16-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 Undi95/Mistral-11B-OmniMix-bf16-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 Undi95/Mistral-11B-OmniMix-bf16-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Undi95/Mistral-11B-OmniMix-bf16-GGUF to start chatting
- Docker Model Runner
How to use Undi95/Mistral-11B-OmniMix-bf16-GGUF with Docker Model Runner:
docker model run hf.co/Undi95/Mistral-11B-OmniMix-bf16-GGUF:Q4_K_M
- Lemonade
How to use Undi95/Mistral-11B-OmniMix-bf16-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Undi95/Mistral-11B-OmniMix-bf16-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Mistral-11B-OmniMix-bf16-GGUF-Q4_K_M
List all available models
lemonade list
This model should be fixed, it was MEANT to be BF16.
Don't mind this one at the moment, I need to finetune it for RP, it's just a test.
Description
This repo contains quantized files of Mistral-11B-OmniMix-bf16.
My goal for this model was only to make it score the highest possible with merge and layer toying, proving that:
- Benchmark are objective
- You should try a model yourself and don't go blindly to the highest rated one
- Merge/Layer toying CAN be usable to do better model (maybe?)
Model used
- Mistral-7B-OpenOrca
- Mistral-7B-v0.1-Open-Platypus
- CollectiveCognition-v1.1-Mistral-7B
- zephyr-7b-alpha
Prompt template
The best one after further testing is this one:
<|system|>
Below is an instruction that describes a task. Write a response that appropriately completes the request.
<|user|>
{prompt}
<|assistant|>
But these one work too:
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
{prompt}
### Response:
USER: <prompt>
ASSISTANT:
Or use any prompting system from one of the 4 source model, should work.
The secret sauce
Mistral-11B-OpenOrcaPlatypus :
slices:
- sources:
- model: Open-Orca/Mistral-7B-OpenOrca
layer_range: [0, 24]
- sources:
- model: akjindal53244/Mistral-7B-v0.1-Open-Platypus
layer_range: [8, 32]
merge_method: passthrough
dtype: bfloat16
Mistral-11B-CC-Zephyr :
slices:
- sources:
- model: "/content/drive/MyDrive/CC-v1.1-7B-bf16"
layer_range: [0, 24]
- sources:
- model: "/content/drive/MyDrive/Zephyr-7B"
layer_range: [8, 32]
merge_method: passthrough
dtype: bfloat16
Mistral-11B-OmniMix :
slices:
- sources:
- model: Mistral-11B-OpenOrcaPlatypus
layer_range: [0, 48]
- model: Mistral-11B-CC-Zephyr
layer_range: [0, 48]
merge_method: slerp
base_model: Mistral-11B-OpenOrcaPlatypus
parameters:
t:
- filter: lm_head
value: [0.75]
- filter: embed_tokens
value: [0.75]
- filter: self_attn
value: [0.75, 0.25]
- filter: mlp
value: [0.25, 0.75]
- filter: layernorm
value: [0.5, 0.5]
- filter: modelnorm
value: [0.75]
- value: 0.5 # fallback for rest of tensors
dtype: bfloat16
I use mergekit for all the manipulation told here.
Some scoring I done myself
hf-causal-experimental (pretrained=/content/drive/MyDrive/Mistral-11B-OmniMix-bf16), limit: None, provide_description: False, num_fewshot: 0, batch_size: 4
| Task | Version | Metric | Value | Stderr | |
|---|---|---|---|---|---|
| arc_challenge | 0 | acc | 0.5580 | ± | 0.0145 |
| acc_norm | 0.5819 | ± | 0.0144 | ||
| arc_easy | 0 | acc | 0.8300 | ± | 0.0077 |
| acc_norm | 0.8211 | ± | 0.0079 | ||
| hellaswag | 0 | acc | 0.6372 | ± | 0.0048 |
| acc_norm | 0.8209 | ± | 0.0038 | ||
| piqa | 0 | acc | 0.8145 | ± | 0.0091 |
| acc_norm | 0.8286 | ± | 0.0088 | ||
| truthfulqa_mc | 1 | mc1 | 0.3978 | ± | 0.0171 |
| mc2 | 0.5680 | ± | 0.0155 | ||
| winogrande | 0 | acc | 0.7427 | ± | 0.0123 |
Others
Special thanks to Sushi, Henky for the machine he give me for big task, and Charles Goddard for his amazing tool.
If you want to support me, you can here.
- Downloads last month
- 29
4-bit
5-bit
6-bit
8-bit

