---
license: apache-2.0
tags:
- Composer
- MosaicML
- llm-foundry
- StreamingDatasets
- TensorBlock
- GGUF
datasets:
- mc4
- c4
- togethercomputer/RedPajama-Data-1T
- bigcode/the-stack
- allenai/s2orc
inference: false
base_model: mosaicml/mpt-7b-8k
---
[](https://tensorblock.co)
[](https://twitter.com/tensorblock_aoi)
[](https://discord.gg/Ej5NmeHFf2)
[](https://github.com/TensorBlock)
[](https://t.me/TensorBlock)
## mosaicml/mpt-7b-8k - GGUF
This repo contains GGUF format model files for [mosaicml/mpt-7b-8k](https://huggingface.co/mosaicml/mpt-7b-8k).
The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit b5165](https://github.com/ggml-org/llama.cpp/commit/1d735c0b4fa0551c51c2f4ac888dd9a01f447985).
## Our projects
## Prompt template
```
Unable to determine prompt format automatically. Please check the original model repository for the correct prompt format.
```
## Model file specification
| Filename | Quant type | File Size | Description |
| -------- | ---------- | --------- | ----------- |
| [mpt-7b-8k-Q2_K.gguf](https://huggingface.co/tensorblock/mosaicml_mpt-7b-8k-GGUF/blob/main/mpt-7b-8k-Q2_K.gguf) | Q2_K | 2.559 GB | smallest, significant quality loss - not recommended for most purposes |
| [mpt-7b-8k-Q3_K_S.gguf](https://huggingface.co/tensorblock/mosaicml_mpt-7b-8k-GGUF/blob/main/mpt-7b-8k-Q3_K_S.gguf) | Q3_K_S | 2.941 GB | very small, high quality loss |
| [mpt-7b-8k-Q3_K_M.gguf](https://huggingface.co/tensorblock/mosaicml_mpt-7b-8k-GGUF/blob/main/mpt-7b-8k-Q3_K_M.gguf) | Q3_K_M | 3.528 GB | very small, high quality loss |
| [mpt-7b-8k-Q3_K_L.gguf](https://huggingface.co/tensorblock/mosaicml_mpt-7b-8k-GGUF/blob/main/mpt-7b-8k-Q3_K_L.gguf) | Q3_K_L | 3.847 GB | small, substantial quality loss |
| [mpt-7b-8k-Q4_0.gguf](https://huggingface.co/tensorblock/mosaicml_mpt-7b-8k-GGUF/blob/main/mpt-7b-8k-Q4_0.gguf) | Q4_0 | 3.796 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
| [mpt-7b-8k-Q4_K_S.gguf](https://huggingface.co/tensorblock/mosaicml_mpt-7b-8k-GGUF/blob/main/mpt-7b-8k-Q4_K_S.gguf) | Q4_K_S | 3.830 GB | small, greater quality loss |
| [mpt-7b-8k-Q4_K_M.gguf](https://huggingface.co/tensorblock/mosaicml_mpt-7b-8k-GGUF/blob/main/mpt-7b-8k-Q4_K_M.gguf) | Q4_K_M | 4.274 GB | medium, balanced quality - recommended |
| [mpt-7b-8k-Q5_0.gguf](https://huggingface.co/tensorblock/mosaicml_mpt-7b-8k-GGUF/blob/main/mpt-7b-8k-Q5_0.gguf) | Q5_0 | 4.601 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
| [mpt-7b-8k-Q5_K_S.gguf](https://huggingface.co/tensorblock/mosaicml_mpt-7b-8k-GGUF/blob/main/mpt-7b-8k-Q5_K_S.gguf) | Q5_K_S | 4.601 GB | large, low quality loss - recommended |
| [mpt-7b-8k-Q5_K_M.gguf](https://huggingface.co/tensorblock/mosaicml_mpt-7b-8k-GGUF/blob/main/mpt-7b-8k-Q5_K_M.gguf) | Q5_K_M | 4.958 GB | large, very low quality loss - recommended |
| [mpt-7b-8k-Q6_K.gguf](https://huggingface.co/tensorblock/mosaicml_mpt-7b-8k-GGUF/blob/main/mpt-7b-8k-Q6_K.gguf) | Q6_K | 5.457 GB | very large, extremely low quality loss |
| [mpt-7b-8k-Q8_0.gguf](https://huggingface.co/tensorblock/mosaicml_mpt-7b-8k-GGUF/blob/main/mpt-7b-8k-Q8_0.gguf) | Q8_0 | 7.067 GB | very large, extremely low quality loss - not recommended |
## Downloading instruction
### Command line
Firstly, install Huggingface Client
```shell
pip install -U "huggingface_hub[cli]"
```
Then, downoad the individual model file the a local directory
```shell
huggingface-cli download tensorblock/mosaicml_mpt-7b-8k-GGUF --include "mpt-7b-8k-Q2_K.gguf" --local-dir MY_LOCAL_DIR
```
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
```shell
huggingface-cli download tensorblock/mosaicml_mpt-7b-8k-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
```