]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
convert : support is_causal hyperparameter (#20746)
authorDowon <redacted>
Thu, 19 Mar 2026 10:41:11 +0000 (19:41 +0900)
committerGitHub <redacted>
Thu, 19 Mar 2026 10:41:11 +0000 (11:41 +0100)
commitb486c17b3e8bee4340b4095075cefc8415d92068
tree7e1ead8d7dcae54f87632126c2efafb16071f869
parent1b9bbaa35716978dc38eb838bfe1af094ac7c1d4
convert : support is_causal hyperparameter (#20746)

* convert : support is_causal hyperparameter

Check for the `is_causal` attribute in the Hugging Face model configuration and include it in the GGUF metadata.

* Update convert_hf_to_gguf.py

Co-authored-by: Sigbjørn Skjæret <redacted>
* style: fix F541 f-string is missing placeholders

---------

Co-authored-by: Sigbjørn Skjæret <redacted>
convert_hf_to_gguf.py