FourthDimention's picture
Update README.md
1d9abc7 verified
|
Raw History Blame Contribute Delete
4.62 kB
metadata
dataset_info:
  features:
    - name: input
      dtype: string
    - name: expected_output
      dtype: string
    - name: model_output
      dtype: string
  splits:
    - name: train
      num_bytes: 3611
      num_examples: 10
  download_size: 4783
  dataset_size: 3611
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train-*

Asset-Aide: Gas Turbine Diagnostic Blind Spots

My experimentation with the Qwen2.5-Coder-3B Base model revealed a significant 'Technical Regression' blind spot. While the model correctly identifies the industrial domain, it consistently fails to provide actionable mechanical diagnostics. Specifically, in 70% of scenarios, the model entered a 'Tautological Loop,' repeating general definitions (e.g., describing what a turbine is) instead of addressing the specific symptom (e.g., High EGT). Furthermore, the model showed a 'Logical Cascade' failure in Scenario #9, incorrectly linking efficiency loss directly to lubrication, demonstrating a lack of understanding of thermodynamic fouling. This research proves that even high-performance 'Coder' models require domain-specific fine-tuning (Asset-Aide) to be viable for Industrial Digital Twin applications.

Dataset Link: https://huggingface.co/datasets/FourthDimention/qwen2.5-coder-blindspots

1. Loading and implementation of Model

I used the Qwen/Qwen2.5-Coder-3B model, which is a base model. Methodology: I used Google collab to load the model. It enabled me to use their free GPU since my laptop RAM was below par. The process was optimised thanks to the use of 4-bit quantization made possible by bitsandbytes. In line with the instructions of the process, I employed the Base model to observe the raw mechanical priors rather than an instruction-tuned version. The goal was to eliminate safety-filter interference.

How I loaded the model:

from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig
import torch

quant_config = BitsAndBytesConfig(
    load_in_4bit=True,
    bnb_4bit_quant_type="nf4",
    bnb_4bit_compute_dtype=torch.bfloat16
)

model = AutoModelForCausalLM.from_pretrained(
    "Qwen/Qwen2.5-Coder-3B",
    quantization_config=quant_config,
    device_map="auto"
)

### 2. Proposed Strategy for Fine-Tunning
My research revealed a typical blindspot with base models, which is repetition loops and lack of physical causality. This means the model requires Supervised Fine-Tuning (SFT) on a Causal-Maintenance dataset. While I wanted the model to inform me of possible causes and actions to mitigate mechanical issues, it was just churning out texts. 
For the training, the dataset to be used must hinge on State-Change logic. This means it must transition from a fault condition to a corrected one through some form of specific interventions. 

### 3. Fine-Tuning Dataset Acquisition
I have been working on gas turbines and other rotating equipment in the energy industry for over 15 years. So I think the following three sources will help with the required amount and quality of dataset:
  i. OEM Technical/TroubleShooting Manuals:** This could be sourced from GE, which is the company I currently work for. GE made a commitment of $50m to MIT to drive energy technology innovation. This shows their commitment to innovation. 
  ii. Sensor-to-Text Mapping:** Sensors are mounting on GE gas turbines. Some are to check for vibration, lube oil temperature, bearing condition, and other hardware at the combustion section. Data from these sensors can help in natural language diagnostic descriptions. 
  iii. Synthetic Maintenance Logs:** Based on the knowledge of experts in the field, LLMs can be used to write thousands of realistic scenarios. These experts will help in forcing AI to follow a particular reasoning process. In the end, the logs will be at par with standards. 

### 4. Estimated Scaling Requirements
The model showed high level of efficiency in the knowledge of mechanical engineering lingua. So this truncates the amount of data needed to fine-tune it. The data we need is to ensure that the model follows a particular way of reasoning/. 
For the Supervised fine-tuning, I need between 5000 to 12000 top quality prompt-completion pairs. These pairs must be verified by industry experts and the data must be focused on mechanical fault diagnostics of rotating equipments such as gas turbines. 
For the model evaluation after fine-tuning, I would need about 1000 high-quality edge-case scenarios. This will help me to ensure that the model has stopped the "Stochastic Parroting" and repetitions observed during my research.