/ Модель

Характеристики

Контекст
128 000 токенов
Параметры
7,1 млрд
Размер весов
16,6 ГБ
Лицензия
MIT
Архитектура
qwen2_5_vl · dense
Базовая модель
Qwen2.5-VL-7B-Instruct
Библиотека
Electricity-Meter-OCR-7B
Опубликована
20 июн 2025

Electricity-Meter-OCR-7B

Описание изображенийИзображение → текст3 профессии

Дообученная мультимодальная модель Qwen для извлечения показаний электросчётчиков непосредственно из их изображений.

5 518скачиваний за 30 дней2лайкавеса обновлены24 июл 2025

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Распознавание текста» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Word2Li/Electricity-Meter-OCR-7B — дообученная командой Word2Li модель Qwen2.5-VL-7B-Instruct для автоматического считывания показаний электросчётчиков по изображению. Модель принимает целое изображение счётчика и генерирует показание текстом, например «8430.6», без отдельного этапа поиска и обрезки дисплея. В основе — визуальный энкодер ViT и авторегрессионный языковой декодер; модель содержит 7,1 млрд параметров, использует контекст до 128 000 токенов и распространяется в формате Safetensors.

Модель предназначена для интеграции в системы автоматического учёта коммунальных ресурсов. Обучение проводилось на 841 вручную размеченном изображении электросчётчиков; целевые показания приведены к шестизначному формату с сохранением ведущих и конечных нулей. Качество может снижаться на изображениях с типами счётчиков, качеством съёмки или условиями освещения, заметно отличающимися от обучающих данных. Лицензия — MIT.

Сценарии применения

  • автоматическое считывание показаний электросчётчика по фотографии
  • извлечение числовых показаний с дисплеев счётчиков
  • встраивание распознавания показаний в приложение учёта коммунальных ресурсов

Ограничения

Качество может снижаться на изображениях с типами счётчиков, качеством съёмки и условиями среды, существенно отличающимися от обучающих данных. Обучение проведено на 841 изображении, а целевые показания стандартизированы до шестизначного формата с сохранением нулей.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

full

This model is a fine-tuned version of Qwen/Qwen2.5-VL-7B-Instruct on the orgin_detection_val and origin_detection datasets. It is designed for the task of automatically reading electricity meter displays from images in an end-to-end fashion.

Model Description

This project addresses the automatic reading of smart meter images. Traditional methods often rely on a multi-stage pipeline involving object detection (e.g., YOLO) to locate the display area, followed by Optical Character Recognition (OCR) on the cropped region. This approach, while established, suffers from a cumbersome workflow, error propagation from detection to recognition, and poor robustness to image distortions, uneven lighting, and background noise.

To overcome these limitations, this model employs an end-to-end Image-to-Text paradigm. It treats the meter reading task as a direct generation problem, taking an entire meter image as input and producing the numerical reading (e.g., "8430.6") as a text sequence. This simplifies the pipeline and leverages global image context for higher accuracy.

The core of the model is a Large Vision-Language Model (LVLM) with two main components:

  • Vision Encoder: A Vision Transformer (ViT) that encodes the input image into a series of rich feature vectors. ViT's global receptive field allows it to capture key details and spatial relationships, making it resilient to minor rotations, scaling, or occlusions.
  • Language Decoder: A large-scale autoregressive language model that processes the visual features and generates the final text output character by character. Its pre-training on vast text corpora enables it to understand the logical structure of numerical sequences (like decimal points), preventing common-sense errors.

Intended uses & limitations

This model is intended for developers and researchers working on automated utility meter reading systems. It can be directly integrated into applications requiring the extraction of numerical data from meter images. By replacing complex multi-model pipelines, it can significantly reduce development and maintenance overhead.

While designed for robustness, performance may vary with out-of-distribution images that differ significantly from the training data in terms of meter type, image quality, or environmental conditions.

Training and evaluation data

The training data consists of 841 manually annotated images of electricity meters, provided for a course and therefore not publicly available. We partitioned 1/10 of the data as the validation set (origin_detection_val) and the rest as the training set (origin_detection). To ensure format consistency during training, all target readings were formatted into a standardized six-digit representation, with leading and trailing zeros preserved.

Training procedure

The model was trained using Supervised Fine-Tuning (SFT) on the pre-trained Qwen/Qwen2.5-VL-7B-Instruct model. The open-source LLaMA-Factory framework was utilized for the training process.

To enhance the model's generalization capabilities, the following data augmentation techniques were applied online during training:

  • Random adjustments to brightness and contrast.
  • Minor affine transformations.

Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 1e-05
  • train_batch_size: 1
  • eval_batch_size: 8
  • seed: 42
  • distributed_type: multi-GPU
  • num_devices: 8
  • gradient_accumulation_steps: 2
  • total_train_batch_size: 16
  • total_eval_batch_size: 64
  • optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
  • lr_scheduler_type: cosine
  • lr_scheduler_warmup_ratio: 0.1
  • num_epochs: 3.0

Training results

0.96 acc in test set (unavailable).

Framework versions

  • Transformers 4.50.0
  • Pytorch 2.6.0+cu124
  • Datasets 3.2.0
  • Tokenizers 0.21.0

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · Electricity-Meter-OCR-7B

Можно запустить

Подбираем GPU…

Класс архитектуры
Qwen2_5_VLForConditionalGeneration
Ревизия весов
60620b4

0 моделей