--- license: mit thumbnail: /static-proxy?url=https%3A%2F%2Fcdn-uploads.huggingface.co%2Fproduction%2Fuploads%2F6625f4a8a8d1362ebcc3851a%2FiyzgR89q50pp1T8HeeP15.png base_model: ArliAI/GLM-4.6-REAP-218B-A32B-Derestricted pipeline_tag: text-generation tags: - abliterated - derestricted - glm-4.6 - unlimited - uncensored - mlx - mlx-my-repo library_name: transformers --- # Wwayu/GLM-4.6-REAP-218B-A32B-Derestricted-mlx-3Bit The Model [Wwayu/GLM-4.6-REAP-218B-A32B-Derestricted-mlx-3Bit](https://huggingface.co/Wwayu/GLM-4.6-REAP-218B-A32B-Derestricted-mlx-3Bit) was converted to MLX format from [ArliAI/GLM-4.6-REAP-218B-A32B-Derestricted](https://huggingface.co/ArliAI/GLM-4.6-REAP-218B-A32B-Derestricted) using mlx-lm version **0.28.3**. ## Use with mlx ```bash pip install mlx-lm ``` ```python from mlx_lm import load, generate model, tokenizer = load("Wwayu/GLM-4.6-REAP-218B-A32B-Derestricted-mlx-3Bit") prompt="hello" if hasattr(tokenizer, "apply_chat_template") and tokenizer.chat_template is not None: messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, tokenize=False, add_generation_prompt=True ) response = generate(model, tokenizer, prompt=prompt, verbose=True) ```