DocSEAM
Multipage Document Analysis
2 min read
DocSEAM is an AI model designed for working with multipage documents, reports, and presentations by combining visual features of adjacent pages using centralized masked attention. Based on Qwen3.5-9B (9.64B parameters) and developed by researchers at Nanyang Technological University, it allows you to answer questions across multiple pages simultaneously while accounting for the full document context. It is useful for researchers, developers, and analysts who need to automate data extraction from complex multipage PDFs and scans.
Key features
- Bidirectional cross-page encoding to connect adjacent pages
- Preservation of the original number of visual tokens for the language model
- Full checkpoint in BF16 format across six safetensors files
- High scores on the MP-DocVQA, SlideVQA, and DUDE benchmarks
What you can do
- Run a local pipeline with PyTorch and Transformers to answer questions on PDF pages
- Integrate the model into an enterprise search system for document archives
- Extract data and tables from multipage financial reports and presentations
Example
from pathlib import Path
import torch
from qwen_vl_utils import process_vision_info
from transformers import AutoModelForImageTextToText, AutoProcessor
model_path = "mossbee/DocSEAM"
processor = AutoProcessor.from_pretrained(model_path)
model = AutoModelForImageTextToText.from_pretrained(
model_path, dtype=torch.bfloat16, device_map={"": "cuda:0"}, trust_remote_code=True
)
Read more
DetailsBenchmarks: MP-DocVQA ANLS 89.2, SlideVQA Accuracy 87.1, DUDE ANLS 63.0
Requirements: A CUDA GPU with sufficient VRAM for BF16 weights and activations
License: S-Lab License 1.0 for non-commercial use










Comments