Model reference · open weights
OmniRad-small is an open-weight embedding model from Snarcy. 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 by | Snarcy |
|---|---|
| Type | Embedding models |
| Task | Image embed |
| Parameters (lead) | 22M |
| Runs with | timm |
| Released | 2025-07-20 |
| Popularity | 594 downloads / month |
| Licence | Open weights |
About
OmniRad is a self-supervised radiological foundation model designed to learn stable, transferable, and task-agnostic visual representations for medical imaging. It is pretrained on large-scale, heterogeneous radiological data and intended for reuse across classification, segmentation, and exploratory vision–language tasks without task-specific pretraining.
This repository provides the OmniRad-small variant, a compact Vision Transformer encoder that offers an excellent trade-off between computational efficiency and representational power.
from PIL import Image
from torchvision import transforms
import timm
import torch
# Load OmniRad-small from Hugging Face Hub
model = timm.create_model(
"hf_hub:Snarcy/OmniRad-small",
pretrained=True,
num_classes=0 # return embeddings
)
model.eval()
device = "cuda" if torch.cuda.is_available() else "cpu"
model.to(device)
# Preprocessing
transform = transforms.Compose([
transforms.Resize((224, 224)),
transforms.ToTensor(),
transforms.Normalize(
mean=[0.485, 0.456, 0.406],
std=[0.229, 0.224, 0.225],
),
])
# Load image
image = Image.open("path/to/radiology_image.png").convert("RGB")
x = transform(image).unsqueeze(0).to(device)
# Extract features
with torch.no_grad():
embedding = model(x) # shape: [1, 384]
The official OmniRad repository provides end-to-end implementations for all evaluated downstream tasks:
👉 https://github.com/unica-visual-intelligence-lab/OmniRad
Including:
OmniRad is intended as a general-purpose radiological image encoder for:
Not intended for direct clinical deployment without task-specific validation.
This project and the released model weights are licensed under the Creative Commons Attribution 4.0 International (CC BY 4.0) license.
Made with ❤️ by UNICA Visual Intelligence Lab
From the published model card. Full card on the HuggingFace links in the sidebar.
How it works
Benchmarks
As published on the model card — the maker's own numbers, not measured by AxForge.
| Task | Dataset | Metric | Score |
|---|---|---|---|
| image-feature-extraction | RadImageNet | Representation learning |
Using it via the API
Once AxForge deploys omnirad-small for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (omnirad-small 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":"omnirad-small","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.