
Why Ollama?
Ollama is king when it comes to simplicity. One command, and you have a model running with a beautiful API. But what if the model you want isn’t on the official Ollama library?
Step 1: Download Your GGUF
Find your favorite model on Hugging Face (look for the “GGUF” tag). Download the file to your machine.
Step 2: Create a “Modelfile”
In the same folder as your GGUF, create a plain text file named Modelfile. Inside, write:
FROM ./your-model-filename.ggufStep 3: Create and Run
Open your terminal and run:
ollama create my-custom-model -f Modelfile
ollama run my-custom-modelThat’s it! You’ve successfully registered a custom model into the Ollama ecosystem.
References & Further Reading
- Ollama Documentation: Importing Models
- Hugging Face GGUF Hub: Explore GGUF models
- Local AI Community: Reddit r/LocalLLaMA
Last updated on