xnn.common.models.hub.card#

Model cards: the metadata that describes one pre-trained model.

A ModelCard is what the registry lists, what list_models() shows, and what a portable model directory carries in its card.json. The same record describes every kind of model the hub manages: an xnn-trained checkpoint, a converted MACE foundation model, or a model published on Zenodo. Only plain JSON types are stored, so a card reads the same on every system the directory is copied to.

Classes

ModelCard(name[, description, format, ...])

Metadata of one pre-trained model.