Downloads · 30 days
44
3% of all-time downloads
thdekerk/Huihui-gemma-4-31B-it-v2-MLX-8bit
Huihui-gemma-4-31B-it-v2-MLX-8bit is a any-to-any model from thdekerk. Use it for the any-to-any 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 apache-2.0.
This model was converted to MLX format from huihui-ai/Huihui-gemma-4-31B-it-abliterated-v2 using mlx-vlm version 0.4.4. Refer to the original model card for more details on the model.
Downloads · 30 days
44
3% of all-time downloads
All-time downloads
1.7K
Public
Parameters
31.3B
33.8 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors33.8 GB · 100%
How the weights are stored.
U3230.7B · 98%
From the Hugging Face model README
This model was converted to MLX format from huihui-ai/Huihui-gemma-4-31B-it-abliterated-v2
using mlx-vlm version 0.4.4.
Refer to the original model card for more details on the model.
pip install -U mlx-vlm
python -m mlx_vlm.generate --model thdekerk/Huihui-gemma-4-31B-it-v2-MLX-8bit --max-tokens 100 --temperature 0.0 --prompt "Describe this image." --image <path_to_image>
from mlx_vlm.utils import load_config
model, processor = load("thdekerk/Huihui-gemma-4-31B-it-v2-MLX-8bit")
config = load_config("thdekerk/Huihui-gemma-4-31B-it-v2-MLX-8bit")
image = ["https://huggingface.co/thdekerk/Huihui-gemma-4-31B-it-v2-MLX-8bit/resolve/main/images/fuji.jpg"]
prompt = "Can you describe the image in detail?"
formatted_prompt = apply_chat_template(
processor, config, prompt, num_images=1
)
output = generate(model, processor, formatted_prompt, image,max_tokens=1024)
print(output)
from mlx_vlm.convert import convert
convert("huihui-ai/Huihui-gemma-4-31B-it-abliterated-v2",
mlx_path="/Users/thierrydekerk/MLX/Huihui-gemma-4-31B-it-abliterated-v2-MLX-8bit",
q_bits=8,
quantize=True,
upload_repo="thdekerk/Huihui-gemma-4-31B-it-v2-MLX-8bit"
)