neurovlm.models.registry.resolve_model_spec

neurovlm.models.registry.resolve_model_spec#

neurovlm.models.registry.resolve_model_spec(name=None, *, family=ModelFamily.MLP, task=None, domain=None, variant=None)[source]#

Resolve a legacy alias or structured selection to a canonical spec.

CNN contrastive and text-to-brain selections require a domain and default to the released mixed-autoencoder baseline for that domain. A domain-specialized CNN is selected only by explicitly passing variant="finetuned". Legacy names remain explicit aliases to their historical artifacts.

Parameters:
Return type:

ModelSpec