//clika-runtime/io.clika.modelverse/PretrainedConfig
PretrainedConfig
[common]
data class PretrainedConfig(val family: String, val modelType: String, val architecture: String, val vendor: String, val description: String, val licenseUrl: String, val pipelineTags: List<String>, val inputModalities: List<String>, val outputModalities: List<String>, val isMoe: Boolean, val isMultimodal: Boolean, val hasTokenizer: Boolean, val hasImageProcessor: Boolean, val hasAudioProcessor: Boolean, val hasVideoProcessor: Boolean, val numHiddenLayers: Int, val hiddenSize: Int, val numAttentionHeads: Int, val numKeyValueHeads: Int, val slidingWindow: Long, val numExperts: Int, val runnable: Boolean, val identityOnlyPurpose: String)
A checkpoint's identity as the registry resolves it from its configuration alone, before any weight is read: the family that serves it, its model type and architecture, the family's description, the modalities it takes and gives, the variant's facts, what its processor carries, and whether the family runs in this binding (runnable; identityOnlyPurpose says what an identity-only family is for).
Constructors
| PretrainedConfig | [common] constructor(family: String, modelType: String, architecture: String, vendor: String, description: String, licenseUrl: String, pipelineTags: List<String>, inputModalities: List<String>, outputModalities: List<String>, isMoe: Boolean, isMultimodal: Boolean, hasTokenizer: Boolean, hasImageProcessor: Boolean, hasAudioProcessor: Boolean, hasVideoProcessor: Boolean, numHiddenLayers: Int, hiddenSize: Int, numAttentionHeads: Int, numKeyValueHeads: Int, slidingWindow: Long, numExperts: Int, runnable: Boolean, identityOnlyPurpose: String) |