DeepSeek AI
in

Running DeepSeek R1 32B Model on Ollama with OpenUI (Windows 11)

Running DeepSeek R1 32B Model on Ollama with OpenUI

Introduction

In this guide, we will walk through the process of installing Ollama, setting up the DeepSeek R1 32B model, running it in the console, and then using OpenUI to interact with the model in a ChatGPT-like interface on Windows 11.

Step 1: Installing Ollama on Windows 11

Ollama is an open-source framework that allows you to run large language models (LLMs) locally on your system. Follow these steps to install Ollama on Windows 11:

  1. Download Ollama: Visit Ollama’s official website and download the Windows installer.
  2. Install Ollama: Run the .exe installer and follow the on-screen instructions.
  3. Verify Installation: Open Command Prompt (Press Win + R, type cmd, and hit Enter), then run:ollama --versionIf installed correctly, this should return the current version of Ollama.

Step 2: Download and Run DeepSeek R1 32B Model on Windows 11

DeepSeek R1 32B is a powerful AI model that can be run locally using Ollama. To set it up, follow these steps:

  1. Open Command Prompt as Administrator: Press Win + R, type cmd, then press Ctrl + Shift + Enter.
  2. Pull the DeepSeek Model: Run the following command to download the DeepSeek R1 32B model:ollama pull deepseek-ai/deepseek-coder-32bThis may take some time depending on your internet speed.
  3. Run DeepSeek in Console: Once the model is downloaded, start interacting with it by running:ollama run deepseek-ai/deepseek-coder-32bThis opens an interactive session where you can enter prompts and get responses from the model.

Step 3: Running DeepSeek R1 32B on OpenUI (Windows 11)

To create a UI similar to ChatGPT, we will use OpenUI, which is freely available and integrates with Ollama to provide a web-based chat interface.

  1. Install Docker on Windows 11:
    • Download and install Docker Desktop.
    • Ensure Docker is running by searching for “Docker Desktop” and opening it.
  2. Pull OpenUI Docker Image: Open Command Prompt and run:docker pull ghcr.io/open-webui/open-webui:main
  3. Run OpenUI with Docker:docker run -d --name openui -p 3000:3000 -e OLLAMA_BASE_URL=http://host.docker.internal:11434 ghcr.io/open-webui/open-webui:mainThis starts the OpenUI service on port 3000 and connects it to the local Ollama instance.
  4. Access OpenUI in Browser: Open your web browser and go to:http://localhost:3000You should now see the OpenUI chat interface, allowing you to interact with DeepSeek R1 32B just like ChatGPT!

Conclusion

By following this guide, you have successfully set up and run the DeepSeek R1 32B model locally using Ollama on Windows 11. You have also integrated OpenUI to create a ChatGPT-like experience for interacting with the model. This setup allows for powerful, offline AI interactions with a user-friendly web interface.

What do you think?

Leave a Reply

Your email address will not be published. Required fields are marked *

GIPHY App Key not set. Please check settings

deepseek vs chatgpt

Difference Between Chat GPT and DeepSeek

majorona 1

Microsoft Unveils Majorana 1: A Quantum Leap in Computing