Posts

Showing posts from January, 2025

Local AI Coding Assistant with Qwen 2.5

Image
Qwen is a large language model (LLM) developed by the Alibaba group. This model is quite well-known for its capabilities that compete with GPT-4 (OpenAI), Llama-3 (Meta), and Mistral (Mistral AI). Qwen is released under the Apache 2.0 license, so we can use it for both non-commercial and commercial purposes, such as coding local assistants for both personal and professional use. The latest version of Qwen is Qwen-2.5, and for coding, we will use Qwen-2.5-Coder. There are seven variants of Qwen-2.5 available, ranging from 0.5B, or 0.5 billion parameters, to 72B. Meanwhile, at the time of this writing, there are only six variants of Qwen-2.5-Coder, with the 32B variant being the flagship. The size of these parameters is related to the accuracy of the AI ​​model in handling complex coding tasks. The easiest way to use Qwen-2.5-Coder offline is to run it with Ollama. Ollama is a desktop application that makes it easy for users to run LLM on PCs or laptops running Windows, Mac, or Linux. Th...