How to use from the
Use from the
llama-cpp-python library
# !pip install llama-cpp-python

from llama_cpp import Llama

llm = Llama.from_pretrained(
	repo_id="dynomite567/Mistral-7B-Instruct-v0.3-Q4_K_M-GGUF",
	filename="mistral-7b-instruct-v0.3-q4_k_m.gguf",
)
llm.create_chat_completion(
	messages = "No input example has been defined for this model task."
)

dynomite567/Mistral-7B-Instruct-v0.3-Q4_K_M-GGUF

This model was converted to GGUF format from mistralai/Mistral-7B-Instruct-v0.3 using llama.cpp via Convert Model to GGUF.

Key Features:

  • Quantized for reduced file size (GGUF format)
  • Optimized for use with llama.cpp
  • Compatible with llama-server for efficient serving

Refer to the original model card for more details on the base model.

Usage with llama.cpp

1. Install llama.cpp:

brew install llama.cpp  # For macOS/Linux

2. Run Inference:

CLI:

llama-cli --hf-repo dynomite567/Mistral-7B-Instruct-v0.3-Q4_K_M-GGUF --hf-file mistral-7b-instruct-v0.3-q4_k_m.gguf -p "Your prompt here"

Server:

llama-server --hf-repo dynomite567/Mistral-7B-Instruct-v0.3-Q4_K_M-GGUF --hf-file mistral-7b-instruct-v0.3-q4_k_m.gguf -c 2048

For more advanced usage, refer to the llama.cpp repository.

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

4-bit

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