save_gguf(file: str, arrays: Dict[str, array], metadata: Dict[str, array | str | List[str]])#

Save array(s) to a binary file in .gguf format.

See the GGUF documentation for more information on the format.

  • file (file, str) – File in which the array is saved.

  • arrays (dict(str, array)) – The dictionary of names to arrays to

  • metadata (be saved.) –

  • of (The dictionary) – metadata to be saved. The values can be a scalar or 1D obj:array, a str, or a list of str.