dataeval.types.ModelInfo

class dataeval.types.ModelInfo

Descriptive metadata for a model artifact.

name

Human-readable identifier for the model.

Type:

str

version

Model version string.

Type:

str or None

description

Free-text description.

Type:

str or None

framework

Serialization framework (e.g. "onnx", "torch", "tensorflow").

Type:

str or None

framework_version

Version of the framework the model was produced with.

Type:

str or None

task

Task category (e.g. "classification", "object_detection", "embedding").

Type:

str or None

input_spec

Free-form specification of inputs. Recommended keys: shape, dtype, name.

Type:

dict or None

output_spec

Free-form specification of outputs (same recommended keys as input_spec).

Type:

dict or None

checksum

Content checksum (recommended: sha256:<hex>).

Type:

str or None

license

SPDX license identifier or license name.

Type:

str or None