Text Generation
GGUF
English
conversational
How to use from
llama.cpp
Install from brew
brew install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf QuantPanda/LongWriter-glm4-9B-GGUF:
# Run inference directly in the terminal:
llama-cli -hf QuantPanda/LongWriter-glm4-9B-GGUF:
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf QuantPanda/LongWriter-glm4-9B-GGUF:
# Run inference directly in the terminal:
llama-cli -hf QuantPanda/LongWriter-glm4-9B-GGUF:
Use pre-built binary
# Download pre-built binary from:
# https://github.com/ggerganov/llama.cpp/releases
# Start a local OpenAI-compatible server with a web UI:
./llama-server -hf QuantPanda/LongWriter-glm4-9B-GGUF:
# Run inference directly in the terminal:
./llama-cli -hf QuantPanda/LongWriter-glm4-9B-GGUF:
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-server llama-cli
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama-server -hf QuantPanda/LongWriter-glm4-9B-GGUF:
# Run inference directly in the terminal:
./build/bin/llama-cli -hf QuantPanda/LongWriter-glm4-9B-GGUF:
Use Docker
docker model run hf.co/QuantPanda/LongWriter-glm4-9B-GGUF:
Quick Links

LongWriter-glm4-9b

Original model link: https://huggingface.co/THUDM/LongWriter-glm4-9b

Model by: THUDM

Quants by: QuantPanda

GGUF quantization for llama.cpp and similar applications.

Example:

./llama-cli -m LongWriter-glm4-9B-Q5_K_M.gguf -p "You are a helpful AI assistant." --conversation

If the model takes too long to load you can reduce the context size with --ctx-size

Example with smaller context size:

./llama-cli -m LongWriter-glm4-9B-Q5_K_M.gguf -p "You are a helpful AI assistant." --conversation --ctx-size 4096

Downloads last month
53
GGUF
Model size
9B params
Architecture
chatglm
Hardware compatibility
Log In to add your hardware

3-bit

4-bit

5-bit

6-bit

8-bit

32-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for QuantPanda/LongWriter-glm4-9B-GGUF

Quantized
(1)
this model

Dataset used to train QuantPanda/LongWriter-glm4-9B-GGUF