tencent/WeMM-Ecom-0.8B-GGUF
- License
- apache-2.0
- Size
- not mirrored yet
No official torrent yet — requesting it tells the flock what to host next. You cannot seed a catalog-only page.
Cataloged from tencent/WeMM-Ecom-0.8B-GGUF
All models by tencent →No official torrent yet — requesting it tells the flock what to host next. You cannot seed a catalog-only page.
Cataloged from tencent/WeMM-Ecom-0.8B-GGUF
All models by tencent →Advancing Multimodal Content Understanding for WeChat E-Commerce
Evaluation · Quick Start · Best Practices
WeMM-Ecom-0.8B-GGUF is the GGUF edition of WeMM-Ecom-0.8B, 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.
The following highlights summarize the corresponding WeMM-Ecom-0.8B BF16 checkpoint.
GGUF family: 0.8B · 2B · 4B · 9B · 35B-A3B
More formats: BF16 · FP8 · GPTQ
The following comparisons present results for the WeMM-Ecom-0.8B 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.
The suite covers product attributes, moderation, OCR, retrieval, grounding, reasoning, public e-commerce benchmarks, and product knowledge.
[Image blocked: WeMM-Ecom-0.8B e-commerce comparisons]
[Image blocked: WeMM-Ecom-0.8B Instruct Mode e-commerce results]
[Image blocked: WeMM-Ecom-0.8B Thinking Mode e-commerce results]
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-0.8B general comparisons]
[Image blocked: WeMM-Ecom-0.8B Instruct Mode general results]
[Image blocked: WeMM-Ecom-0.8B Thinking Mode general results]
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.
If authentication is required, run hf auth login before downloading.
For NVIDIA CUDA:
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.
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.
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.
Pass multiple image paths as a comma-separated list:
Install FFmpeg and make sure ffmpeg and ffprobe are available on your PATH.
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.
Select the operating mode with llama.cpp's --reasoning option:
--reasoning off --temp 0.7 --top-p 0.8.--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.
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.
The requests below reuse the client and helper above:
--reasoning off for Instruct Mode and --reasoning on for Thinking Mode. Match the API sampling settings to the server's mode.mmproj-F16.gguf from this repository with its language-model file for image inputs.-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.repeat_penalty in its API and --repeat-penalty on the command line.If you find WeMM-Ecom useful, please consider starring our GitHub repository and citing our technical report.
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.
We thank the Qwen team for the Qwen3.5 foundation and the open-source community for the tools and benchmarks used in this project.
pip install -U huggingface_hubMODEL_DIR="$PWD/WeMM-Ecom-0.8B-GGUF"hf download tencent/WeMM-Ecom-0.8B-GGUF \ WeMM-Ecom-0.8B-GGUF.gguf mmproj-F16.gguf \ --local-dir "$MODEL_DIR"git clone https://github.com/ggml-org/llama.cpp.gitcd llama.cppgit checkout a8f8294c45076538f4509754e4c79fc51a1a486bcmake -B build -DCMAKE_BUILD_TYPE=Release -DGGML_CUDA=ONcmake --build build --config Release -j --target llama-cli llama-servercmake -B build-cpu -DCMAKE_BUILD_TYPE=Releasecmake --build build-cpu --config Release -j --target llama-cli llama-serverpip install -U pillowfrom PIL import Image, ImageOps
with Image.open("./image.jpg") as source: image = ImageOps.exif_transpose(source).convert("RGBA") background = Image.new("RGBA", image.size, (255, 255, 255, 255)) image = Image.alpha_composite(background, image).convert("RGB") image.save("./image-normalized.png")./build/bin/llama-cli \ -m "$MODEL_DIR/WeMM-Ecom-0.8B-GGUF.gguf" \ --mmproj "$MODEL_DIR/mmproj-F16.gguf" \ --image ./image-normalized.png \ --jinja --reasoning off --single-turn \ -ngl 99 -c 8192 -n 4096 \ --temp 0.7 --top-p 0.8 --top-k 20 --min-p 0.0 \ --presence-penalty 1.5 --repeat-penalty 1.0 \ -p "Describe the image and identify its visible details."./build/bin/llama-cli \ -m "$MODEL_DIR/WeMM-Ecom-0.8B-GGUF.gguf" \ --jinja --reasoning off --single-turn \ -ngl 99 -c 8192 -n 4096 \ --temp 0.7 --top-p 0.8 --top-k 20 --min-p 0.0 \ --presence-penalty 1.5 --repeat-penalty 1.0 \ -p "Explain how to compare two visually similar items."./build/bin/llama-cli \ -m "$MODEL_DIR/WeMM-Ecom-0.8B-GGUF.gguf" \ --mmproj "$MODEL_DIR/mmproj-F16.gguf" \ --image ./image_front-normalized.png,./image_back-normalized.png \ --jinja --reasoning off --single-turn \ -ngl 99 -c 8192 -n 4096 \ --temp 0.7 --top-p 0.8 --top-k 20 --min-p 0.0 \ --presence-penalty 1.5 --repeat-penalty 1.0 \ -p "Compare these views and summarize their similarities and differences."./build/bin/llama-cli \ -m "$MODEL_DIR/WeMM-Ecom-0.8B-GGUF.gguf" \ --mmproj "$MODEL_DIR/mmproj-F16.gguf" \ --video ./video.mp4 --video-fps 2 \ --jinja --reasoning off --single-turn \ -ngl 99 -c 8192 -n 4096 \ --temp 0.7 --top-p 0.8 --top-k 20 --min-p 0.0 \ --presence-penalty 1.5 --repeat-penalty 1.0 \ -p "Summarize what happens in the video."./build/bin/llama-cli \ -m "$MODEL_DIR/WeMM-Ecom-0.8B-GGUF.gguf" \ --mmproj "$MODEL_DIR/mmproj-F16.gguf" \ --image ./image-normalized.png --image-min-tokens 1024 \ --jinja --reasoning off --single-turn \ -ngl 99 -c 8192 -n 4096 \ --temp 0.7 --top-p 0.8 --top-k 20 --min-p 0.0 \ --presence-penalty 1.5 --repeat-penalty 1.0 \ -p "Read the visible text in the image."./build/bin/llama-server \ -m "$MODEL_DIR/WeMM-Ecom-0.8B-GGUF.gguf" \ --mmproj "$MODEL_DIR/mmproj-F16.gguf" \ --alias tencent/WeMM-Ecom-0.8B-GGUF \ --jinja --reasoning off \ -ngl 99 -c 8192 \ --temp 0.7 --top-p 0.8 --top-k 20 --min-p 0.0 \ --presence-penalty 1.5 --repeat-penalty 1.0 \ --video-fps 2 \ --host 127.0.0.1 --port 8000pip install -U openai pillowimport base64import ioimport mimetypesfrom pathlib import Pathfrom PIL import Image, ImageOpsfrom openai import OpenAI
client = OpenAI(base_url="http://localhost:8000/v1", api_key="EMPTY")request_kwargs = { "model": "tencent/WeMM-Ecom-0.8B-GGUF", "max_tokens": 4096, "temperature": 0.7, "top_p": 0.8, "presence_penalty": 1.5, "extra_body": {"top_k": 20, "min_p": 0.0, "repeat_penalty": 1.0},}
def image_bytes(path): with Image.open(path) as source: image = ImageOps.exif_transpose(source).convert('RGBA') background = Image.new('RGBA', image.size, (255, 255, 255, 255)) image = Image.alpha_composite(background, image).convert('RGB') buffer = io.BytesIO() image.save(buffer, format='PNG') return buffer.getvalue()
def data_url(path): mime = mimetypes.guess_type(str(path))[0] or 'application/octet-stream' if mime.startswith('image/'): data = image_bytes(path) mime = 'image/png' else: data = Path(path).read_bytes() return f'data:{mime};base64,' + base64.b64encode(data).decode('ascii')
def complete(messages): response = client.chat.completions.create(messages=messages, **request_kwargs) choice = response.choices[0] message = choice.message if choice.finish_reason == "length" or not (message.content or "").strip(): raise RuntimeError("No complete final answer. Review max_tokens and generation settings.") reasoning = getattr(message, "reasoning_content", None) if reasoning: print("Reasoning:\n" + reasoning) print("Answer:\n" + (message.content or "")) return message.content or ""
messages = [{"role": "user", "content": [ {"type": "image_url", "image_url": {"url": data_url("./image.jpg")}}, {"type": "text", "text": "Describe the image and identify its visible details."},]}]answer = complete(messages)answer = complete([{ "role": "user", "content": "Explain how to compare two visually similar items.",}])
answer = complete([{"role": "user", "content": [ {"type": "image_url", "image_url": {"url": data_url("./image_front.jpg")}}, {"type": "image_url", "image_url": {"url": data_url("./image_back.jpg")}}, {"type": "text", "text": "Compare the visible details in these two images."},]}])
answer = complete([{"role": "user", "content": [ {"type": "input_video", "input_video": {"url": data_url("./video.mp4")}}, {"type": "text", "text": "Summarize what happens in the video."},]}])@misc{wemm-ecom-2026, title = {WeMM-Ecom: Advancing Multimodal Content Understanding for WeChat E-Commerce}, author = {Binhui Xie and Jinmin Li and Haomiao Tang and Guangting Wang and Song Jin and Jianwei Zhu and Fengyun Rao and Jing Lyu}, year = {2026}, eprint = {2611.30662}, archivePrefix = {arXiv}, primaryClass = {cs.AI}, url = {https://arxiv.org/abs/2611.30662}}