HVAC fault diagnoser: Qwen2.5-3B LoRA
HVAC system fault diagnosis
2 min readupdated
This model is built on Qwen/Qwen2.5-3B-Instruct using the peft library (a tool for efficient fine-tuning of large language models). It analyzes weekly Building Management System (BMS) sensor data and the residual errors of a calibrated digital twin, then classifies faults into 16 categories and severity levels. This solution is useful for engineers and developers working on building automation, predictive analytics, and engineering system optimization.
Key features
- Recognition of 16 classes of potential faults and their severity levels in HVAC systems.
- Use of digital twin data (residuals), which improves accuracy compared to raw logs.
- Training and testing on 672 held-out days (months that were not included in training).
- Availability of weights as LoRA adapters for flexible integration into working pipelines.
What you can do
- Apply the model in predictive analytics pipelines to automatically detect failures in smart buildings.
- Analyze class probabilities using saved probability matrices.
- Experiment with combining LoRA adapters and gradient boosting.
Example
The model takes a single weekday of BMS trend data and digital twin residuals as input, and outputs a letter code for the fault class according to the specification in classes.json.
Read more
DetailsBenchmarks: accuracy of Qwen2.5-3B LoRA with logs and digital twin is 46.3% (compared to 28.6% on raw logs).
Requirements: peft library, adapters are available in the repository.
Limitations: the model was trained on simulated building data (EnergyPlus DOE 5-zone office) and has not been tested on real field data.










Comments