- In this article I'm going to cover how we can use the DeepSeek R1 Large Language Model on our local machine.
- We will be using the
Ollama
command line tool to interact with the model. - We also will be using
Anything LLM
for better user experience.
Prerequisites
- Make sure that you have Ollama installed on your local machine.
- Make sure that you have Anything LLM installed on your local machine.
Installation
Once you've downloaded those links listed above;
- Install
Ollama
. - Install
Anything LLM
. - These steps are pretty straightforward and should be done in a few minutes.
Downloading The Model
- If you have installed
Ollama
correctly you just need to open a terminal and type the following command: -
ollama run deepseek-r1:7b
- This will download the model and start it on your local machine.
- Once the model is downloaded and started, you can interact with it on terminal.
Adding The Model To Anything LLM
- As you can see you are already able to use the model from
Ollama
command line tool. - But if you want a better user experience, you can add the model to
Anything LLM
. In this section I'll try to explain this. - Open
Anything LLM
and clickNew Workspace
button. - This will create a new workspace and you will be able to customize it.
- Then you need to click this little gear icon on the right of the workspace name.
- From that screen, you should open
Chat Settings
and at the of this seciton you are going to seeWorkspace LLM Provider
. - Once you have selected Ollama from that list you will see your downloaded model listed there.
- You can then select it as your default model for the workspace and click update workspace at the end of the page.
- Since this is not a how to guide for
Anything LLM
, I will leave you with this. - Now you can interact with your model in a more user-friendly way as you can see below.
Conclusion
In this section, we have learned how to add a downloaded model to Anything LLM
and use it for better user experience. We have also seen how to customize the workspace and select the default model for the workspace.
Top comments (1)
Great, thank you