All models

Literature · gevaertlab

MANTA-27B

A 27.5-billion-parameter multimodal medical decision model providing calibrated option probabilities in a single pass.

What MANTA-27B is

MANTA-27B (Medical Answers, Natively from Text And images) is a multimodal medical decision model created by the Gevaert Lab in the Department of Computational Medicine at Stanford University. Rather than generating unstructured conversational text, MANTA-27B is engineered to evaluate clinical text and medical imaging against up to 64 questions simultaneously. For every question and proposed option, the model computes calibrated probabilities in a single forward pass.

The model addresses the need for fast, statistically reliable categorical predictions across clinical workflows without the latency and verbosity of generative large language models. It spans a wide variety of medical imaging types—including radiology, histopathology, endoscopy, dermatology, ophthalmology, and rendered physiological signals—alongside biomedical text records and exam benchmarks.

Across evaluation suites, MANTA-27B delivers high accuracy and low calibration error (ECE-15 of 0.021 on in-domain medical test sets), providing a dedicated classifier for diagnostic queries, biomarker presence assessments, and ordinal severity grading.

How it works

MANTA-27B builds upon the Qwen3.8-27B vision-language backbone, adapting both its textual and visual representations end-to-end. It replaces conversational autoregressive generation with a dedicated decision head trained from scratch to score discrete answer options directly. Inputs consist of clinical state information (as text or JSON), optional images, and structured question criteria, supporting up to 4,096 prompt tokens.

Questions fall into three formats: multi-class selection ('choice', presenting up to 24 options), binary presence queries ('noul' for yes/no or present/absent conditions), and ordered ordinal scales ('score'). The network was trained across approximately 8.5 million decision requests (68% medical) using roughly 1,800 H100 GPU-hours. Three-dimensional CT or MRI scans are ingested as two-dimensional slices, videos as single frames, and physiological time-series signals as rendered visual plots or spectrograms. Inference achieves a median latency of 148 milliseconds on an H100 GPU.

Key facts

Backbone architecture
Adapted Qwen3.8-27B vision-language model with a custom decision head
Total parameters
27.5B (BF16 format, 55.0 GB across 12 safetensors shards)
Model type
Multimodal decision classifier (no text generation)
Supported inputs
Clinical text or JSON, 2D images, and up to 64 structured questions (maximum 4,096 tokens)
Output format
Calibrated probability distributions across answer options per question
Hardware requirements
Approximately 60 GB GPU memory (evaluated on a single 80 GB GPU)
Median latency
148 ms (batch size 1 on an H100 GPU)

What you can use it for

Biomarker and finding detection
Determining the binary presence or absence of specific pathological indicators, such as intraretinal fluid in retinal scans or fractures in paediatric radiographs.
Localised region classification
Classifying anomalies within specific image regions of interest specified by normalised bounding-box coordinates, such as grading arterial stenosis in coronary angiograms.
Standardised medical examination scoring
Evaluating medical knowledge and answering multi-choice medical examination questions from benchmarks like MedQA, MedMCQA, PubMedQA, and HEAD-QA.

Run it here

We list this model but cannot run it yet: it was saved with a newer transformers release than our general image runs, so it needs an image of its own.

Everything on this page still applies. Running it needs a loader for this repository, not a bigger machine.

Strengths and limits

Good at

  • Evaluates up to 64 complex clinical questions concurrently in a single forward pass with a median latency of 148 milliseconds.
  • Delivers well-calibrated probabilities, achieving an expected calibration error of 0.021 on in-domain medical test sets.
  • Broad multimodal scope spanning radiology, pathology, endoscopy, ophthalmology, dermatology, and rendered physiological signals.

Watch out for

  • For research use only: it is not a medical device and must not be used for diagnosis, treatment or any clinical decision.
  • Does not generate conversational text, open-ended reports, or natural-language clinical reasoning chains.
  • Input contexts are capped at 4,096 prompt tokens, with excess tokens truncated from the end of the input.
  • Cannot process volumetric 3D imaging or temporal videos natively, requiring prior conversion to 2D slices or static frames.
  • Designed solely as a research model and is not certified as a medical device for autonomous clinical diagnosis or treatment.

Inputs and outputs

You provide

  • Text

    The passage to classify.

You get back

  • Labels with confidence scores, highest first.

Licence

Check the licence before commercial use · apache-2.0

The apache-2.0 licence carries terms worth reading before you depend on it.

Questions

Can I use MANTA-27B commercially?

Check the licence before commercial use. The apache-2.0 licence carries terms worth reading before you depend on it.

What question types can MANTA-27B process?

It accepts three distinct formats: 'choice' for categorical multi-option questions (up to 24 options shown simultaneously), 'noul' for binary yes/no or present/absent decisions, and 'score' for ordered ordinal levels such as disease staging.

Does MANTA-27B provide natural-language reasoning or explanations?

No. The model features a decision head trained specifically to score options directly rather than an autoregressive text generator, meaning it outputs numerical probability distributions rather than written text.

How are 3D imaging scans and audio signals supplied to the model?

Three-dimensional CT and MRI volumes must be supplied as individual 2D slices, and temporal physiological recordings such as ECGs, lung sounds, or EEGs must be converted into visual plots or spectrogram images.

How are specific regions of interest queried within an image?

Bounding boxes or specific coordinate points are provided as normalised text coordinates on a 0–1000 scale directly within the question prompt, without drawing markings onto the image itself.

What computational resources are required for local inference?

The model requires roughly 60 GB of GPU memory, allowing it to run on a single 80 GB accelerator such as an NVIDIA H100.

How to cite it

@misc{manta2026, title = {MANTA: Medical Answers, Natively from Text And images}, author = {{Gevaert Lab, Stanford University}}, year = {2026}, howpublished = {https://huggingface.co/gevaertlab/MANTA-27B}, note = {Technical report forthcoming}}

Written from MANTA-27B's own documentation (model card). Statements citing a figure that does not appear there are removed before publication. Licence and running details come from our registry.