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

LFM2.5-350M-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/'LFM2.5-350M-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 ./LFM2.5-350M-Q4_K_M.gguf\n' > Modelfile && ollama create lfm2-5-350m -f Modelfile && ollama run lfm2-5-350m
    Get Ollama
  2. llama.cpp

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

    llama-cli -m ~/Downloads/'LFM2.5-350M-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/'LFM2.5-350M-Q4_K_M.gguf'

Compare with the recorded SHA-256: 7e6f72643caafc9a68256686638c4d7916f2cec76d1df478d4c3ddcd95a6aed4

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.