//clika-runtime/io.clika.runtime/Processor/Companion
Companion
[common]
object Companion
Functions
| Name | Summary |
|---|---|
| fromDirectory | [common] fun fromDirectory(path: String, where: Placement? = null): Processor Load from a model directory, detecting the format present. |
| fromHuggingface | [common] fun fromHuggingface(path: String, where: Placement? = null, consumedKeys: List<String> = emptyList()): Processor Load a Hugging Face model directory: the tokenizer (any artifact) and the media processor its preprocessor_config.json describes. where binds the media processor's default placement; consumedKeys extends the image configuration's recognized keys as on ImageProcessor.fromHuggingface. |