ONNX Model Zoo

monkt/doctype

By monkt · ↓ 0 · ♥ 1 · Updated 2025-10-07

What's in this repo

This page lists the files in monkt/doctype, including doctype_classifier.onnx.

  • 1 ONNX models (.onnx files)
  • 3 files, including 1 .md, 1 .onnx
  • Last updated 2025-10-07

ONNX files

File Size Download
doctype_classifier.onnx — Download

How to use

These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.

README

DocType - Document Image Classification

A high-performance MobileNetV3-based document classifier that categorizes document images into 7 distinct types. Optimized for production deployment with ONNX format.

🎯 Model Overview

This model classifies document images into the following categories:

Category Description
chart Charts, graphs, and data visualizations
diagram Flowcharts, diagrams, and technical drawings
document_handwritten Handwritten documents and notes
document_printed Printed text documents
map Maps and geographic visualizations
photo Photographs and natural images
screenshot Screenshots and screen captures

🚀 Performance

Model Metrics

  • Architecture: MobileNetV3-Large (transfer learning + fine-tuning)
  • Input Size: 320×320 pixels
  • Parameters: ~5.4M (lightweight and efficient)
  • Inference Time: ~10-30ms on CPU (depending on hardware)

Training Details

  • Dataset Size: 21,000 images (17,500 train / 2,100 val / 1,400 test)
  • Training Strategy:
    • Phase 1: Transfer learning with frozen base (40 epochs)
    • Phase 2: Fine-tuning entire model (20 epochs)
  • Data Augmentation: Rotation, shifts, zoom, brightness variation
  • Optimizer: Adam (lr=0.001 → 1e-5 for fine-tuning)

📮 Citation

If you use this model in your research or project, please cite.

Model info

onnx image-classification dataset:monkt/doctype license:mit region:us
↓ 0 ♥ 1

Created: 2025-10-05

Updated: 2025-10-07

View on Hugging Face

Files (3)

.gitattributes
README.md
doctype_classifier.onnx ONNX

Related models