On this page

Open your download

Open a downloaded GGUF in LM Studio, Ollama or llama.cpp. Developer steps for safetensors and ONNX.

Next: open it

BabyMistral.Q4_K_M.gguf

open it with LM Studio, Ollama or llama.cpp

  1. LM Studio

    Open LM Studio once. Run the import command below in your terminal and follow its prompts. Then open Chat, choose the imported model, wait for it to load and send a message. If lms is not found, see LM Studio's CLI setup instructions.

    lms import ~/Downloads/'BabyMistral.Q4_K_M.gguf'
    LM Studio setup and install
Other apps: Ollama, llama.cpp
  1. Ollama

    Run this in your terminal from the folder holding the file.

    printf 'FROM ./BabyMistral.Q4_K_M.gguf\n' > Modelfile && ollama create babymistral -f Modelfile && ollama run babymistral
    Get Ollama
  2. llama.cpp

    Open your terminal and run. It opens a chat in the terminal.

    llama-cli -m ~/Downloads/'BabyMistral.Q4_K_M.gguf'
    Get llama.cpp

If double-clicking doesn't open the file, use one of the apps above.

Check it's the right file

This check proves the file arrived unchanged. Not that the model is safe.

Or check it in a terminal · SHA-256
shasum -a 256 ~/Downloads/'BabyMistral.Q4_K_M.gguf'

Compare with the recorded SHA-256: 0347fccdc8ae857ec88eb9cdd4d230c0d9d33dc6b901010204b9642a94cb4d9c

Keep these steps for later

Safetensors

This file is for developers. Load the model folder with transformers.

ONNX

This file is for developers. Load it with onnxruntime.