| llama_model_meta_val | R Documentation |
Get a single model metadata value by key
llama_model_meta_val(model, key)
model |
Model handle returned by [llama_load_model] |
key |
Character string metadata key (e.g. "general.name", "general.architecture") |
A character scalar with the metadata value, or NULL if the key
does not exist.
## Not run:
model <- llama_load_model("model.gguf")
llama_model_meta_val(model, "general.name")
llama_model_meta_val(model, "general.architecture")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.