//clika-runtime/io.clika.modelverse/PreTrainedModel
PreTrainedModel
sealed interface PreTrainedModel
A loaded model of any door: its config (the identity the registry resolved for its source) and close. The handles are GenerativeModel, SttModel, TtsModel, VisionModel and TranslateModel.
Inheritors
| DiarizationModel |
| EmbeddingModel |
| GenerativeModel |
| ImageGenerationModel |
| RerankerModel |
| SttModel |
| TranslateModel |
| TtsModel |
| VideoGenerationModel |
| VisionModel |
Properties
| Name | Summary |
|---|---|
| config | [common] abstract val config: PretrainedConfig The checkpoint's identity, read when the model opened. |
Functions
| Name | Summary |
|---|---|
| residency | [common] abstract fun residency(): ResidencyReport What the model holds on each device right now (ResidencyReport); a closed model refuses with ModelverseException. |