Model reference · open weights

resnet50.tcga_brca_simclr

Available as managed deployment Embeddings 1aurent · community Embeddings 1 variants 642 dl/mo

resnet50.tcga_brca_simclr is an open-weight embedding model from 1aurent. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.

Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.

What it is

Released by1aurent
TypeEmbedding models
TaskEmbeddings
Parameters (lead)24M
Runs withtimm
Released2023-10-28
Popularity642 downloads / month
LicenceOpen, with conditions

About

What resnet50.tcga_brca_simclr is

A ResNet50 image classification model.
Trained on 2M histology patches from TCGA-BRCA.

Read the full model card

Model Details

  • Model Type: Feature backbone
  • Model Stats:
    • Params (M): 23.6
    • Image size: 256 x 256 x 3
  • Papers:
    • Self-Supervised Vision Transformers Learn Visual Concepts in Histopathology: https://arxiv.org/abs/2203.00585
  • Dataset: TCGA BRCA: https://portal.gdc.cancer.gov/
  • Original: https://github.com/Richarizardd/Self-Supervised-ViT-Path/
  • License: GPLv3

Model Usage

Image Embeddings

from urllib.request import urlopen
from PIL import Image
import timm

# get example histology image
img = Image.open(
  urlopen(
    "https://github.com/owkin/HistoSSLscaling/raw/main/assets/example.tif"
  )
)

# load model from the hub
model = timm.create_model(
  model_name="hf-hub:1aurent/resnet50.tcga_brca_simclr",
  pretrained=True,
).eval()

# get model specific transforms (normalization, resize)
data_config = timm.data.resolve_model_data_config(model)
transforms = timm.data.create_transform(**data_config, is_training=False)

output = model(transforms(img).unsqueeze(0))  # output is (batch_size, num_features) shaped tensor

Citation

@misc{chen2022selfsupervised,
  title         = {Self-Supervised Vision Transformers Learn Visual Concepts in Histopathology},
  author        = {Richard J. Chen and Rahul G. Krishnan},
  year          = {2022},
  eprint        = {2203.00585},
  archiveprefix = {arXiv},
  primaryclass  = {cs.CV}
}

From the published model card. Full card on the HuggingFace links in the sidebar.

How it works

How embedding models work

Your textsentence / documentEncodermaps meaningVectorlist of numbersAn embedding model turns text into a vector, so similar meanings sit close together — the basis of search and RAG.

Benchmarks

Reported results

As published on the model card — the maker's own numbers, not measured by AxForge.

TaskDatasetMetricScore
Image ClassificationTCGA-BRCAAUC

Using it via the API

Call it like any OpenAI endpoint

Once AxForge deploys resnet50-tcga-brca-simclr for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (resnet50-tcga-brca-simclr below is illustrative; you get the exact model name on deployment.)

$ curl -sS https://api.axforge.ai/v1/embeddings \
  -H "Authorization: Bearer $AXFORGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"resnet50-tcga-brca-simclr","input":"text to embed"}'

Create an account — your API key is available in the console. 3M free tokens every 30 days with every new account.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms