odoo-coder-14b-GGUF
model for writing Odoo code
2 min readupdated
This model is a version of Qwen/Qwen2.5-Coder-14B-Instruct with an integrated adapter for generating code across various versions of the Odoo platform (from 14.0 to 20.0 Community). The files are converted to GGUF (quantization format for running models on consumer hardware) using Q4_K_M quantization, making it accessible for local execution. The model targets developers who need to automate the creation of models, views, and business logic for Odoo without relying on external cloud services.
Key features
- Based on Qwen2.5-Coder-14B-Instruct with a trained LoRA (small add-on layer over the base model) adapter added.
- Available in Q4_K_M quantization weighing 9.0 GB, as well as a standalone adapter file weighing 138 MB.
- Shows an accuracy of 0.906 on the test set compared to 0.796 for the base model.
- Supports Odoo Community syntax versions from 14.0 to 20.0.
What you can do
- Run the model locally via Ollama to generate Odoo code interactively.
- Use it via llama.cpp with a system prompt specifying the target framework version.
- Create xml view descriptions, data models, and Python business logic for Odoo modules.
Example
huggingface-cli download parabol123654/odoo-coder-14b-GGUF odoo-coder-14b-Q4_K_M.gguf Modelfile --local-dir .
ollama create odoo-coder:14b -f Modelfile
ollama run odoo-coder:14b "Odoo 18.0: list view for res.partner with name, email, phone."Read more
DetailsBenchmarks: on the test set (291 items) the score increased from 0.796 to 0.906; on unseen tasks from 0.867 to 0.891.
Requirements: the model file weighs 9.0 GB (Q4_K_M), suitable for local runs on a PC with a mid-range GPU or CPU.
License: Apache-2.0.










Comments