//clika-runtime/io.clika.modelverse/AutoModel
AutoModel
[common]
object AutoModel
Load any registered model by name: the family's declared modalities pick the door, or task names it (Task). The answer is the door's handle, a PreTrainedModel. A door this binding serves no handle for yet (image segmentation) refuses with UNSUPPORTED, naming the task.
Functions
| Name | Summary |
|---|---|
| fromPretrained | [common] fun fromPretrained(source: String, options: LoadOptions = LoadOptions(), task: String? = null): PreTrainedModel |
| kindFor | [common] fun kindFor(source: String, options: LoadOptions = LoadOptions(), task: String? = null): String The door source loads through, as its task: from task when given, else from the family's modalities. |