Downloads · 30 days
79
4% of all-time downloads
tinywell/THUDM-glm-4-9b-chat-4bit
THUDM-glm-4-9b-chat-4bit is a machine learning model from tinywell. 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 mlx. The card lists the license as other.
The Model tinywell/THUDM-glm-4-9b-chat-4bit was converted to MLX format from THUDM/glm-4-9b-chat using mlx-lm version 0.14.2.
Downloads · 30 days
79
4% of all-time downloads
All-time downloads
1.8K
Public
Parameters
9.4B
5.3 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors5.3 GB · 100%
How the weights are stored.
U329.4B · 100%
From the Hugging Face model README
The Model tinywell/THUDM-glm-4-9b-chat-4bit was converted to MLX format from THUDM/glm-4-9b-chat using mlx-lm version 0.14.2.
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("tinywell/THUDM-glm-4-9b-chat-4bit")
response = generate(model, tokenizer, prompt="hello", verbose=True)