| --- |
| library_name: pytorch |
| license: other |
| license_name: polyform-noncommercial-1.0.0 |
| license_link: LICENSE.md |
| pipeline_tag: image-feature-extraction |
| tags: |
| - endoscopy |
| - medical |
| - foundation-model |
| - gastric-cancer |
| --- |
| |
| # GutCore model weights |
|
|
| GutCore is an endoscopy foundation model for whole-case gastric cancer |
| analysis. See the [medRxiv preprint](https://www.medrxiv.org/content/10.64898/2026.07.01.26356993v2) |
| and [inference code](https://github.com/SMC-GutX/GutCore). |
|
|
| ## Files |
|
|
| | File | Contents | |
| |---|---| |
| | `GutCore-ViT-L.pth` | Pretrained image encoder state dictionary | |
| | `GutCore-GC.pth` | Fine-tuned encoder, gated attention aggregation, and cancer classifier state dictionary | |
|
|
| Each `.pth` file is a flat `dict[str, Tensor]` containing model tensors only. |
| Optimizer state, scheduler state, epochs, metrics, and training history are not |
| included. The JSON files record architecture and inference configuration. |
| SHA-256 digests are provided in `checksums.sha256`. |
|
|
| Official downloads are verified against the published SHA-256 checksums. Only |
| load a local `.pth` file when you trust its source. |
|
|
| ## Download |
|
|
| The GutCore package downloads the immutable `v0.1.0` revision automatically: |
|
|
| ```bash |
| uv run gutcore-download --model all |
| ``` |
|
|
| Files can also be downloaded directly: |
|
|
| ```bash |
| hf download SehunFromDaegu/GutCore \ |
| GutCore-ViT-L.pth GutCore-GC.pth \ |
| --revision v0.1.0 |
| ``` |
|
|
| ## Intended use |
|
|
| The models are released for noncommercial academic research. They are not |
| medical devices and must not be used for diagnosis, screening, prognosis, |
| treatment selection, or patient management. See `MODEL_CARD.md`, `LICENSE.md`, |
| and `NOTICE.md` before use or redistribution. |
|
|