Downloads · 30 days
8
7% of all-time downloads
luliuzee/metermind-ernie-gauge-lora
metermind-ernie-gauge-lora is a image-text-to-text model from luliuzee. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as apache-2.0.
Fine-tuned LoRA adapter for reading analog industrial gauges from images.
Downloads · 30 days
8
7% of all-time downloads
All-time downloads
117
Public
Repo size
1.2 GB
Likes
2
Public
Click a slice to open those files.
.safetensors1.2 GB · 100%
From the Hugging Face model README
Fine-tuned LoRA adapter for reading analog industrial gauges from images.
MeterMind is a fine-tuned version of ERNIE-4.5-VL-28B-A3B that accurately reads analog gauge values from photographs. It was trained on synthetic industrial gauge images and achieves near-human accuracy.
| Metric | Baseline (Zero-Shot) | MeterMind (Fine-Tuned) | Improvement |
|---|---|---|---|
| MAE | 2.82 | 0.60 | 79% better |
| RMSE | 4.35 | 1.10 | 75% better |
| Within ±1 | 53% | 87% | +34 points |
| Exact Match | 27% | 60% | +33 points |
q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj, fc1, fc2
from transformers import AutoProcessor, AutoModelForVision2Seq
from peft import PeftModel
# Load base model
base_model = AutoModelForVision2Seq.from_pretrained("unsloth/ERNIE-4.5-VL-28B-A3B-PT")
processor = AutoProcessor.from_pretrained("unsloth/ERNIE-4.5-VL-28B-A3B-PT")
# Load LoRA adapter
model = PeftModel.from_pretrained(base_model, "luliuzee/metermind-ernie-gauge-lora")
# Inference
prompt = "What is the reading on this gauge? Reply with only the numeric value."
# ... process image and generate
@misc{metermind2024,
title={MeterMind: Industrial Gauge Reading with Fine-Tuned ERNIE-4.5-VL},
author={luliuzee},
year={2024},
publisher={HuggingFace}
}