Skip to main content

//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)

Properties​

NameSummary
architecture[common]
val architecture: String
description[common]
val description: String
family[common]
val family: String
hasAudioProcessor[common]
val hasAudioProcessor: Boolean
hasImageProcessor[common]
val hasImageProcessor: Boolean
hasTokenizer[common]
val hasTokenizer: Boolean
hasVideoProcessor[common]
val hasVideoProcessor: Boolean
hiddenSize[common]
val hiddenSize: Int
identityOnlyPurpose[common]
val identityOnlyPurpose: String
inputModalities[common]
val inputModalities: List<String>
isMoe[common]
val isMoe: Boolean
isMultimodal[common]
val isMultimodal: Boolean
licenseUrl[common]
val licenseUrl: String
modelType[common]
val modelType: String
numAttentionHeads[common]
val numAttentionHeads: Int
numExperts[common]
val numExperts: Int
numHiddenLayers[common]
val numHiddenLayers: Int
numKeyValueHeads[common]
val numKeyValueHeads: Int
outputModalities[common]
val outputModalities: List<String>
pipelineTags[common]
val pipelineTags: List<String>
runnable[common]
val runnable: Boolean
slidingWindow[common]
val slidingWindow: Long
vendor[common]
val vendor: String