How to setup the Qwen Coder 7B model

https://huggingface.co/Qwen/Qwen2.5-Coder-7B-Instruct-GGUF

Download Qwen Coder 7B model from Huggingface to C:\AIModels

Open Huggingface.co
Figure 1 - Open Huggingface.co

Open model page
Figure 2 - Open model page

Download model file
Figure 3 - Download model file

Paste model file to C:\AIModels folder
Figure 4 - Paste model file to C:\AIModels folder

Setup model in Ozeki AI studio

Open AI Studio
Figure 5 - Open AI Studio

Create new GGUF model
Figure 6 - Create new GGUF model

Select model file
Figure 7 - Select model file

Create HTTP API user for Qwen Coder 7B model

Open AI studio
Figure 8 - Open AI studio

Open AI Gateway
Figure 9 - Open AI Gateway

Add new AI Chatbot
Figure 10 - Add new AI Chatbot

Install HTTP user
Figure 11 - Install HTTP user

HTTP user details
Figure 12 - HTTP user details

Enable logging
Figure 13 - Enable logging

Generate API key
Figure 14 - Generate API key

Copy API key
Figure 15 - Copy API key

Test Qwen Coder 7B model with Postman

Configure authorization in Postman
Figure 16 - Configure authorization in Postman

Send request in Postman
Figure 17 - Send request in Postman

{
	"model": "qwen_coder",
	"messages": [
		{"role": "user", "content": "Write me an example C# function, that adds two numbers"}
	]
}

Response in Postman
Figure 18 - Response in Postman

{
    "id": "chatcmpl-LAKKHDFTWPYROXHMMHPAXNYJCDNWJ",
    "object": "chat.completion",
    "created": 1739274728,
    "model": "qwen_coder",
    "choices": [
        {
            "index": 0,
            "message": {
                "role": "assistant",
                "content": "Here's an example C# function that adds two numbers:\n```\npublic static ...
                "refusal": null
            },
            "logprobs": null,
            "finish_reason": "stop"
        }
    ],
    "usage": {
        "prompt_tokens": 0,
        "completion_tokens": 0,
        "total_tokens": 0,
        "completion_tokens_details": {
            "reasoning_tokens": 0
        }
    },
    "system_fingerprint": "fp_f85bea6784"
}

HTTP user communication log
Figure 19 - HTTP user communication log

More information