该模型 mlx-community/Qwopus3.8-27B-Flash-V2-4bit 由 Jackrong/Qwopus3.8-27B-Flash-V2 转换而来,
并采用 0.4.4 版本的 mlx-vlm 完成 MLX 格式转换。
这是一个 4bit MLX 量化版本。它保留了源模型的聊天模板,以及面向文本/代码、图像和视频类输入的多模态处理器配置。语言模型权重采用 MLX 4-bit 仿射量化;多模态视觉组件保持原样,以支持图像/视频输入。
请参考 原始模型卡片 了解模型详情、许可证及预期用途。
pip install -U mlx-vlmpython -m mlx_vlm.generate \
--model mlx-community/Qwopus3.8-27B-Flash-V2-4bit \
--max-tokens 512 \
--temperature 0.0 \
--prompt "Describe this image." \
--image <path_to_image>python -m mlx_vlm.generate \
--model mlx-community/Qwopus3.8-27B-Flash-V2-4bit \
--max-tokens 512 \
--temperature 0.2 \
--prompt "Write a Python function that parses a JSONL file and counts records by label."Jackrong/Qwopus3.8-27B-Flash-V2 的 4bit MLX 量化版本。mlx-vlm,而非普通的 mlx-lm。mlx_vlm.convert \
--hf-path Jackrong/Qwopus3.8-27B-Flash-V2 \
--mlx-path Qwopus3.8-27B-Flash-V2-4bit \
--quantize \
--q-bits 4 \
--q-group-size 64 \
--q-mode affine