Downloads · 30 days
597
4% of all-time downloads
second-state/glm-4-9b-chat-GGUF
glm-4-9b-chat-GGUF is a machine learning model from second-state. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as other.
<div style="width: auto; margin-left: auto; margin-right: auto" <img src="https://github.com/LlamaEdge/LlamaEdge/raw/dev/assets/logo.svg" style="width: 100%; min-width: 400px; display: block; margin: auto;" </div <hr…
Downloads · 30 days
597
4% of all-time downloads
All-time downloads
15.4K
Public
Repo size
93.8 GB
Likes
5
Public
Click a slice to open those files.
.gguf93.8 GB · 100%
From the Hugging Face model README
LlamaEdge version: v0.12.3 and above
Prompt template
Prompt type: glm-4-chat
Prompt string
[gMASK]<|system|>
{system_message}<|user|>
{user_message_1}<|assistant|>
{assistant_message_1}
Context size: 128000
Run as LlamaEdge service
wasmedge --dir .:. --nn-preload default:GGML:AUTO:glm-4-9b-chat-Q5_K_M.gguf \
llama-api-server.wasm \
--prompt-template glm-4-chat \
--ctx-size 128000 \
--model-name glm-4-9b-chat
Run as LlamaEdge command app
wasmedge --dir .:. \
--nn-preload default:GGML:AUTO:glm-4-9b-chat-Q5_K_M.gguf \
llama-chat.wasm \
--prompt-template glm-4-chat \
--ctx-size 128000
| Name | Quant method | Bits | Size | Use case |
|---|---|---|---|---|
| glm-4-9b-chat-Q2_K.gguf | Q2_K | 2 | 3.99 GB | smallest, significant quality loss - not recommended for most purposes |
| glm-4-9b-chat-Q3_K_L.gguf | Q3_K_L | 3 | 5.28 GB | small, substantial quality loss |
| glm-4-9b-chat-Q3_K_M.gguf | Q3_K_M | 3 | 5.06 GB | very small, high quality loss |
| glm-4-9b-chat-Q3_K_S.gguf | Q3_K_S | 3 | 4.59 GB | very small, high quality loss |
| glm-4-9b-chat-Q4_0.gguf | Q4_0 | 4 | 5.46 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
| glm-4-9b-chat-Q4_K_M.gguf | Q4_K_M | 4 | 6.25 GB | medium, balanced quality - recommended |
| glm-4-9b-chat-Q4_K_S.gguf | Q4_K_S | 4 | 5.75 GB | small, greater quality loss |
| glm-4-9b-chat-Q5_0.gguf | Q5_0 | 5 | 6.55 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
| glm-4-9b-chat-Q5_K_M.gguf | Q5_K_M | 5 | 7.14 GB | large, very low quality loss - recommended |
| glm-4-9b-chat-Q5_K_S.gguf | Q5_K_S | 5 | 6.69 GB | large, low quality loss - recommended |
| glm-4-9b-chat-Q6_K.gguf | Q6_K | 6 | 8.26 GB | very large, extremely low quality loss |
| glm-4-9b-chat-Q8_0.gguf | Q8_0 | 8 | 9.99 GB | very large, extremely low quality loss - not recommended |
| glm-4-9b-chat-f16.gguf | f16 | 16 | 18.8 GB |
Quantized with llama.cpp b3333