https://nxtcode.hashnode.dev/how-to-set-up-deepseek-r1-on-your-machine-vs-code
Part 1: Why Deepseek-r1 is a Game-Changer
With the rapid growth of Large Language Models (LLMs), Deepseek-r1 has become a top AI model. It matches the performance of models like GPT-01 in reasoning and code generation, making it a powerful tool for developers.
Part 2: Setting Up Deepseek-r1 (Using Windows CMD)
-
Install Ollama
- Download Ollama from the official website.
- Run the downloaded file and complete the setup.
-
Download the Deepseek-r1 Model
- Open CMD and run this command:
ollama pull deepseek-r1
-
To test if the model is working, use this command:
curl http://localhost:11434/api/generate -d "{\"model\": \"deepseek-r1:latest\", \"prompt\": \"Why is the sky blue?\"}"
If you see output in the terminal, Deepseek-r1 is ready to go!
Part 3: Setting Up the Continue.dev Extension
-
Install Visual Studio Code (VS Code)
- Download and install VS Code.
-
Install the Continue.dev Extension
- Open VS Code and go to the Extensions Marketplace.
- Search for "Continue.dev" and install it.
-
Connect Deepseek-r1 to Continue.dev
- Open the Continue.dev extension.
- Click the model selection button at the bottom-left corner.
- Select "Ollama" and choose the "Deepseek-r1" model.
Part 4: Using Deepseek-r1
Now you can use Deepseek-r1’s features directly in VS Code:
- Autocomplete: Get smart suggestions while writing code.
- Code Refactoring: Ask the AI to optimize or rewrite your code.
- Code Explanations: Understand what your code does with AI help.
Part 5: Why Choose Deepseek-r1?
- Logical Reasoning: Makes smarter decisions using logical tree reasoning.
- Transformer Technology: Excels in code generation tasks.
- Local Execution: Runs on your machine for better privacy and faster responses.
Part 6: WhatsApp Status Message
"Deepseek-r1: Smarter than GPT, excelling in reasoning and code generation. 🚀
DeepseekR1 #AI #Coding #WindowsCMD"
Start using Deepseek-r1 in your workflow and enjoy smarter, faster coding! 🥂
Top comments (0)