Skip to main content

from_config

Function from_config 

Source
pub fn from_config(json: &JsonValue) -> Option<Hint>
Expand description

The hint for a parsed config.json value: a vision-language model (a vision_config block plus a matching architecture), else the first architecture that matches an [architecture_hint] rule, else a speech model recognized by its config keys, else None.