Instructions to use gobean/Smaug-Mixtral-v0.1-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use gobean/Smaug-Mixtral-v0.1-GGUF 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 gobean/Smaug-Mixtral-v0.1-GGUF # Run inference directly in the terminal: llama cli -hf gobean/Smaug-Mixtral-v0.1-GGUF
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf gobean/Smaug-Mixtral-v0.1-GGUF # Run inference directly in the terminal: llama cli -hf gobean/Smaug-Mixtral-v0.1-GGUF
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 gobean/Smaug-Mixtral-v0.1-GGUF # Run inference directly in the terminal: ./llama-cli -hf gobean/Smaug-Mixtral-v0.1-GGUF
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 gobean/Smaug-Mixtral-v0.1-GGUF # Run inference directly in the terminal: ./build/bin/llama-cli -hf gobean/Smaug-Mixtral-v0.1-GGUF
Use Docker
docker model run hf.co/gobean/Smaug-Mixtral-v0.1-GGUF
- LM Studio
- Jan
- Ollama
How to use gobean/Smaug-Mixtral-v0.1-GGUF with Ollama:
ollama run hf.co/gobean/Smaug-Mixtral-v0.1-GGUF
- Unsloth Desktop
- Docker Model Runner
How to use gobean/Smaug-Mixtral-v0.1-GGUF with Docker Model Runner:
docker model run hf.co/gobean/Smaug-Mixtral-v0.1-GGUF
- Lemonade
How to use gobean/Smaug-Mixtral-v0.1-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull gobean/Smaug-Mixtral-v0.1-GGUF
Run and chat with the model
lemonade run user.Smaug-Mixtral-v0.1-GGUF-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
gobean: Quantized to q4_0, q5_0, and q8_0 since the x_k_m variants do something weird with Mixtrals imho. I used whatever state llama.cpp was in as of 4/18/24 - this had some Mixtral fixes.
- Original Model Card - https://huggingface.co/abacusai/Smaug-Mixtral-v0.1
Overview
This model is part of the Smaug series of finetuned models. This one based on https://huggingface.co/mistralai/Mixtral-8x7B-v0.1
We use a new fine-tuning technique, DPO-Positive (DPOP), and new pairwise preference versions of ARC, HellaSwag, and MetaMath (as well as other existing datasets). We introduce the technique and the full training details in our new paper: https://arxiv.org/abs/2402.13228.
We show that on datasets in which the edit distance between pairs of completions is low (such as in math-based datasets), standard DPO loss can lead to a reduction of the model's likelihood of the preferred examples, as long as the relative probability between the preferred and dispreferred classes increases. Using these insights, we design DPOP, a new loss function and training procedure which avoids this failure mode. Surprisingly, we also find that DPOP outperforms DPO across a wide variety of datasets and downstream tasks, including datasets with high edit distances between completions.
We believe this new approach is generally useful in training across a wide range of model types and downstream use cases, and it powers all of our Smaug models. With the release of our paper and datasets, we are excited for the open source community to continue to build on and improve Smaug and spawn more dragons to dominate the LLM space!
Keep watching this space for our announcements!
Evaluation Results
| Average | ARC | HellaSwag | MMLU | TruthfulQA | Winogrande | GSM8K |
|---|---|---|---|---|---|---|
| 75.12 | 74.91 | 87.70 | 70.16 | 65.96 | 81.61 | 70.36 |
- Downloads last month
- 14
We're not able to determine the quantization variants.