• author: Matthew Berman

Wizard Coder: Your Local Coding Assistant

Are you tired of spending endless hours writing code? What if you could have a coding assistant that runs locally on your computer and saves you time and effort? The solution is Wizard Coder. In this article, we’ll show you how to download, install, and use this local model that is specifically fine-tuned for coding.

What is Wizard Coder?

Wizard Coder is a new model created by Wizard LM which is tailored to coding tasks. The creators of this model have adapted their Evol instruct method specifically for coding tasks, which involves tailoring the prompt to the domain of code-related instructions. They then fine-tuned the model using a newly created instruction following training set, making it perform better than any other open-source coding model out there.

How to Download and Install Wizard Coder

Assuming you already have Text Gen Web UI installed on your local machine, you can download and install Wizard Coder with just a few simple steps:

  1. Run python server.py in your Conda environment to spin up the Text Gen Web UI server.
  2. Go to the drop-down menu and select the ‘Wizard Coder 15b’ model.
  3. Follow the prompts to download and install the model.

Testing Wizard Coder Locally

After installing Wizard Coder, you can begin testing it locally. Python Principles is a great website that provides a variety of Python programming challenges. By pasting the challenge prompt into Wizard Coder and selecting the ‘Wizard Coder 15b’ model, you can generate a solution for the challenge.

Examples of Challenges and Solutions

Capital Indexes Problem

Capital Indexes is a programming challenge that asks you to write a function that finds the indexes of all capital letters in a string. After pasting the challenge into Wizard Coder and generating a solution, the model outputted a function that returned the correct answer.

Divisible by Three Problem

The Divisible by Three programming challenge asks you to write a function that returns true if its single integer parameter is divisible by three, and false otherwise. Using Wizard Coder, a function that passed this challenge was generated effortlessly.

Thousands Separator Problem

The Thousands Separator programming challenge asks you to write a function that takes a non-negative number and adds commas as a thousands separator. Using Wizard Coder, a solution was generated that passed the challenge.

Python Version of the Game Snake

While Wizard Coder was able to generate solutions for relatively small programs with a low level of complexity, it wasn’t able to generate a Python version of the game Snake.

Using Wizard Coder Effectively

To get the best out of Wizard Coder, keep in mind these tips:

  • Remove example statements before running the model, especially when dealing with small programs. This is to keep things as simple as possible for both the user and the model.
  • Remember, Wizard Coder has a 2000 token limit. This limit can be extended by using the ‘Continue’ button, but it only works sometimes.
  • Use Wizard Coder to generate solutions for small to medium-sized programs with low to medium complexity.


Although Wizard Coder is not as powerful as GPT 3.5 or GPT 4, it is an effective solution for Python programmers looking for a local model to assist with coding. As the capabilities of local models continue to improve, we may see Wizard Coder becoming even more useful. Give it a try and see how it can save you time and effort while coding. If you encounter any issues setting it up, join the Discord community for help from other users. Don’t forget to like and subscribe for more helpful tips and tutorials!

Previous Post

Open LLM: A Revolutionary Open Source Repository for Building Applications

Next Post

Orca Mini Model: The First Implementation of Orca-like Training Techniques

About The auther

New Posts

Popular Post