Model
SophontAI

SophontAI/OpenMidnight

OpenMidnight !figure1(https://cdn-uploads.huggingface.co/production/uploads/6057b823861b9d53d9c4b8df/2PJpVl2k51pfjFg2Vs-oS.png) Overview of the OpenMidnight pathology foundation model State-of-the-art pathology foundation model trained on 12K slides...

41likes
0downloads
3views

🧪 OpenMidnight: The Efficient Pathology Foundation Model

A 1.1B-parameter Vision Transformer that achieves state-of-the-art pathology results on just 12K slides — for under $1,600.

OpenMidnight is an open-source replication of Kaiko.AI's Midnight, developed by Sophont. This 1.1 billion parameter Vision Transformer foundation model tackles computational pathology tasks — from tumor detection to tissue segmentation — while requiring dramatically less training data than competing models. Trained on only 12,000 H&E stained whole slide images from TCGA, it delivers competitive or superior performance across 14 standard benchmarks.

✨ Highlights

  • State-of-the-art performance: Achieves 0.775 average score across 14 computational pathology benchmarks
  • Efficient training: Runs in ~83 hours on 8× H100 GPUs for an estimated $1,600 USD
  • Minimal data footprint: Trained on only 12K slides from TCGA, far fewer than comparable models
  • Fully open source: Complete model weights, training code, and pipeline publicly available
  • DINOv2 ViT-G architecture: Finetuned vision transformer designed for H&E pathology images
  • Broad applicability: Supports tumor detection, histological grading, tissue segmentation, margin assessment, and clinical outcome prediction

💡 Why it matters

OpenMidnight challenges the assumption that pathology foundation models need massive datasets to perform well. By demonstrating state-of-the-art results with only 12K training slides — versus the 8–30× more data used by competing models — it opens the door for smaller research groups to develop competitive pathology AI. The fully open-source release, including weights, code, and training pipeline, lowers the barrier to entry and invites community collaboration.

For labs working on computational pathology, OpenMidnight offers a practical, high-performing starting point that doesn't require millions of dollars in compute resources or access to proprietary datasets.


#Pathology #FoundationModel #MedicalImaging #OpenSource #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryPython
rendeirolab/LazySlide

Accessible and interoperable whole slide image analysis for digital pathology in Python

333
Oct 6, 2026
Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...

♥0
157.6M
Jun 1, 2026
Model
genbio-ai/genbio-pathfm

GenBio-PathFM !Banner.(https://genbio-ai.github.io/genbio-pathfm/resources/banner.jpg) GenBio-PathFM is a histopathology foundation (FM) model from GenBio AI(https://genbio.ai/). At the time of release, GenBio-PathFM is the strongest open-weight his...

♥0
727
Apr 7, 2026
Modelimage-text-to-text
autotrust/JEV-27B-VL

autotrust/JEV-27B-VL JEV-27B that can see: the same System 1 decisions and System 2, now on images autotrust/JEV-27B-VL is autotrust/JEV-27B(https://huggingface.co/autotrust/JEV-27B) with vision. | | what it does | output | |---|---|---| | System 1...

♥0
63.7k
Oct 14, 2026
RepositoryPython
Dana-Farber-AIOS/pathml

Tools for computational pathology

469
Aug 14, 2026
RepositoryPython
slideflow/slideflow

Powerful, open-source AI tools for digital pathology.

377
Nov 30, 2026
RepositoryJupyter Notebook
Richarizardd/Self-Supervised-ViT-Path

Self-Supervised Vision Transformers Learn Visual Concepts in Histopathology (LMRL Workshop, NeurIPS 2021)

146
Jun 9, 2022
Modelimage-text-to-text
Qwen/Qwen3.8-27B

Qwen3.8-27B !Note This repository contains model weights and configuration files for the post-trained model in the Hugging Face Transformers format. These artifacts are compatible with Hugging Face Transformers, vLLM, SGLang, TokenSpeed, etc. !Tip F...

♥0
4.8M
Nov 7, 2026
Model
unsloth/Qwen3.8-27B-GGUF

Read our How to Run Qwen3.8-27B Guide!(https://unsloth.ai/docs/models/qwen3.8) This GGUF uses Unsloth Dynamic V3.0 (preview) for SOTA quantization performance. Developer Role Support so Qwen3.8 can work in agentic tools like Codex and more! MTP for...

♥0
8.7M
Nov 12, 2026