IndicFinDoc: Multilingual Financial Document Intelligence

IndicFinDoc is an experimental parameter-efficient adaptation of DeepSeek-OCR 3B for multilingual financial and business document understanding.

The project explores visual document transcription and structured information extraction, with an initial emphasis on Hindi and bilingual Hindi-English business documents.

Its broader objective is to investigate how pretrained vision-language models can be adapted and evaluated for complex enterprise document-processing workflows.

Model Details

Model Description

IndicFinDoc uses LoRA-based parameter-efficient adaptation of the DeepSeek-OCR vision-language model.

The intended tasks are:

  1. Document OCR: Transcribe visible text while preserving the original script, numbers, punctuation, reading order and document structure.
  2. Structured extraction: Extract visible financial and business document fields into structured JSON representations.

The project focuses on document types such as invoices, receipts, commercial invoices, credit notes, payment advice and other business documents represented in the training data.

The adapter is intended to be used with its compatible base model. It is not a standalone replacement for DeepSeek-OCR.

  • Developed by: Subodh Lonkar
  • Funded by: Independently developed research and engineering project
  • Shared by: Subodh Lonkar
  • Model type: Vision-language model with LoRA adaptation
  • Languages: Hindi and English in the initial dataset
  • Additional language ambitions: Marathi and other Indic languages; performance not yet established
  • License: No independent adapter license is asserted. Consult the base-model and dataset licenses before use or redistribution.
  • Fine-tuned from: DeepSeek-OCR

Model Sources

Uses

Direct Use

The adapter is intended for experimentation with:

  • OCR of Hindi and bilingual Hindi-English business documents.
  • Transcription of visible document content.
  • Extraction of structured fields from financial documents.
  • Research into multilingual document understanding.
  • Evaluation of vision-language models on scanned and synthetic business documents.

Use the adapter with the compatible DeepSeek-OCR base-model implementation and its required inference dependencies.

Downstream Use

Potential downstream applications include:

  • Invoice and receipt processing.
  • Financial document digitization.
  • Document classification and extraction pipelines.
  • Multilingual enterprise document intelligence.
  • Human-reviewed document automation workflows.

These are intended application areas, not claims of validated production performance.

Out-of-Scope Use

This model should not independently be used for:

  • Autonomous financial approvals or payments.
  • Regulatory or legal decisions.
  • Fraud determinations.
  • Unreviewed financial reconciliation.
  • Decisions requiring guaranteed transcription accuracy.
  • Inferring information that is not visible in the source document.

Bias, Risks, and Limitations

  1. Limited language coverage: Initial data focuses on Hindi and English. Marathi and other Indic-language performance has not been independently established.
  2. Synthetic data limitations: Synthetic business documents may not adequately represent real-world handwriting, layouts, stamps, image degradation and document variability.
  3. OCR errors: Visually similar characters, low-resolution text, unusual fonts and mixed scripts may cause transcription errors.
  4. Table interpretation: Complex tables, merged cells and irregular layouts may be incorrectly interpreted.
  5. Extraction hallucinations: The model may generate fields or values that are not supported by the source document.
  6. Template generalization: Performance on unseen document templates requires independent evaluation.
  7. Confidence calibration: Confidence scores must not be treated as probabilities of correctness without calibration.
  8. Base-model dependency: This repository contains an adapter and requires the compatible base model and inference environment.

Recommendations

  • Validate extracted values against the original document.
  • Retain source-page references and image-region evidence for extracted fields.
  • Use deterministic validation for dates, currencies, totals and arithmetic relationships.
  • Route uncertain cases to human reviewers.
  • Evaluate separately across languages, document types and image-quality conditions.
  • Do not use the model as the sole authority for consequential financial decisions.

How to Get Started with the Model

Install the Hugging Face ecosystem and the compatible DeepSeek-OCR inference dependencies.

from huggingface_hub import snapshot_download

adapter_path = snapshot_download(
    repo_id="learner-subodh/IndicFinDoc-DeepSeek-OCR-3B-LoRA"
)

print("Adapter downloaded to:", adapter_path)

Load the adapter using the inference and PEFT integration supported by the exact DeepSeek-OCR base-model implementation.

The adapter should not be loaded as an independent text-generation model. Refer to the base model's documentation for its vision preprocessing, model loading and inference requirements.

Training Details

Training Data

The initial data source is:

Hyperbots Synthetic Hindi Business Documents

The dataset provides synthetic Hindi and bilingual business-document images with associated annotations.

The available annotations include OCR text, document metadata and structured labels.

The dataset is distributed under CC BY 4.0 according to its dataset card. Consult the original dataset card for attribution and usage requirements.

The project preparation pipeline:

  • Downloads the dataset directly from Hugging Face.
  • Decodes and normalizes document images.
  • Converts supported images into RGB PNG format.
  • Associates OCR and structured-extraction targets with source images.
  • Groups multiple tasks belonging to one document under a shared document identifier.
  • Splits data by source document to avoid image-level leakage across splits.

Actual usable sample counts depend on successful image decoding and annotation availability in the executed pipeline.

Training Procedure

