Instructions to use eaddario/Dolphin3.0-Mistral-24B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use eaddario/Dolphin3.0-Mistral-24B-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="eaddario/Dolphin3.0-Mistral-24B-GGUF", filename="Dolphin3.0-Mistral-24B-F16.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use eaddario/Dolphin3.0-Mistral-24B-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 eaddario/Dolphin3.0-Mistral-24B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf eaddario/Dolphin3.0-Mistral-24B-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf eaddario/Dolphin3.0-Mistral-24B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf eaddario/Dolphin3.0-Mistral-24B-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 eaddario/Dolphin3.0-Mistral-24B-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf eaddario/Dolphin3.0-Mistral-24B-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 eaddario/Dolphin3.0-Mistral-24B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf eaddario/Dolphin3.0-Mistral-24B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/eaddario/Dolphin3.0-Mistral-24B-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use eaddario/Dolphin3.0-Mistral-24B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "eaddario/Dolphin3.0-Mistral-24B-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "eaddario/Dolphin3.0-Mistral-24B-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/eaddario/Dolphin3.0-Mistral-24B-GGUF:Q4_K_M
- Ollama
How to use eaddario/Dolphin3.0-Mistral-24B-GGUF with Ollama:
ollama run hf.co/eaddario/Dolphin3.0-Mistral-24B-GGUF:Q4_K_M
- Unsloth Studio
How to use eaddario/Dolphin3.0-Mistral-24B-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 eaddario/Dolphin3.0-Mistral-24B-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 eaddario/Dolphin3.0-Mistral-24B-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for eaddario/Dolphin3.0-Mistral-24B-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use eaddario/Dolphin3.0-Mistral-24B-GGUF with Docker Model Runner:
docker model run hf.co/eaddario/Dolphin3.0-Mistral-24B-GGUF:Q4_K_M
- Lemonade
How to use eaddario/Dolphin3.0-Mistral-24B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull eaddario/Dolphin3.0-Mistral-24B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Dolphin3.0-Mistral-24B-GGUF-Q4_K_M
List all available models
lemonade list
File size: 19,702 Bytes
eae82b8 9c5b75f eae82b8 9c5b75f eae82b8 9c5b75f eae82b8 9c5b75f eae82b8 9c5b75f eae82b8 9c5b75f eae82b8 9c5b75f eae82b8 9c5b75f eae82b8 9c5b75f eae82b8 9c5b75f eae82b8 9c5b75f eae82b8 9c5b75f eae82b8 9c5b75f eae82b8 9c5b75f eae82b8 9c5b75f eae82b8 9c5b75f eae82b8 9c5b75f eae82b8 9c5b75f eae82b8 9c5b75f eae82b8 9c5b75f eae82b8 9c5b75f eae82b8 9c5b75f eae82b8 9c5b75f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 | ---
base_model:
- cognitivecomputations/Dolphin3.0-Mistral-24B
datasets:
- eaddario/imatrix-calibration
language:
- en
license:
- apache-2.0
pipeline_tag: text-generation
tags:
- gguf
- quant
- experimental
---
# Experimental GGUF quantized versions of cognitivecomputations/Dolphin3.0-Mistral-24B
Using [LLaMA C++](<https://github.com/ggerganov/llama.cpp>) release [b4837](<https://github.com/ggerganov/llama.cpp/releases/tag/b4837>) for quantization.
Original model: [cognitivecomputations/Dolphin3.0-Mistral-24B](https://huggingface.co/cognitivecomputations/Dolphin3.0-Mistral-24B)
From the original model creators:
>Dolphin 3.0 is the next generation of the Dolphin series of instruct-tuned models. Designed to be the ultimate general purpose local model, enabling coding, math, agentic, function calling, and general use cases.
>
>Dolphin aims to be a general purpose instruct model, similar to the models behind ChatGPT, Claude, Gemini. But these models present problems for businesses seeking to include AI in their products.
>1) They maintain control of the system prompt, deprecating and changing things as they wish, often causing software to break.
>2) They maintain control of the model versions, sometimes changing things silently, or deprecating older models that your business relies on.
>3) They maintain control of the alignment, and in particular the alignment is one-size-fits all, not tailored to the application.
>4) They can see all your queries and they can potentially use that data in ways you wouldn't want.
>Dolphin, in contrast, is steerable and gives control to the system owner. You set the system prompt. You decide the alignment. You have control of your data. Dolphin does not impose its ethics or guidelines on you. You are the one who decides the guidelines.
>
>Dolphin belongs to YOU, it is your tool, an extension of your will.
>Just as you are personally responsible for what you do with a knife, gun, fire, car, or the internet, you are the creator and originator of any content you generate with Dolphin.
From Eric Hartford's, the creator of the Dolphin model series, [Uncensored Models](https://erichartford.com/uncensored-models):
> Most of these models (for example, Alpaca, Vicuna, WizardLM, MPT-7B-Chat, Wizard-Vicuna, GPT4-X-Vicuna) have some sort of embedded alignment. For general purposes, this is a good thing. This is what stops the model from doing bad things, like teaching you how to cook meth and make bombs. But what is the nature of this alignment? And, why is it so?
>
> The reason these models are aligned is that they are trained with data that was generated by ChatGPT, which itself is aligned by an alignment team at OpenAI. As it is a black box, we don't know all the reasons for the decisions that were made, but we can observe it generally is aligned with American popular culture, and to obey American law, and with a liberal and progressive political bias.
# PLEASE READ THIS BEFORE USING THESE EXPERIMENTAL VERSIONS!
An area of personal interest is finding ways to optimize the inference performance of LLMs when deployed in resource-constrained environments like commodity hardware, desktops, laptops, edge devices, etc. There are many approaches to accomplish this, including architecture simplification and knowledge distillation, but for now I'm focusing primarily on quantization and pruning.
The process of [quantization](<https://huggingface.co/docs/optimum/en/concept_guides/quantization>) reduces the precision of the model's weights, leading to significant reductions in model size, memory needs and computational requirements (a good thing), but this however comes at the expense of a loss in the model's capabilities and accuracy (a bad thing!).
Another approach is to [prune](<https://en.wikipedia.org/wiki/Pruning_(artificial_neural_network>) the model, that is, to selectively zero-out groups of parameters. Although significant reductions can be achieved this way, the risk of severely degrading the model's performance is markedly higher than when quantizing, as the process requires a deep understanding of the model's architecture in order to identify which tensors can be safely zero'ed. For all means and purposes, pruning is the equivalent of lobotomizing the LLM!
A successful outcome is when the overall size is reduced with no, or negligible, loss of capabilities (i.e. language understanding, math and logic problem-solving, conversation, coding, domain-specific knowledge, etc.) compared to the original version. On that regard, the method I'm using seems to yield some modest but encouraging results, and the versions available in this repo are on average **3% smaller** than other, high-quality, sources with negligible loss of capability. As I continue to improve the process and develop tools to automate it, I aim to achieve further reductions in the **10-15%** range, maybe more.
For testing and comparison I'd normally use models produced by [Unsloth](<https://huggingface.co/unsloth>) ([Daniel and Michael Han](<https://unsloth.ai/>) do some really advanced level stuff!) and [Bartowski](<https://huggingface.co/bartowski>) (see credits below), but only the latter offers a version of these model so all tests and comparisons are done against a single reference.
All experimental versions were generated using an appropriate imatrix created from calibration datasets available at [eaddario/imatrix-calibration](<https://huggingface.co/datasets/eaddario/imatrix-calibration>). At its core, an Importance Matrix (imatrix) is a table or, more broadly, a structured representation that scores the relative importance of different features or parameters in a machine learning model. It essentially quantifies the "impact" each feature has on a specific outcome, prediction, or relationship being modeled, and it helps to counterbalance the negative effects of quantization and pruning.
The process to generate these models is roughly as follows:
1. Convert the the original model's tensors to [GGUF](<https://huggingface.co/docs/hub/en/gguf>) F16*
2. Estimate the Perplexity score for the F16 model (baseline) using the [wikitext-2-raw-v1](<https://huggingface.co/datasets/Salesforce/wikitext/tree/main/wikitext-2-raw-v1>) dataset, and save the [logits](<https://huggingface.co/eaddario/Dolphin3.0-Mistral-24B-GGUF/tree/main/logits>)
3. Generate an [imatrix](<https://huggingface.co/eaddario/Dolphin3.0-Mistral-24B-GGUF/tree/main/imatrix>) from selected calibration datasets
4. Quantize & prune versions of the base model
5. Calculate Perplexity, KL Divergence, ARC (Easy+Challenge), HellaSwag, MMLU, Truthful QA and WinoGrande [scores](<https://huggingface.co/eaddario/Dolphin3.0-Mistral-24B-GGUF/tree/main/scores>) for each quantized model
6. Keep versions with the best scores
7. Repeat until all desired quants are created. I find that quantizations below Q3/IQ3 are not fit for my purposes and therefore do not usually generate them, but happy to provide other quants on request.
*[BF16](<https://en.wikipedia.org/wiki/Bfloat16_floating-point_format>) would be preferred, but Apple's GPUs don't support it yet, and therefore any operations are executed in the CPU, making it unacceptably slow. This is expected to change in the near term but until then, if you are using Apple kit avoid using any models tagged BF16
# Models
### Sizes (in GB)
| Model | Bartowski | Repo | Shrinkage |
|-----------------------------------------------------------------------|----------:|------:|----------:|
| [Dolphin3.0-Mistral-24B-IQ3_M](./Dolphin3.0-Mistral-24B-IQ3_M.gguf) | 10.65 | 10.25 | 3.8% |
| [Dolphin3.0-Mistral-24B-IQ3_S](./Dolphin3.0-Mistral-24B-IQ3_S.gguf) | N/A | 10.03 | N/A |
| [Dolphin3.0-Mistral-24B-IQ4_NL](./Dolphin3.0-Mistral-24B-IQ4_NL.gguf) | 13.05 | 13.05 | 0% |
| [Dolphin3.0-Mistral-24B-Q3_K_L](./Dolphin3.0-Mistral-24B-Q3_K_L.gguf) | 12.40 | 12.00 | 0% |
| [Dolphin3.0-Mistral-24B-Q3_K_M](./Dolphin3.0-Mistral-24B-Q3_K_M.gguf) | 11.47 | 11.08 | 3.4% |
| [Dolphin3.0-Mistral-24B-Q3_K_S](./Dolphin3.0-Mistral-24B-Q3_K_S.gguf) | 10.40 | 10.00 | 3.8% |
| [Dolphin3.0-Mistral-24B-Q4_K_M](./Dolphin3.0-Mistral-24B-Q4_K_M.gguf) | 14.33 | 13.99 | 2.4% |
| [Dolphin3.0-Mistral-24B-Q4_K_S](./Dolphin3.0-Mistral-24B-Q4_K_S.gguf) | 13.55 | 13.13 | 3.1% |
| [Dolphin3.0-Mistral-24B-Q5_K_M](./Dolphin3.0-Mistral-24B-Q5_K_M.gguf) | 16.76 | 16.26 | 3% |
| [Dolphin3.0-Mistral-24B-Q5_K_S](./Dolphin3.0-Mistral-24B-Q5_K_S.gguf) | 16.30 | 15.80 | 3.1% |
| [Dolphin3.0-Mistral-24B-Q6_K](./Dolphin3.0-Mistral-24B-Q6_K.gguf) | 19.35 | 18.75 | 3.1% |
| [Dolphin3.0-Mistral-24B-Q8_0](./Dolphin3.0-Mistral-24B-Q8_0.gguf) | 25.05 | 24.14 | 3.6% |
### Perplexity and KL Divergence scores
| Model | μPPL | 𝜌PPL | μKLD | RMS Δp |
|-----------------------------------------------------------------------|--------------------:|-------:|-------------------:|--------------:|
| [Dolphin3.0-Mistral-24B-IQ3_M](./Dolphin3.0-Mistral-24B-IQ3_M.gguf) | 8.536738 ±0.059988 | 98.03% | 0.103999 ±0.000378 | 9.251 ±0.039 |
| [Dolphin3.0-Mistral-24B-IQ3_S](./Dolphin3.0-Mistral-24B-IQ3_S.gguf) | 8.602292 ±0.060945 | 97.95% | 0.108536 ±0.000393 | 9.309 ±0.040 |
| [Dolphin3.0-Mistral-24B-IQ4_NL](./Dolphin3.0-Mistral-24B-IQ4_NL.gguf) | 7.895583 ±0.054759 | 99.38% | 0.031400 ±0.000136 | 5.278 ±0.027 |
| [Dolphin3.0-Mistral-24B-Q3_K_L](./Dolphin3.0-Mistral-24B-Q3_K_L.gguf) | 8.320959 ±0.058079 | 98.43% | 0.083143 ±0.000296 | 8.464 ±0.035 |
| [Dolphin3.0-Mistral-24B-Q3_K_M](./Dolphin3.0-Mistral-24B-Q3_K_M.gguf) | 8.389337 ±0.058940 | 98.30% | 0.089559 ±0.000330 | 8.734 ±0.037 |
| [Dolphin3.0-Mistral-24B-Q3_K_S](./Dolphin3.0-Mistral-24B-Q3_K_S.gguf) | 8.681563 ±0.061366 | 97.26% | 0.138030 ±0.000557 | 10.731 ±0.047 |
| [Dolphin3.0-Mistral-24B-Q4_K_M](./Dolphin3.0-Mistral-24B-Q4_K_M.gguf) | 7.868503 ±0.054510 | 99.45% | 0.027967 ±0.000110 | 4.959 ±0.024 |
| [Dolphin3.0-Mistral-24B-Q4_K_S](./Dolphin3.0-Mistral-24B-Q4_K_S.gguf) | 7.922314 ±0.055044 | 99.40% | 0.030745 ±0.000128 | 5.176 ±0.026 |
| [Dolphin3.0-Mistral-24B-Q5_K_M](./Dolphin3.0-Mistral-24B-Q5_K_M.gguf) | 7.785290 ±0.053616 | 99.63% | 0.018900 ±0.000070 | 4.199 ±0.019 |
| [Dolphin3.0-Mistral-24B-Q5_K_S](./Dolphin3.0-Mistral-24B-Q5_K_S.gguf) | 7.819818 ±0.053887 | 99.62% | 0.019857 ±0.000076 | 4.338 ±0.020 |
| [Dolphin3.0-Mistral-24B-Q6_K](./Dolphin3.0-Mistral-24B-Q6_K.gguf) | 7.757601 ±0.053375 | 99.70% | 0.015707 ±0.000047 | 3.852 ±0.014 |
| [Dolphin3.0-Mistral-24B-Q8_0](./Dolphin3.0-Mistral-24B-Q8_0.gguf) | 7.737414 ±0.053007 | 99.72% | 0.014644 ±0.000046 | 3.754 ±0.015 |
| [Dolphin3.0-Mistral-24B-F16](./Dolphin3.0-Mistral-24B-F16.gguf) | 9.366577 ±0.066397 | 100% | N/A | N/A |
### ARC, HellaSwag, MMLU, Truthful QA and WinoGrande scores
Scores generated using [llama-perplexity](<https://github.com/ggml-org/llama.cpp/tree/master/examples/perplexity>) with 750 tasks per test, and a context size of 768 tokens. Naive (`llama-quantize` with no optimization) Q4_K_M quantization included for comparison.
For the test data used in the generation of these scores, follow the appropiate links: [HellaSwag](<https://github.com/klosax/hellaswag_text_data>), [ARC, MMLU, Truthful QA](<https://huggingface.co/datasets/ikawrakow/validation-datasets-for-llama.cpp/tree/main>) and [WinoGrande](<https://huggingface.co/datasets/ikawrakow/winogrande-eval-for-llama.cpp/tree/main>)
| Model | ARC | HellaSwag | MMLU | Truthful QA | WinoGrande |
|-------------------------------------------------------------------------------------------------------------------------------|----------------:|----------:|----------------:|----------------:|----------------:|
| [Dolphin3.0-Mistral-24B-IQ3_M](./Dolphin3.0-Mistral-24B-IQ3_M.gguf) | 70.5333 ±1.6658 | 80.80 | 43.7333 ±1.8126 | 35.4667 ±1.7481 | 74.9333 ±1.5836 |
| [Dolphin3.0-Mistral-24B-IQ3_S](./Dolphin3.0-Mistral-24B-IQ3_S.gguf) | 70.1333 ±1.6723 | 80.93 | 43.7333 ±1.8126 | 36.5333 ±1.7594 | 74.4000 ±1.5947 |
| [Dolphin3.0-Mistral-24B-IQ4_NL](./Dolphin3.0-Mistral-24B-IQ4_NL.gguf) | 72.1333 ±1.6382 | 80.27 | 42.6667 ±1.8072 | 35.7333 ±1.7510 | 76.5333 ±1.5485 |
| [Dolphin3.0-Mistral-24B-Q3_K_L](./Dolphin3.0-Mistral-24B-Q3_K_L.gguf) | 72.5333 ±1.6309 | 80.93 | 41.6000 ±1.8010 | 34.2667 ±1.7342 | 75.7333 ±1.5664 |
| [Dolphin3.0-Mistral-24B-Q3_K_M](./Dolphin3.0-Mistral-24B-Q3_K_M.gguf) | 73.4667 ±1.6132 | 80.93 | 42.1333 ±1.8042 | 34.9300 ±1.6774 | 76.1333 ±1.5576 |
| [Dolphin3.0-Mistral-24B-Q3_K_S](./Dolphin3.0-Mistral-24B-Q3_K_S.gguf) | 70.5333 ±1.6658 | 80.67 | 41.2000 ±1.7984 | 35.2000 ±1.7451 | 74.6667 ±1.5892 |
| [Dolphin3.0-Mistral-24B-Q4_K_M](./Dolphin3.0-Mistral-24B-Q4_K_M.gguf) | 72.6667 ±1.6284 | 81.73 | 42.5333 ±1.8065 | 35.0667 ±1.7436 | 77.6000 ±1.5234 |
| [Dolphin3.0-Mistral-24B-Q4_K_M-bartowski](https://huggingface.co/bartowski/cognitivecomputations_Dolphin3.0-Mistral-24B-GGUF) | 72.2667 ±1.6358 | 81.73 | 42.8000 ±1.8079 | 35.0667 ±1.7436 | 76.8000 ±1.5424 |
| [Dolphin3.0-Mistral-24B-Q4_K_S](./Dolphin3.0-Mistral-24B-Q4_K_S.gguf) | 72.4000 ±1.6334 | 81.47 | 43.0667 ±1.8093 | 35.3333 ±1.7466 | 77.2000 ±1.5330 |
| [Dolphin3.0-Mistral-24B-Q5_K_M](./Dolphin3.0-Mistral-24B-Q5_K_M.gguf) | 72.0000 ±1.6406 | 81.20 | 42.9333 ±1.8086 | 35.7333 ±1.7510 | 78.1333 ±1.5103 |
| [Dolphin3.0-Mistral-24B-Q5_K_S](./Dolphin3.0-Mistral-24B-Q5_K_S.gguf) | 72.6667 ±1.6284 | 81.47 | 41.6000 ±1.8010 | 35.7333 ±1.7510 | 76.5333 ±1.5485 |
| [Dolphin3.0-Mistral-24B-Q6_K](./Dolphin3.0-Mistral-24B-Q6_K.gguf) | 72.4000 ±1.6334 | 81.47 | 43.0667 ±1.8093 | 36.6667 ±1.7608 | 77.8667 ±1.5169 |
| [Dolphin3.0-Mistral-24B-Q8_0](./Dolphin3.0-Mistral-24B-Q8_0.gguf) | 72.8000 ±1.6260 | 81.33 | 43.0667 ±1.8093 | 35.7333 ±1.7510 | 77.4667 ±1.5266 |
| [Dolphin3.0-Mistral-24B-F16](./Dolphin3.0-Mistral-24B-F16.gguf) | 71.6000 ±1.6477 | 81.47 | 43.4667 ±1.8113 | 35.4667 ±1.7481 | 77.6000 ±1.5234 |
### Tokens per Second - Benchmarks
Scores generated using [llama-bench](<https://github.com/ggml-org/llama.cpp/tree/master/examples/llama-bench>). Naive (`llama-quantize` with no optimization) Q4_K_M quantization included for comparison.
| model | size | params | backend | ngl | test | t/s |
|-------------------------------------------------------------------------------------------------------------------------------|----------:|--------:|---------|----:|--------------:|--------------:|
| [Dolphin3.0-Mistral-24B-Q4_K_M](./Dolphin3.0-Mistral-24B-Q4_K_M.gguf) | 12.95 GiB | 23.57 B | CUDA | 12 | pp512 | 164.39 ± 0.20 |
| [Dolphin3.0-Mistral-24B-Q4_K_M](./Dolphin3.0-Mistral-24B-Q4_K_M.gguf) | 12.95 GiB | 23.57 B | CUDA | 12 | tg128 | 4.71 ± 0.06 |
| [Dolphin3.0-Mistral-24B-Q4_K_M](./Dolphin3.0-Mistral-24B-Q4_K_M.gguf) | 12.95 GiB | 23.57 B | CUDA | 12 | pp1024+tg1024 | 8.87 ± 0.04 |
| [Dolphin3.0-Mistral-24B-Q4_K_M-bartowski](https://huggingface.co/bartowski/cognitivecomputations_Dolphin3.0-Mistral-24B-GGUF) | 13.34 GiB | 23.57 B | CUDA | 12 | pp512 | 162.55 ± 0.47 |
| [Dolphin3.0-Mistral-24B-Q4_K_M-bartowski](https://huggingface.co/bartowski/cognitivecomputations_Dolphin3.0-Mistral-24B-GGUF) | 13.34 GiB | 23.57 B | CUDA | 12 | tg128 | 4.57 ± 0.03 |
| [Dolphin3.0-Mistral-24B-Q4_K_M-bartowski](https://huggingface.co/bartowski/cognitivecomputations_Dolphin3.0-Mistral-24B-GGUF) | 13.34 GiB | 23.57 B | CUDA | 12 | pp1024+tg1024 | 8.62 ± 0.03 |
# Metrics used
**[Perplexity](<https://huggingface.co/docs/transformers/en/perplexity>):** one of the key metrics used in NLP evaluation. It measures the quality of a language model by evaluating how well it predicts the next token given a particular sequence of words. A PPL of **1** indicates an exact match between predicted and actual, whereas values greater than one indicate a degree of "surprise" the generated token differs from the expected.
**[Kullback–Leibler (KL) Divergence](<https://en.wikipedia.org/wiki/Kullback–Leibler_divergence>):** a statistical measure of how much a probability distribution differs from another. When quantizing models (or altering the original tensors in any way for that matter), the closest we can preserve the weights' probability distribution to the orignal model the better, thus the closest to **0** the better.
**[AI2 Reasoning Challenge (ARC)](<https://leaderboard.allenai.org/arc/submissions/get-started>):** a benchmark to evaluate the ability of AI models to answer complex science questions that require logical reasoning beyond pattern matching.
**[HellaSwag](<https://rowanzellers.com/hellaswag/>):** the Harder Endings, Longer contexts, and Low-shot Activities for Situations With Adversarial Generations (bit of a mouthful!) is a benchmark designed to test commonsense natural language inference. It requires the model to predict the most likely ending of a sentence.
**[MMLU](<https://github.com/hendrycks/test>):** the Massive Multitask Language Understanding evaluates LLMs’ general knowledge and problem-solving abilities across 57 subjects, including elementary mathematics, US history, computer science, and law.
**[Truthful QA](<https://github.com/sylinrl/TruthfulQA>):** evaluates how well LLMs generate truthful responses to questions. It identifies whether AI models can avoid generating false or misleading information, particularly in areas where human knowledge is prone to misconceptions.
**[Winogrande](<https://winogrande.allenai.org/>):** based on the [Winograd Schema Challenge](<https://cdn.aaai.org/ocs/4492/4492-21843-1-PB.pdf>), is a natural language understanding task requiring models to resolve ambiguities in sentences involving pronoun references.
## Credits
A big **Thank You!** to [Colin Kealty](<https://huggingface.co/bartowski>) for the many contributions and for being one of the best sources of high quality quantized models available in Hugginface, and a really big ***Thank You!*** to [Georgi Gerganov](<https://github.com/ggerganov>) for his amazing work with **llama.cpp** and the **gguf** file format.
|