WeMM-Ecom-35B-A3B-GGUF
Advancing Multimodal Content Understanding for WeChat E-Commerce
Evaluation ·
Quick Start ·
Best Practices
WeMM-Ecom-35B-A3B-GGUF is the GGUF edition of WeMM-Ecom-35B-A3B, developed by WeChat Vision, Tencent. It pairs Q4_K_M language-model weights with an F16 multimodal projector for deployment with llama.cpp and supports hybrid thinking.
The WeMM-Ecom family delivers leading e-commerce performance, with WeMM-Ecom-35B-A3B outperforming open-source models with hundreds of billions of parameters. Across model sizes, it also maintains general-purpose capabilities on par with state-of-the-art models of comparable size.
Highlights
The following highlights summarize the corresponding WeMM-Ecom-35B-A3B BF16 checkpoint.
- E-commerce understanding: Outperforms Qwen3.5-35B-A3B by 3.92 points, Qwen3.6-35B-A3B by 3.36 points, and MiniCPM-V-4.7-35B-A3B by 8.22 points in average benchmark score.
- Broad general capabilities: Outperforms Qwen3.5-35B-A3B by 0.17 points, MiniCPM-V-4.7-35B-A3B by 5.60 points, and Valley3-32B by 9.13 points in average benchmark score.
- GGUF deployment: Q4_K_M language-model weights and an F16 projector, with command-line inference and an OpenAI-compatible local server.
Model Overview
- Architecture: 35B total parameters, approximately 3B active parameters (MoE).
- Language-model quantization: Q4_K_M.
- Multimodal projector: F16 GGUF.
- Context window: 262,144 tokens.
GGUF family: 0.8B · 2B · 4B · 9B · 35B-A3B
More formats: BF16 · FP8 · GPTQ
Family Evaluation
The following comparisons present results for the WeMM-Ecom-35B-A3B BF16 checkpoint from our technical report: 28 e-commerce benchmarks across eight scenarios and 64 general benchmarks across eight categories. Scores use a 0–100 scale.
E-commerce Benchmarks
The suite covers product attributes, moderation, OCR, retrieval, grounding, reasoning, public e-commerce benchmarks, and product knowledge.
[Image blocked: WeMM-Ecom-35B-A3B e-commerce comparisons]
Full e-commerce benchmark results
Instruct Mode
[Image blocked: WeMM-Ecom-35B-A3B Instruct Mode e-commerce results]
Thinking Mode
[Image blocked: WeMM-Ecom-35B-A3B Thinking Mode e-commerce results]
General Benchmarks
The suite spans general VQA, document and chart understanding, STEM reasoning, spatial understanding, grounding and counting, multi-image understanding, instruction following, and text-centric tasks.
[Image blocked: WeMM-Ecom-35B-A3B general comparisons]
Full general benchmark results
Instruct Mode
[Image blocked: WeMM-Ecom-35B-A3B Instruct Mode general results]
Thinking Mode
[Image blocked: WeMM-Ecom-35B-A3B Thinking Mode general results]
Quick Start
Use llama.cpp at the revision below. The language-model GGUF and its matching projector are provided together in this repository. Replace the local image and video paths with your own content.
Download
If authentication is required, run hf auth login before downloading.
Build llama.cpp
For NVIDIA CUDA:
CPU and other backends
For a CPU build, use a separate build directory:
Use ./build-cpu/bin/ in the commands below. For CPU-only inference, set -ngl 0 and add --no-mmproj-offload when loading the projector. For Metal, Vulkan, and other accelerators, follow the official build guide.
Prepare Images
For camera photos, apply their EXIF orientation before passing a local image to llama.cpp. The API helper below prepares images automatically.
Use the prepared file with --image. Repeat this preparation for additional camera photos, updating the input and output paths.
Image Understanding
The example uses Instruct Mode and the chat template embedded in the GGUF. The CLI examples run one turn; omit --single-turn for an interactive conversation.
Text-only Conversations
Multi-Image Understanding
Pass multiple image paths as a comma-separated list:
Video Understanding
Install FFmpeg and make sure ffmpeg and ffprobe are available on your PATH.
Visual Input Settings
For small text and fine image details, you can raise the image token budget:
This example sets the budget for image inputs. For video, choose a context size that accommodates the visual tokens across all frames and the generated answer.
Hybrid Thinking
Select the operating mode with llama.cpp's --reasoning option:
- Instruct Mode:
--reasoning off --temp 0.7 --top-p 0.8.
- Thinking Mode:
--reasoning on --temp 1.0 --top-p 0.95.
Keep --top-k 20 --min-p 0.0 --presence-penalty 1.5 --repeat-penalty 1.0 for the general-task profile. The same mode switch applies when starting llama-server.
OpenAI-compatible Server
Start a local server in Instruct Mode:
Install the Python client:
For Thinking Mode, start the server with --reasoning on, and set temperature=1.0 and top_p=0.95 in request_kwargs.
Text, Multi-Image, and Video Requests
The requests below reuse the client and helper above:
Best Practices
- Choose the mode explicitly: use
--reasoning off for Instruct Mode and --reasoning on for Thinking Mode. Match the API sampling settings to the server's mode.
- Use the matching projector: load
mmproj-F16.gguf from this repository with its language-model file for image inputs.
- Size the deployment context: these examples use
-c 8192 and an output budget of 4096 tokens. Set -c and max_tokens/-n to accommodate both the input and generated output. Adjust -ngl to choose how many model layers are offloaded to the GPU.
- Set the task's output format: state the requested fields, labels, or coordinate convention for extraction and grounding. For additional task-specific sampling profiles, see the family model card; llama.cpp calls the repetition setting
repeat_penalty in its API and --repeat-penalty on the command line.
Citation
If you find WeMM-Ecom useful, please consider starring our GitHub repository and citing our technical report.
License
The model weights are licensed under Apache-2.0, except for the third-party components listed in LICENSE [blocked], which retain their respective original licenses. See that file for the full terms, notices, and dependencies.
Acknowledgements
We thank the Qwen team for the Qwen3.5 foundation and the open-source community for the tools and benchmarks used in this project.