Sponsored by
Vmake Labs Video Enhancer
-Vmake Labs Video Enhancer uses AI to improve video quality, restore details, reduce blur, and upscale videos to 8K.
EGFR classification of LUAD tumors using EXAONE Path 2.0 - a pathology foundation model with end-to-end supervision.
Overview
This model serves as a reference for predicting EGFR mutation status using LUAD (lung adenocarcinoma) tumor images as input.
When the model receives an H&E-stained whole slide image as input, it passes through the EXAONE Path 2.0 foundation model, which converts it into a set of features.
These features are then integrated into a slide-level feature representation through an aggregator.
Finally, a linear classifier predicts the EGFR mutation status (wild-type or mutated).
The model achieves an average performance of AUROC 0.85 on in-house data.
This open-source release aims to demonstrate the effectiveness of EXAONE Path 2.0 on biomarker prediction tasks.
It is hoped that this source code will serve as an important reference not only for LUAD EGFR prediction but also as an image-based solution for various disease-related problems, including molecular subtyping, tumor subtyping, and mutation prediction.
Setup
pip install -r requirements.txt
Load model and run inference
from predictor import EXAONEPathLuadEgfrPredictor
hf_token = "YOUR_HUGGING_FACE_ACCESS_TOKEN"
model = EXAONEPathLuadEgfrPredictor.from_pretrained("LG-AI-EXAONE/EXAONE-Path-LUAD-EGFR-Predictor", use_auth_token=hf_token)
svs_path = "samples/EGFR-mutated.svs"
pos_prob = model(svs_path)
svs_path = "samples/EGFR-wild.svs"
neg_prob = model(svs_path)
print(f"EGFR mutation prob of positive sample: {pos_prob:.2f}")
print(f"EGFR mutation prob of negative sample: {neg_prob:.2f}")
EXAONE-Path-EGFR huggingface.co is an AI model on huggingface.co that provides EXAONE-Path-EGFR's model effect (), which can be used instantly with this LGAI-EXAONE EXAONE-Path-EGFR model. huggingface.co supports a free trial of the EXAONE-Path-EGFR model, and also provides paid use of the EXAONE-Path-EGFR. Support call EXAONE-Path-EGFR model through api, including Node.js, Python, http.
EXAONE-Path-EGFR huggingface.co is an online trial and call api platform, which integrates EXAONE-Path-EGFR's modeling effects, including api services, and provides a free online trial of EXAONE-Path-EGFR, you can try EXAONE-Path-EGFR online for free by clicking the link below.
LGAI-EXAONE EXAONE-Path-EGFR online free url in huggingface.co:
EXAONE-Path-EGFR is an open source model from GitHub that offers a free installation service, and any user can find EXAONE-Path-EGFR on GitHub to install. At the same time, huggingface.co provides the effect of EXAONE-Path-EGFR install, users can directly use EXAONE-Path-EGFR installed effect in huggingface.co for debugging and trial. It also supports api for free installation.