Kaun_huggingface.RegistrySourceRegistry of known model architectures with their loading functions
type ('params, 'a, 'dev) model_spec = {architecture : string;Architecture name (e.g., "GPT2", "BERT")
*)config_file : string;Config filename (e.g., "config.json")
*)weight_files : string list;Weight filenames to try (e.g., "model.safetensors", "pytorch_model.bin")
load_config : Yojson.Safe.t -> 'params;Parse config JSON into model parameters
*)build_params : dtype:(float, 'a) Rune.dtype -> 'params -> Kaun.params;Build parameter tree from config
*)}Register a model architecture
Get a registered model spec