Instructions to use mlx-community/GLM-4-32B-Base-0414-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use mlx-community/GLM-4-32B-Base-0414-4bit with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # if on a CUDA device, also pip install mlx[cuda] # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("mlx-community/GLM-4-32B-Base-0414-4bit") prompt = "Once upon a time in" text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- MLX LM
How to use mlx-community/GLM-4-32B-Base-0414-4bit with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "mlx-community/GLM-4-32B-Base-0414-4bit" --prompt "Once upon a time"
- Atomic Chat
Commit History
-
Delete ._tokenizer_config.json
Verified signature215b2c6 -
Delete ._tokenizer.json
Verified signature0431e8f -
Delete ._special_tokens_map.json
Verified signature87f7c42 -
Delete ._model.safetensors.index.json
Verified signaturecdf91a0 -
Delete ._model-00004-of-00004.safetensors
Verified signature1fba93d -
Delete ._model-00003-of-00004.safetensors
Verified signature0bc21b5 -
Delete ._model-00002-of-00004.safetensors
Verified signature7c29881 -
Delete ._model-00001-of-00004.safetensors
Verified signature57b5314 -
Delete ._config.json
Verified signature3548e7f -
Delete ._README.md
Verified signaturea85b358 -
Delete .cache/._huggingface
Verified signatureea8a2a0 -
Add files using upload-large-folder tool
Verified signaturea462b1c -
initial commit
Verified signaturef42a64d