Deepseek: Start Using It on your machine Offline
/ How to start using Deepseek, and start creating your own your project with it.
DeepSeek is a Chinese artificial intelligence company that develops open-source large language models (LLMs). Here's a breakdown of what makes them notable:
Key Points:
Open-source LLMs: DeepSeek focuses on creating AI models that are freely available for anyone to use, modify, and distribute. This contrasts with some companies that keep their AI technology proprietary.
Cost-efficient training: DeepSeek has gained attention for training its models at a significantly lower cost compared to some competitors. They claim to have trained their DeepSeek-R1 model for roughly $6 million, while similar models have cost hundreds of millions to train.
Focus on reasoning: DeepSeek emphasizes developing LLMs with advanced reasoning capabilities, allowing them to perform well on tasks like math, coding, and scientific reasoning.
Rapid rise in popularity: DeepSeek's chatbot app quickly became the most downloaded free app on the iOS App Store in the United States, surpassing even ChatGPT.
Research-oriented: DeepSeek is primarily focused on research and doesn't have detailed plans for commercialization at this stage.
DeepSeek is an emerging player in the AI field, known for its open-source approach, cost-efficient training methods, and focus on reasoning capabilities. While the company is still primarily research-oriented, its rapid rise in popularity and innovative techniques make it an important player to watch in the evolving world of AI.
How To Run Deepseek on Your Computer
Now let us learn how we can run Deepseek in our machine (offline).
Install Ollama
First, you need to install Ollama on your system.
Linux & macOS
Run This command in your terminal
curl -fsSL https://ollama.com/install.sh | sh
Windows
Download the installer from Ollama's website and install it.
Download the DeepSeek AI Model
Ollama supports various models, including DeepSeek Coder and DeepSeek Chat.
To pull DeepSeek Coder:
ollama pull deepseek-coder
To pull DeepSeek Chat:
ollama pull deepseek-chat
Run the Model Locally
Once downloaded, you can start using it:
For DeepSeek Coder:
ollama run deepseek-coder
For DeepSeek Chat:
ollama run deepseek-chat
This will start an interactive chat session with the model.
Using the Model in Python
If you want to integrate it into a Python application, you can use the Ollama Python API:
Install the Ollama Python Package:
pip install ollama
Use the model in a script:
import ollama response = ollama.chat(model="deepseek-chat", messages=[{"role": "user", "content": "Hello, how are you?"}]) print(response["message"]["content"])
Run Ollama as a Background Server
If you want to use Ollama in a web app or API:
Start the server in the background:
ollama server
Use it via API:
curl http://localhost:11434/api/generate -d '{ "model": "deepseek-chat", "prompt": "Tell me about AI" }'
🚀 Start Building Today! 🚀
The power of AI is now in your hands—offline, fast, and ready to bring your ideas to life. Whether you're building the next big coding assistant, a smart chatbot, or a revolutionary AI-driven tool, DeepSeek AI + Ollama gives you the freedom to create without limits.
💡 Don't wait for the perfect moment—start now! Every great project begins with a single step, and the best way to learn is by doing. Push past doubts, experiment fearlessly, and turn your vision into reality. The world needs your innovation. 🌍✨
🔥 What will you create today? 🔥