/ Модель

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

Лицензия
Gemma
Архитектура
gemma3 · dense
Базовая модель
gemma-3-4b-it
Библиотека
transformers
Опубликована
5 окт 2026

gemma3_4b_deedexp_v8

Генерация текстаТекст → текст

Экспериментальная дообученная Gemma 3 4B IT извлекает сведения о сторонах, объекте и регистрации из OCR-текста документов о передаче недвижимости в Карнатаке и возвращает их в JSON.

400скачиваний за 30 дней0лайковвеса обновлены5 окт 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Модель anandkaman/gemma3_4b_deedexp_v8 — экспериментальная дообученная версия Gemma 3 4B IT для извлечения сведений из OCR-текста документов о регистрации недвижимости в штате Карнатака. Она принимает текст на каннада и английском и формирует одну запись JSON с данными покупателей и продавцов, объекта недвижимости, сумм и регистрационных реквизитов. Обучение включало адаптацию к текстам зарегистрированных документов, этап обучения пониманию ролей и полей, а затем supervised fine-tuning для извлечения данных.

Модель предназначена для автоматизации разбора документов о передаче недвижимости: определяет стороны по их роли в сделке, извлекает идентификаторы, адреса, даты и сборы, а пропущенные или нечитаемые значения возвращает как null. В предварительной оценке на 78 документах показаны высокие результаты по отдельным полям, включая дату регистрации, регистрационный сбор и Aadhaar; автор обозначает версию v8 как кандидата для тестирования.

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

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

  • извлечение покупателей и продавцов из документов о регистрации недвижимости
  • разбор адреса и характеристик объекта недвижимости
  • извлечение Aadhaar и PAN из регистрационных документов
  • определение даты регистрации, регистрационного офиса и сборов
  • преобразование OCR-текста документа о передаче недвижимости в JSON

Ограничения

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

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

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

Открыть на Hugging Face

gemma3_4b_deedexp_v8

This model reads the OCR text of a Karnataka property registration document (Kannada + English) and returns one JSON record: the buyers, the sellers, property details and document details.

It is a fine-tune of Gemma 3 4B-it, trained in three stages:

  1. domain-adaptive pre-training on registered-document text;
  2. an instruction "bridge" stage that teaches what the document wording means (roles, IDs, dates);
  3. supervised extraction training.

Status: v8 candidate, for testing. Feedback and failure cases are welcome. Contact: kamananand98@gmail.com.

Output schema

{
 "buyer_details":  [{"name", "gender": "Male|Female|null", "father_name", "aadhaar_number", "pan_card_number", "address", "state"}],
 "seller_details": [ ...same fields... ],
 "property_details": {"schedule_c_property_address", "state", "sale_consideration", "registration_fee", "paid_in_cash": "yes|no"},
 "document_details": {"transaction_date": "YYYY-MM-DD", "registration_office"}
}

Main rules the model was trained on. The full list is in prompts/single_full.txt.

  • Roles come from what the document says each party does (sells or receives), not from the order they are printed in. Confirming and consenting parties are never sellers.
  • transaction_date = the document's registration date from the Sub-Registrar endorsement, not the execution date.
  • IDs are copied only for the person they are printed for. Invalid, masked or partial IDs → null. IDs are never repaired.
  • Missing or unreadable → null. The model is trained to leave a value out rather than guess it.

How to call

One request per document: a single user message = the prompt text + "\n\n" + the document's OCR text. Use greedy decoding and up to 5,000 new tokens.

prompt filestatus
prompts/single_full.txtdefault. The short rule set, used for every number on this card.
prompts/single_full_medium.txtalternative. The same rules explained in more detail. It tied the default on a 9-document check (one registration-fee miss). Try it if the default misses something on your documents.

Both prompts are part of the training data. Use them exactly as written: the model was trained on that text, so edited prompts can lower accuracy. A longer prompt variant was also trained, but it scored lower in our checks (it once swapped buyers and sellers), so it is not shipped.

pip install "transformers>=4.50" torch accelerate
python inference.py document_ocr.txt                    # default prompt
python inference.py document_ocr.txt --prompt medium    # alternative prompt

Use the tokenizer's chat template as provided. It already starts with <bos>, so do not add a second one. Training inputs were up to 20,480 tokens (prompt + OCR + answer).

Evaluation (preliminary)

The test set is 78 held-out documents from many Sub-Registrar offices. Each document got one single-shot prompt (style rotated). Scores are F1 or exact match, in %:

fieldscore
transaction_date98.1
registration_fee98.1
aadhaar_number97.2
sale_consideration96.8
paid_in_cash96.8
registration_office96.8
buyer count exact93.6
pan_card_number92.5
names92.4
father_name89.0
seller count exact87.2
valid JSON77 / 78

Known weak spots: long party lists (10+ sellers), where the model can stop the list early, and minors who sell through a guardian, who are sometimes left out.

Limitations and responsible use

  • The model works on OCR text, so OCR errors in IDs or names carry through. Always check extracted IDs against the document.
  • It was trained on Karnataka property transfer documents. Other document types (agreements, mortgages, partitions) and other states are out of scope.
  • The training documents contain personal data. Use the model only on documents you are authorised to process, and do not use it to look up or reconstruct information about individuals.

License

This model is a derivative of Gemma 3 and is distributed under the Gemma Terms of Use. Use is subject to the Gemma Prohibited Use Policy.

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

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

GPU в ailist

Универсальный рантайм · transformers

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

Подбираем GPU…

Класс архитектуры
Gemma3ForConditionalGeneration
Ревизия весов
f7cdcd9

0 моделей