How to use from
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 NLPoetic/Mistral-NeMo-Instruct-2407-GGUF:Q5_K_M
# Run inference directly in the terminal:
llama cli -hf NLPoetic/Mistral-NeMo-Instruct-2407-GGUF:Q5_K_M
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf NLPoetic/Mistral-NeMo-Instruct-2407-GGUF:Q5_K_M
# Run inference directly in the terminal:
llama cli -hf NLPoetic/Mistral-NeMo-Instruct-2407-GGUF:Q5_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 NLPoetic/Mistral-NeMo-Instruct-2407-GGUF:Q5_K_M
# Run inference directly in the terminal:
./llama-cli -hf NLPoetic/Mistral-NeMo-Instruct-2407-GGUF:Q5_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 NLPoetic/Mistral-NeMo-Instruct-2407-GGUF:Q5_K_M
# Run inference directly in the terminal:
./build/bin/llama-cli -hf NLPoetic/Mistral-NeMo-Instruct-2407-GGUF:Q5_K_M
Use Docker
docker model run hf.co/NLPoetic/Mistral-NeMo-Instruct-2407-GGUF:Q5_K_M
Quick Links

Quantized Mistral-NeMo-Instruct-2407 versions for Prompt Sensitivity Blog

This repository contains four quantized versions of Mistral-NeMo-Instruct-2407, created using llama.cpp. The goal was to examine how different quantization methods affect prompt sensitivity with sentiment classification tasks.

Quantization Details

Models were quantized using llama.cpp (release b3922). The imatrix versions used an imatrix.dat file created from Bartowski's calibration dataset, mentioned here.

Models

Filename Size Description
Mistral-NeMo-12B-Instruct-2407-Q8_0.gguf 13 GB 8-bit default quantization
Mistral-NeMo-12B-Instruct-2407-Q5_0.gguf 8.73 GB 5-bit default quantization
Mistral-NeMo-12B-Instruct-2407-imatrix-Q8_0.gguf 13 GB 8-bit with imatrix quantization
Mistral-NeMo-12B-Instruct-2407-imatrix-Q5_0.gguf 8.73 GB 5-bit with imatrix quantization

I've also included the imatrix.dat (7.05 MB) file used to create the imatrix-quantized versions.

Findings

Prompt sensitivity was seen specifically in 5-bit models using imatrix quantization, but not with default llama.cpp quantization settings. Prompt sensitivity was not observed in 8-bit models with either quantization method.

For further discussion please see my accompanying blog post.

Author

Simon Barnes

Downloads last month
64
GGUF
Model size
12B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

5-bit

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for NLPoetic/Mistral-NeMo-Instruct-2407-GGUF