Downloads · 30 days
79
10% of all-time downloads
Tendrun/qwen3.6-27b-django-coder-gguf
qwen3.6-27b-django-coder-gguf is a text generation model from Tendrun. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
A Qwen3.6 27B LoRA fine-tune focused on Python/Django coding-agent workflows, released as a GGUF Q4KM quantization for local inference.
Downloads · 30 days
79
10% of all-time downloads
All-time downloads
822
Public
Repo size
16.5 GB
Likes
3
Public
Click a slice to open those files.
.gguf16.5 GB · 100%
From the Hugging Face model README
A Qwen3.6 27B LoRA fine-tune focused on Python/Django coding-agent workflows, released as a GGUF Q4_K_M quantization for local inference.
This model was trained to improve local coding-agent behavior on Python repositories, with emphasis on Django project development, traceback-driven debugging, and iterative code repair.
The release includes a GGUF Q4_K_M quantization intended for local inference with llama.cpp-compatible tools and coding agents.
qwen3.6-27b-django-coder-ggufQwen/Qwen3.6-27BThis model is intended for local coding-agent workflows, especially when working with Python and Django repositories.
It is designed for tasks such as:
The model is best used inside coding-agent tools such as Kilo Code, llama.cpp-compatible interfaces, LM Studio, Ollama, or similar local inference setups.
The training dataset was built from selected Python/Django repositories.
The data preparation process used a repository-to-SFT workflow based on Repo-to-sft, which extracts real Python/Django code from repositories and prepares supervised fine-tuning records in the following format:
Message, Response, Reasoning
The important design choice is that the Response field is based on original repository code, while the local model is used to generate the corresponding instruction-style Message and Reasoning.
The dataset was focused on Python .py files and Django-oriented repository code rather than frontend-specific training.
The dataset was intentionally curated and balanced for practical backend Django/Python development rather than general Python syntax.
The goal was to expose the model to repository-level implementation patterns that appear in real Django systems, including database relationships, ORM/queryset usage, transactions, forms, validation, middleware, authentication, authorization, permissions, security-related patterns, signals, admin configuration, migrations, DRF/API views, and iterative traceback-driven debugging.
This design was intended to fill practical behavior gaps in local coding-agent workflows: understanding how Django components interact across files, making focused backend changes, preserving project structure, and repairing runtime issues without unnecessary rewrites.
The dataset contains 24k+ SFT records in Message, Response, Reasoning format and is weighted toward backend implementation patterns rather than frontend styling.
The dataset was created from multiple Python/Django repositories, including projects such as:
The goal was not to train a general frontend model, but to improve backend-oriented Python/Django coding behavior.
The final GGUF model was produced using the following pipeline:
Qwen/Qwen3.6-27B base model
+
LoRA adapter
↓
merged BF16/HF model
↓
GGUF F16
↓
GGUF Q4_K_M
During conversion, the merged model configuration required a compatibility fix before GGUF export.
The merged config declared:
"mtp_num_hidden_layers": 1
However, the merged weights did not contain MTP / NextN tensors for an additional layer. This caused the GGUF loader to expect a missing tensor:
blk.64.attn_norm.weight
The fix was to set:
"mtp_num_hidden_layers": 0
before running the HF-to-GGUF conversion. After this config correction, the F16 GGUF loaded successfully and was then quantized to Q4_K_M.
In local manual testing, the model showed strong practical behavior for Django coding-agent workflows.
Observed strengths:
The model appears strongest on backend-oriented Django work, especially when editing or debugging existing Python/Django code.
This model is primarily backend-oriented.
Known limitations:
For production Django projects, always review generated code, run tests, inspect migrations, and manually verify authentication, authorization, validation, and security-sensitive behavior.
For Django-focused work, the following system instruction is recommended:
You are a Django-only Python coding agent. When the user asks for a Django app, always use Django project structure, Python files, templates, static files, models, views, urls, forms, admin and migrations. Never use Node.js, Express, npm, React, Next.js, Vite or TypeScript unless the user explicitly asks for them.
For stricter backend-only work:
Focus on Django backend implementation. Prefer models, views, forms, URLs, admin, migrations, templates, and server-side validation. Do not prioritize frontend styling unless explicitly requested.
llama-cli \
-m qwen3.6-27b-django-coder-Q4_K_M.gguf \
-p "Create a Django e-commerce app with products, cart, wishlist, orders, and checkout." \
-n 2048
llama-server \
-m qwen3.6-27b-django-coder-Q4_K_M.gguf \
-c 32768
You are working inside an existing Django project.
Add a wishlist feature:
- authenticated users can add and remove products from wishlist
- create or update the required model
- add views and URLs
- update templates
- do not use Node.js or frontend frameworks
- preserve the existing Django project structure
Fix this Django error. Explain the cause briefly, then patch the relevant files only.
Traceback:
[paste traceback here]
Recommended areas to test:
| Area | What to check |
|---|---|
| Django project generation | Does it create valid Django structure? |
| Existing project editing | Does it preserve the current architecture? |
| Traceback debugging | Does it identify the correct file and fix the root cause? |
| Forms and validation | Does it use Django Forms and backend validation correctly? |
| Auth and permissions | Does it prevent users from accessing other users' data? |
| Migrations | Are model changes reflected in migrations? |
| Frontend output | Is the UI usable, even if simple? |
| Token efficiency | Does it solve tasks with fewer tokens than the base model? |
This release contains only the GGUF Q4_K_M model file.
No adapter, merged BF16 model, dataset, or evaluation suite is included in this release.
This is a code-generation model intended for local development assistance. Generated code should be reviewed before use. Do not use generated payment, authentication, authorization, or validation logic without manual inspection and testing.