Downloads · 30 days
120
4% of all-time downloads
sydneyfong/glm4-9b-chat-GGUF
glm4-9b-chat-GGUF is a machine learning model from sydneyfong. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as unknown.
Using <a href="https://github.com/ggerganov/llama.cpp/"llama.cpp</a commit hash 7d0e23d72ef4540d0d4409cb63ae682c17d53926 for quantization. Notably this includes b3333, the first official llama.cpp release that support…
Downloads · 30 days
120
4% of all-time downloads
All-time downloads
3.3K
Public
Repo size
48.7 GB
Likes
2
Public
Click a slice to open those files.
.gguf48.7 GB · 100%
From the Hugging Face model README
Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> commit hash 7d0e23d72ef4540d0d4409cb63ae682c17d53926 for quantization. Notably this includes b3333, the first official llama.cpp release that supports GLM-3 and GLM-4.
Original model: https://huggingface.co/THUDM/glm-4-9b-chat
I have tested the gguf files with some simple prompts and they seem to work fine.
[gMASK]<sop><|user|>
{prompt}
<|assistant|>
Apparently the model supports function calling as well if you supply a more elaborate system prompt. The original chat template is provided in https://huggingface.co/THUDM/glm-4-9b-chat/blob/main/tokenizer_config.json , and it is too complicated if you don't want that functionality. (If you don't read Chinese, you're advised to translate it to a language you understand and read it first before adopting that prompt for your purposes.)
Due to resource limitations we only have a select handful of quantizations. Hopefully they are useful for your purposes.
"Built with glm-4"
I just copied the LICENSE file from https://huggingface.co/THUDM/glm-4-9b-chat as required for redistribution.