olivenet's picture
Update README.md
618c06c verified
|
Raw
History Blame
6.25 kB
metadata
language:
  - en
license: apache-2.0
tags:
  - thermodynamics
  - exergy-analysis
  - second-law
  - industrial-energy
  - domain-specific
  - fine-tuned
  - gguf
  - ollama
  - edge-deployment
base_model: Qwen/Qwen3-8B
model_type: causal-lm
quantized_by: unsloth
pipeline_tag: text-generation
library_name: llama.cpp
datasets:
  - custom

EntropyHunter-8B v0.4 β€” Exergy Analysis Specialist

A fine-tuned LLM specialized in second-law thermodynamic (exergy) analysis of industrial equipment.

EntropyHunter performs rigorous exergy calculations including energy/exergy balances, entropy generation, exergoeconomic analysis, and thermodynamic optimization β€” tasks that general-purpose LLMs struggle with despite their broad knowledge.

Key Features

  • Domain Expert: Trained specifically for exergy (second-law) analysis across 7 equipment types and 6 analysis categories
  • Verified Training Data: 1,369 examples generated by Claude Opus 4.6 and validated through thermodynamic consistency checks (energy balance, Gouy-Stodola, Bejan number)
  • Edge Deployable: 8B parameters, Q4_K_M quantization (4.7 GB) β€” runs on laptops, Jetson Orin, and industrial edge devices without cloud connectivity
  • No Cloud Required: Industrial data stays on-premise β€” EU data sovereignty compliant

Model Details

Property Value
Base Model Qwen3-8B
Fine-tuning LoRA (r=16, Ξ±=32) via Unsloth
Training Data 1,235 train / 134 val examples (ChatML)
Teacher Model Claude Opus 4.6 (knowledge distillation)
Quantization Q4_K_M (4.7 GB)
Context Length 8,192 tokens
Training Loss 0.408
Thinking Mode Disabled (direct response, no chain-of-thought tokens)

Supported Analysis Types

Analysis Description
Basic Exergy Exergy destruction, exergetic efficiency, irreversibility
Entropy Generation Entropy generation mechanisms, Gouy-Stodola theorem
Exergoeconomic Cost of exergy destruction, thermoeconomic evaluation
What-If Comparison Parameter sensitivity, operating condition optimization
Avoidable/Unavoidable Splitting exergy destruction into improvement potential
Hotspot Detection Multi-equipment system bottleneck identification

Supported Equipment

Compressors, heat exchangers, boilers, steam turbines, pumps, chillers, dryers, and multi-equipment factory systems β€” across 48 industrial subtypes.

Quick Start β€” Ollama

# Download and create model
ollama create entropy-hunter -f Modelfile

# Run
ollama run entropy-hunter "Perform exergy analysis for a centrifugal compressor with inlet air at 25Β°C, 101.325 kPa; outlet at 215Β°C, 800 kPa; mass flow 2.5 kg/s; power input 520 kW; isentropic efficiency 78%. Dead state: Tβ‚€ = 25Β°C, Pβ‚€ = 101.325 kPa."

Modelfile

FROM ./entropy-hunter-v04-Q4_K_M.gguf

PARAMETER temperature 0.7
PARAMETER top_p 0.8
PARAMETER top_k 20
PARAMETER num_ctx 8192
PARAMETER stop <|im_end|>
PARAMETER stop <|endoftext|>

SYSTEM """You are an expert thermodynamics engineer specializing in exergy (second-law) analysis of industrial equipment. You perform rigorous calculations using dead state conditions Tβ‚€ = 25Β°C (298.15 K), Pβ‚€ = 101.325 kPa. /no_think"""

Quick Start β€” llama.cpp

./llama-cli \
  --model entropy-hunter-v04-Q4_K_M.gguf \
  --ctx-size 8192 \
  --temp 0.7 \
  --top-p 0.8 \
  --top-k 20 \
  -p "Perform exergy analysis for a shell-and-tube heat exchanger..."

Training Pipeline

Claude Opus 4.6 (Teacher)
    β”‚
    β–Ό
1,500 examples generated (Batch API)
    β”‚
    β–Ό
Thermodynamic QC Pipeline
β”œβ”€β”€ Energy balance verification (Β±1%)
β”œβ”€β”€ Gouy-Stodola consistency check
β”œβ”€β”€ Bejan number range (0-1)
β”œβ”€β”€ Exergoeconomic f-factor validation
β”œβ”€β”€ Self-correction aware parsing
└── Balance-line fallback extraction
    β”‚
    β–Ό
1,369 verified examples (93.4% pass rate)
    β”‚
    β–Ό
LoRA Fine-tuning (Qwen3-8B, Unsloth)
β”œβ”€β”€ r=16, Ξ±=32, lr=1e-4
β”œβ”€β”€ 3 epochs, 465 steps
└── Training loss: 0.408
    β”‚
    β–Ό
GGUF Export (Q4_K_M, 4.7 GB)

Version History

Version Base Model Data Score Notes
v0.1 Qwen2.5-7B 722 examples 63.5% First attempt, structural learning
v0.2 Qwen2.5-7B 885 examples 85.5% Stable, "mention vs calculate" fix
v0.3 Qwen2.5-7B 885 (JSON-free) 78.3% Failed experiment, archived
v0.4 Qwen3-8B 1,369 examples TBD Current β€” scaffold format, verified distillation

Base Model Comparison (Pre-v0.4)

Model Benchmark Score Notes
Base Qwen2.5-7B 68.4% No fine-tuning
Base Qwen3-8B 82.6% No fine-tuning
Fine-tuned v0.2 (Qwen2.5-7B) 85.5% 885 examples

Limitations

  • Arithmetic: 8B models have inherent arithmetic inconsistency β€” same inputs can produce slightly different numerical results across runs
  • JSON Output: Cannot reliably produce structured JSON (known 7B/8B limitation)
  • Language: English only (optimized for tokenizer efficiency)
  • Scope: Industrial equipment exergy analysis only β€” not a general thermodynamics tutor

Intended Use

  • Industrial energy auditors performing second-law analysis
  • Engineers identifying thermodynamic inefficiencies in equipment
  • Edge deployment for real-time exergy monitoring (IoT integration)
  • Educational tool for exergy analysis methodology

About

Built by Kemal DΓΌzkar, chemical engineer and founder of Olivenet (Northern Cyprus). EntropyHunter is part of the ExergyLab ecosystem β€” bringing thermodynamic intelligence to industrial IoT.

Philosophy: Teaching a small model what only large models know β€” so it can run where large models can't.

Citation

@misc{entropyhunter2026,
  title={EntropyHunter-8B: A Domain-Specific LLM for Industrial Exergy Analysis},
  author={DΓΌzkar, Kemal},
  year={2026},
  url={https://huggingface.co/olivenet/entropy-hunter-8b-gguf}
}

License

Apache 2.0