File size: 1,097 Bytes
fb380f7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | ---
license: apache-2.0
base_model: Qwen/Qwen2.5-Coder-1.5B-Instruct
tags:
- optimization
- code-generation
- retail
- pyomo
- fine-tuned
---
# RetailOpt Codegen Coder
Fine-tuned Qwen2.5-Coder for natural-language retail supply-chain scenarios → executable Pyomo code.
## Training
| Property | Value |
|----------|-------|
| Base model | Qwen/Qwen2.5-Coder-1.5B-Instruct |
| Dataset | retailopt-10k-verified |
| Method | SFT (TRL) |
| Task | NL + JSON → Pyomo + HiGHS |
| Reference | SIRL-Gurobi |
## Training Command
```bash
hf jobs uv run scripts/run_finetune_job.py \
--flavor a10g-large --timeout 3h --secrets HF_TOKEN=$HF_TOKEN --detach
```
## Intended Use
Generate Pyomo optimization models for retail inventory, allocation, procurement,
distribution, fulfillment, and pricing scenarios from structured prompts.
## Limitations
- Trained on simplified Pyomo templates; complex shelf-life aging may require repair loop
- HiGHS solver required at inference time
- Not a substitute for human OR validation on production planning systems
|