Text Generation
GGUF
Chinese
English
glm
chatglm
thudm
quantized
GGUF
quantization
static
16bit
8bit
6bit
5bit
4bit
3bit
2bit
conversational
Instructions to use legraphista/glm-4-9b-chat-1m-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use legraphista/glm-4-9b-chat-1m-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf legraphista/glm-4-9b-chat-1m-GGUF:Q4_K_S # Run inference directly in the terminal: llama cli -hf legraphista/glm-4-9b-chat-1m-GGUF:Q4_K_S
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf legraphista/glm-4-9b-chat-1m-GGUF:Q4_K_S # Run inference directly in the terminal: llama cli -hf legraphista/glm-4-9b-chat-1m-GGUF:Q4_K_S
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 legraphista/glm-4-9b-chat-1m-GGUF:Q4_K_S # Run inference directly in the terminal: ./llama-cli -hf legraphista/glm-4-9b-chat-1m-GGUF:Q4_K_S
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 legraphista/glm-4-9b-chat-1m-GGUF:Q4_K_S # Run inference directly in the terminal: ./build/bin/llama-cli -hf legraphista/glm-4-9b-chat-1m-GGUF:Q4_K_S
Use Docker
docker model run hf.co/legraphista/glm-4-9b-chat-1m-GGUF:Q4_K_S
- LM Studio
- Jan
- vLLM
How to use legraphista/glm-4-9b-chat-1m-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "legraphista/glm-4-9b-chat-1m-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "legraphista/glm-4-9b-chat-1m-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/legraphista/glm-4-9b-chat-1m-GGUF:Q4_K_S
- Ollama
How to use legraphista/glm-4-9b-chat-1m-GGUF with Ollama:
ollama run hf.co/legraphista/glm-4-9b-chat-1m-GGUF:Q4_K_S
- Unsloth Desktop
- Docker Model Runner
How to use legraphista/glm-4-9b-chat-1m-GGUF with Docker Model Runner:
docker model run hf.co/legraphista/glm-4-9b-chat-1m-GGUF:Q4_K_S
- Lemonade
How to use legraphista/glm-4-9b-chat-1m-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull legraphista/glm-4-9b-chat-1m-GGUF:Q4_K_S
Run and chat with the model
lemonade run user.glm-4-9b-chat-1m-GGUF-Q4_K_S
List all available models
lemonade list
- Atomic Chat
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -58,7 +58,7 @@ IMatrix dataset: [here](https://gist.githubusercontent.com/bartowski1182/eb213dc
|
|
| 58 |
| -------- | ---------- | --------- | ------ | ------------ | -------- |
|
| 59 |
| glm-4-9b-chat-1m.Q8_0 | Q8_0 | - | ⏳ Processing | ⚪ Static | -
|
| 60 |
| glm-4-9b-chat-1m.Q6_K | Q6_K | - | ⏳ Processing | ⚪ Static | -
|
| 61 |
-
| glm-4-9b-chat-1m.Q4_K | Q4_K |
|
| 62 |
| glm-4-9b-chat-1m.Q3_K | Q3_K | - | ⏳ Processing | ⚪ Static | -
|
| 63 |
| glm-4-9b-chat-1m.Q2_K | Q2_K | - | ⏳ Processing | ⚪ Static | -
|
| 64 |
|
|
@@ -72,7 +72,7 @@ IMatrix dataset: [here](https://gist.githubusercontent.com/bartowski1182/eb213dc
|
|
| 72 |
| glm-4-9b-chat-1m.Q6_K | Q6_K | - | ⏳ Processing | ⚪ Static | -
|
| 73 |
| glm-4-9b-chat-1m.Q5_K | Q5_K | - | ⏳ Processing | ⚪ Static | -
|
| 74 |
| glm-4-9b-chat-1m.Q5_K_S | Q5_K_S | - | ⏳ Processing | ⚪ Static | -
|
| 75 |
-
| glm-4-9b-chat-1m.Q4_K | Q4_K |
|
| 76 |
| glm-4-9b-chat-1m.Q4_K_S | Q4_K_S | - | ⏳ Processing | ⚪ Static | -
|
| 77 |
| glm-4-9b-chat-1m.IQ4_NL | IQ4_NL | - | ⏳ Processing | ⚪ Static | -
|
| 78 |
| glm-4-9b-chat-1m.IQ4_XS | IQ4_XS | - | ⏳ Processing | ⚪ Static | -
|
|
|
|
| 58 |
| -------- | ---------- | --------- | ------ | ------------ | -------- |
|
| 59 |
| glm-4-9b-chat-1m.Q8_0 | Q8_0 | - | ⏳ Processing | ⚪ Static | -
|
| 60 |
| glm-4-9b-chat-1m.Q6_K | Q6_K | - | ⏳ Processing | ⚪ Static | -
|
| 61 |
+
| [glm-4-9b-chat-1m.Q4_K.gguf](https://huggingface.co/legraphista/glm-4-9b-chat-1m-GGUF/blob/main/glm-4-9b-chat-1m.Q4_K.gguf) | Q4_K | 6.31GB | ✅ Available | ⚪ Static | 📦 No
|
| 62 |
| glm-4-9b-chat-1m.Q3_K | Q3_K | - | ⏳ Processing | ⚪ Static | -
|
| 63 |
| glm-4-9b-chat-1m.Q2_K | Q2_K | - | ⏳ Processing | ⚪ Static | -
|
| 64 |
|
|
|
|
| 72 |
| glm-4-9b-chat-1m.Q6_K | Q6_K | - | ⏳ Processing | ⚪ Static | -
|
| 73 |
| glm-4-9b-chat-1m.Q5_K | Q5_K | - | ⏳ Processing | ⚪ Static | -
|
| 74 |
| glm-4-9b-chat-1m.Q5_K_S | Q5_K_S | - | ⏳ Processing | ⚪ Static | -
|
| 75 |
+
| [glm-4-9b-chat-1m.Q4_K.gguf](https://huggingface.co/legraphista/glm-4-9b-chat-1m-GGUF/blob/main/glm-4-9b-chat-1m.Q4_K.gguf) | Q4_K | 6.31GB | ✅ Available | ⚪ Static | 📦 No
|
| 76 |
| glm-4-9b-chat-1m.Q4_K_S | Q4_K_S | - | ⏳ Processing | ⚪ Static | -
|
| 77 |
| glm-4-9b-chat-1m.IQ4_NL | IQ4_NL | - | ⏳ Processing | ⚪ Static | -
|
| 78 |
| glm-4-9b-chat-1m.IQ4_XS | IQ4_XS | - | ⏳ Processing | ⚪ Static | -
|