Yuliang-Liu/Monkey

Monkey (LMM): Image Resolution and Text Label Are Important Things for Large Multi-modal Models (CVPR 2024 Highlight)

What it solves

Monkey is a series of Large Multi-modal Models (LMMs) designed to improve how AI understands images, specifically by focusing on the importance of high image resolution and detailed text labels. It addresses the limitation of many multimodal models that struggle with high-resolution images and fine-grained visual details, such as text within images (OCR).

How it works

The project implements several variations of the model, including Monkey-Chat, TextMonkey, and Mini-Monkey. These models leverage existing architectures (like QwenVL, InternLM2, and miniCPM) and enhance them through image resolution enhancement and token compression methods. The project provides a full pipeline for data generation, training (via fine-tuning scripts), and inference, allowing the models to process high-resolution images and answer complex visual questions.

Who it’s for

Researchers and developers working on multimodal AI, specifically those interested in high-resolution image understanding, document parsing, and Visual Question Answering (VQA).

Highlights

  • High-Resolution Support: Specifically optimized for high-resolution images to improve accuracy in tasks like OCR and detailed visual analysis.
  • Model Zoo: Includes various versions such as Monkey-Chat for general chat, TextMonkey for OCR-free document understanding, and Mini-Monkey for multi-scale adaptive cropping.
  • Comprehensive Tooling: Provides training code, a data generation pipeline, and evaluation scripts for 14 different VQA datasets.
  • Competitive Performance: Ranked highly on OpenCompass in the Multimodal Model category.

Related

  • Project
  • Project
  • Project
  • Project