Deleting a Model from Ollama locally: A Step-by-Step Guide
In this post, I'll walk you through the process of removing a model from Ollama on your local machine. Ollama is an open-source platform that allows you to run large language models (LLMs) like Llama, Mistral, and DeepSeek locally.
To completely remove a model, we'll use a specific command that ensures it's deleted from your system. Let’s get started! 🚀
To see all available commands in Ollama, we can use the -h command.
ollama -h
Next, let's display the locally installed models available in Ollama on our machine.
ollama list
Finally, let’s delete the model we want to remove locally from Ollama.
ollama rm deepseek-r1:14b
Please remember to replace 'deepseek-r1:14b' with the name of the model you want to delete.
Thank you for reading! If you found this article helpful, please share it with your friends and leave your thoughts in the comments. 😊



Comments
Post a Comment