--- license: apache-2.0 base_model: tencent/WeVisOne-VL-4B base_model_relation: quantized library_name: mlx pipeline_tag: image-text-to-text tags: - mlx - ocr - visual-grounding - wevisone --- # WeVisOne-VL-4B-LayerFit-MLX-5bit NetProjects conversion of [Tencent WeVisOne-VL-4B](https://huggingface.co/tencent/WeVisOne-VL-4B/tree/6b44a45873b4bbc7dca383922504430dc60eca23). Supports image-to-text perception with structured text, bounding boxes and points. **These builds do not implement segmentation masks or alpha matting.** Tencent’s separate pixel decoder is not bundled. **Weights:** 3.87 GB, including the BF16 vision tower. The original chat template is retained. Recommended MLX build. At a matched language-weight budget, next-token agreement with BF16 was **94.61% vs. 93.21%** for uniform 5-bit, with **37% lower KL divergence**. On 28 synthetic image cases, box F1 at IoU 0.5 was **97.2% vs. 90.0%**; the gain came from one crowded image. OCR, counting and rejection scores tied on those cases. On the separate six-case real-image set, this build omitted one ampersand that uniform 5-bit preserved. ```bash mlx_vlm.generate --model netprojects/WeVisOne-VL-4B-LayerFit-MLX-5bit --image image.png \ --prompt "detect all the word in the box format" --max-tokens 512 --temperature 0 ``` ## License See `LICENSE` for Tencent and third-party attribution and terms.