---
license: apache-2.0
tags:
- mistral
- conversational
- text-generation-inference
base_model: BeaverAI/mistral-dory-12b
library_name: transformers
---
> [!WARNING]
> **Sampling:**
> Mistral-Nemo-12B is very sensitive to the temperature sampler, try values near **0.3** at first or else you will get some weird results. This is mentioned by MistralAI at their [Transformers](https://huggingface.co/mistralai/Mistral-Nemo-Instruct-2407#transformers) section.
> Flash-Attention seems to have seem weird effects with the model as well, however there is no confirmation on this.
> [!IMPORTANT]
> **IMPORTANT:**
> Updated version of the model available here: [mistral-doryV2-12b-gguf](https://huggingface.co/starble-dev/mistral-doryV2-12b-gguf)
**Original Model:**
[BeaverAI/mistral-dory-12b](https://huggingface.co/BeaverAI/mistral-dory-12b)
**How to Use:**
As of July 20, 2024, llama.cpp does not support Mistral-Nemo. However, you can still use it by building from iamlemec's branch **mistral-nemo** at [llama.cpp GitHub repository](https://github.com/iamlemec/llama.cpp/tree/mistral-nemo).
These quants were quantized off **iamlemec**'s branch using commit [6515e78](https://github.com/ggerganov/llama.cpp/commit/6515e787d10095d439228f2167b296ee24c2bd5a)
Build:
```
git clone -b mistral-nemo https://github.com/iamlemec/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build --config Release
```
Recommended to use `cmake -B build -DGGML_CUDA=ON` if you're using a CUDA compatible GPU.
If the build takes too long use `cmake -B build --config Release -j 4`, which uses 4 threads to build. Adjust the number to the amount of physical cores on your CPU.
Server example:
```
llama-server.exe -m .\models\mistral-dory-12b_Q8_0.gguf -b 512 -ub 512 -c 4096 -ngl 100
```
Set `-b` to batch size
Set `-ub` to physical batch size
Set `-c` to context size
Set `-ngl` to amount of layers to load onto GPU
Change the path to where the model is actually stored.
If you need more clarification on parameters check out the [llama.cpp Server Docs](https://github.com/ggerganov/llama.cpp/blob/master/examples/server/README.md)
**License:**
Apache 2.0
# Quants
| Name | Quant Type | Size |
| ---- | ---- | ---- |
| [mistral-dory-12b-Q2_K.gguf](https://huggingface.co/starble-dev/mistral-dory-12b-gguf/blob/main/mistral-dory-12b_Q2_K.gguf) | Q2_K | 4.79 GB |
| [mistral-dory-12b-Q3_K_M.gguf](https://huggingface.co/starble-dev/mistral-dory-12b-gguf/blob/main/mistral-dory-12b_Q3_K_M.gguf) | Q3_K_M | 6.08 GB |
| [mistral-dory-12b-Q4_K_M.gguf](https://huggingface.co/starble-dev/mistral-dory-12b-gguf/blob/main/mistral-dory-12b_Q4_K_M.gguf) | Q4_K_M | 7.48 GB |
| [mistral-dory-12b-Q5_K_M.gguf](https://huggingface.co/starble-dev/mistral-dory-12b-gguf/blob/main/mistral-dory-12b_Q5_K_M.gguf) | Q5_K_M | 8.73 GB |
| [mistral-dory-12b-Q6_K.gguf](https://huggingface.co/starble-dev/mistral-dory-12b-gguf/blob/main/mistral-dory-12b_Q6_K.gguf) | Q6_K | 10.1 GB |
| [mistral-dory-12b-Q8_0.gguf](https://huggingface.co/starble-dev/mistral-dory-12b-gguf/blob/main/mistral-dory-12b_Q8_0.gguf) | Q8_0 | 13 GB |
**The MistralAI Team:**
Albert Jiang, Alexandre Sablayrolles, Alexis Tacnet, Alok Kothari, Antoine Roux, Arthur Mensch, Audrey Herblin-Stoop, Augustin Garreau, Austin Birky, Bam4d, Baptiste Bout, Baudouin de Monicault, Blanche Savary, Carole Rambaud, Caroline Feldman, Devendra Singh Chaplot, Diego de las Casas, Eleonore Arcelin, Emma Bou Hanna, Etienne Metzger, Gaspard Blanchet, Gianna Lengyel, Guillaume Bour, Guillaume Lample, Harizo Rajaona, Henri Roussez, Hichem Sattouf, Ian Mack, Jean-Malo Delignon, Jessica Chudnovsky, Justus Murke, Kartik Khandelwal, Lawrence Stewart, Louis Martin, Louis Ternon, Lucile Saulnier, Lélio Renard Lavaud, Margaret Jennings, Marie Pellat, Marie Torelli, Marie-Anne Lachaux, Marjorie Janiewicz, Mickaël Seznec, Nicolas Schuhl, Niklas Muhs, Olivier de Garrigues, Patrick von Platen, Paul Jacob, Pauline Buche, Pavan Kumar Reddy, Perry Savas, Pierre Stock, Romain Sauvestre, Sagar Vaze, Sandeep Subramanian, Saurabh Garg, Sophia Yang, Szymon Antoniak, Teven Le Scao, Thibault Schueller, Thibaut Lavril, Thomas Wang, Théophile Gervet, Timothée Lacroix, Valera Nemychnikova, Wendy Shang, William El Sayed, William Marshall