The project uses parameter-efficient fine-tuning with Low-Rank Adaptation (LoRA).

The intended training environment is Google Colab with an NVIDIA T4 GPU.

Preprocessing

  • Image decoding and RGB normalization.
  • PNG conversion.
  • OCR annotation extraction.
  • Structured-label preparation.
  • Document-level train, validation and test separation.
  • Task-specific instruction formatting.

Training Hyperparameters

  • Training approach: LoRA
  • LoRA rank: 16
  • LoRA alpha: 16
  • Per-device training batch size: 1
  • Gradient accumulation steps: 8
  • Effective batch size: 8, assuming one device
  • Training regime: Mixed precision as supported by the selected runtime and model implementation.
  • Optimizer: Refer to the executed training configuration; not independently recorded in this card.
  • Learning rate: Not independently recorded.
  • Training epochs: Not independently recorded.

Speeds, Sizes, Times

Training duration, throughput, adapter size and peak GPU memory usage have not been independently measured and are therefore not reported.

Evaluation

Testing Data, Factors and Metrics

Testing Data

The initial dataset is derived from the Hyperbots Synthetic Hindi Business Documents collection.

The project uses document-level splits so that OCR and extraction task examples originating from the same image remain in the same split.

An independent real-world multilingual financial document benchmark has not yet been established.

Factors

Planned evaluation dimensions include:

  • Hindi and English text.
  • Mixed-script documents.
  • Document type.
  • Image resolution.
  • Skew and rotation.
  • Blur and noise.
  • Table complexity.
  • Unseen document templates.

Metrics

The following metrics are planned:

  • Character Error Rate (CER): Character-level transcription errors.
  • Word Error Rate (WER): Word-level transcription errors.
  • Field-level precision, recall and F1: Structured extraction quality.
  • Table structure accuracy: Preservation of rows, columns and cell relationships.
  • Evidence-grounding accuracy: Whether extracted values are supported by visible document regions.
  • Latency: End-to-end inference time.
  • Inference cost: Estimated cost per processed document.

Results

No independently verified quantitative benchmark results are published in this model card.

Performance claims will be added after reproducible evaluation against held-out documents.

Summary

IndicFinDoc is an experimental adaptation project. Its effectiveness across languages, document types and image-quality conditions remains subject to empirical validation.

Model Examination

The project is designed to support analysis of:

  • OCR transcription errors.
  • Multilingual script confusion.
  • Table-structure failures.
  • Structured extraction errors.
  • Unsupported field generation.
  • Generalization to unseen document layouts.

No formal interpretability study is claimed at this stage.

Environmental Impact

The intended development environment is Google Colab.

  • Hardware Type: NVIDIA T4 GPU (intended training hardware)
  • Hours used: Not measured
  • Cloud Provider: Google Colab
  • Compute Region: Not recorded
  • Carbon Emitted: Not measured

Carbon emissions can be estimated using the Machine Learning Impact calculator.

Technical Specifications

Model Architecture and Objective

IndicFinDoc is based on DeepSeek-OCR, a vision-language model designed for document-oriented visual understanding.

The project applies LoRA to adapt the pretrained model to document OCR and structured extraction tasks.

The training objective is supervised adaptation using image-and-instruction inputs paired with target text or structured annotations.

Compute Infrastructure

Hardware

  • Intended accelerator: NVIDIA T4
  • Intended VRAM: 16 GB
  • Environment: Google Colab

Actual hardware availability and training execution must be verified for each run.

Software

  • Python
  • PyTorch
  • Hugging Face Transformers
  • Hugging Face Datasets
  • Hugging Face Hub
  • PEFT / LoRA
  • Unsloth
  • Pillow
  • NumPy
  • Pandas

Exact package versions should be taken from the executed training environment.

Citation

There is currently no separate research publication introducing IndicFinDoc.

If referencing this project, cite the repository:

@misc{lonkar2026indicfindoc,
  author = {Lonkar, Subodh},
  title = {IndicFinDoc: Multilingual Financial Document Intelligence},
  year = {2026},
  howpublished = {\url{https://huggingface.co/learner-subodh/IndicFinDoc-DeepSeek-OCR-3B-LoRA}}
}

Glossary

  • OCR: Optical Character Recognition.
  • VLM: Vision-Language Model.
  • LoRA: Low-Rank Adaptation, a parameter-efficient model adaptation technique.
  • CER: Character Error Rate.
  • WER: Word Error Rate.
  • RAG: Retrieval-Augmented Generation.
  • Document-level split: A dataset partitioning strategy that keeps all examples derived from the same source document in one split.

More Information

IndicFinDoc is an independently developed research and engineering project exploring multilingual enterprise document intelligence.

The broader research direction includes adaptive image preprocessing, multi-pass inference, evidence-grounded extraction, confidence calibration, selective escalation and document-level evaluation.

These are project directions and should not be interpreted as implemented or benchmarked capabilities unless explicitly documented.

Model Card Authors

Subodh Lonkar

Model Card Contact

Hugging Face: https://huggingface.co/learner-subodh

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for learner-subodh/IndicFinDoc-DeepSeek-OCR-3B-LoRA

Adapter
(28)
this model