Opens a GGUF file and reads its metadata. By default also reads tensor data
into memory; with meta_only = TRUE only the header and key-value
metadata are read (no tensor data is allocated), which is cheap and enough
for inspecting architecture / type fields. Returns an S3 object of class
"gguf" wrapping the internal pointer.
gguf_load(path, meta_only = FALSE)An object of class "gguf".
Path to a .gguf file.
If TRUE, read only the header and metadata without
allocating tensor data. Metadata, tensor names and tensor info remain
available; gguf_tensor_data is not (reload with
meta_only = FALSE). Default FALSE.