Instructions to use nisten/quad-mixtrals-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use nisten/quad-mixtrals-gguf with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="nisten/quad-mixtrals-gguf", filename="4mixq2.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 nisten/quad-mixtrals-gguf with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf nisten/quad-mixtrals-gguf:Q3_K_L # Run inference directly in the terminal: llama-cli -hf nisten/quad-mixtrals-gguf:Q3_K_L
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf nisten/quad-mixtrals-gguf:Q3_K_L # Run inference directly in the terminal: llama-cli -hf nisten/quad-mixtrals-gguf:Q3_K_L
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 nisten/quad-mixtrals-gguf:Q3_K_L # Run inference directly in the terminal: ./llama-cli -hf nisten/quad-mixtrals-gguf:Q3_K_L
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 nisten/quad-mixtrals-gguf:Q3_K_L # Run inference directly in the terminal: ./build/bin/llama-cli -hf nisten/quad-mixtrals-gguf:Q3_K_L
Use Docker
docker model run hf.co/nisten/quad-mixtrals-gguf:Q3_K_L
- LM Studio
- Jan
- Ollama
How to use nisten/quad-mixtrals-gguf with Ollama:
ollama run hf.co/nisten/quad-mixtrals-gguf:Q3_K_L
- Unsloth Studio new
How to use nisten/quad-mixtrals-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 nisten/quad-mixtrals-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 nisten/quad-mixtrals-gguf to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for nisten/quad-mixtrals-gguf to start chatting
- Docker Model Runner
How to use nisten/quad-mixtrals-gguf with Docker Model Runner:
docker model run hf.co/nisten/quad-mixtrals-gguf:Q3_K_L
- Lemonade
How to use nisten/quad-mixtrals-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull nisten/quad-mixtrals-gguf:Q3_K_L
Run and chat with the model
lemonade run user.quad-mixtrals-gguf-Q3_K_L
List all available models
lemonade list
output = llm(
"Once upon a time,",
max_tokens=512,
echo=True
)
print(output)Experimental quants of 4 expert MoE mixtrals in various GGUF formats.
Original model used for custom quants: NeverSleep/Mistral-11B-SynthIAirOmniMix
https://huggingface.co/NeverSleep/Mistral-11B-SynthIAirOmniMix
Goal is to have the best performing MoE < 10gb
Experimental q8 and q4 files for training/finetuning too.
No sparsity tricks yet.
8.4gb custom 2bit quant works ok up until 512 token length then starts looping.
- Install llama.cpp from github and run it:
git clone https://github.com/ggerganov/llama.cpp
cd llama.cpp
make -j
wget https://huggingface.co/nisten/quad-mixtrals-gguf/resolve/main/4mixq2.gguf
./server -m 4mixq2.gguf --host "my.internal.ip.or.my.cloud.host.name.goes.here.com" -c 512
limit output to 500 tokens
- Downloads last month
- 47
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="nisten/quad-mixtrals-gguf", filename="", )