# How to Test Tencent’s WePocketModel on Three Local Tasks

Compare the 2B and 4B models on image retrieval, grounded answers and structured decisions before replacing three separate tools.

By Paras Madan | 2026-11-23


If you want an app to find a photo, read the text on it and decide whether it needs review, testing a chatbot prompt only tells you about one part of the job. A useful local model has to handle each step well enough on the device where people will use it.

[Tencent opened WePocketModel 1.0 on November 23](https://github.com/Tencent/WePocketModel). The 2B and 4B variants share one backbone across embeddings, generation and structured decisions. To see if that setup can replace separate tools, give both versions the same small workload and track where each one gets stuck.

## Start with a small, labeled photo library

Make twelve images of sample product labels, with no customer data. Give three products near-identical packaging, and include two labels that are deliberately too blurry to read. Write down which files match each product, what size is printed on each legible label and which images need a manual check.

Give the model three tasks for the same image library: find the right photo from a text query, report the size printed on that photo and choose whether the image can be accepted or needs review. Do the first round independently using known inputs. If retrieval picks the wrong photo, you don't want that failure to count against the reading test before you've measured reading on its own.

## Run the examples for your backend

Tencent's [runnable examples](https://github.com/Tencent/WePocketModel/blob/main/examples/README.md) have CPU and GPU paths for all three tasks. They default to the 4B Transformers checkpoint. On a CPU installation set up according to the repository instructions, you can smoke-test the 2B version from the repo root:

```bash
export WEPM_MODEL=tencent/WePocketModel1.0-2B
bash examples/cpu/generation/run.sh single_image
bash examples/cpu/embedding/run.sh
bash examples/cpu/decision/run.sh
```

The first online run downloads the checkpoint; later runs can reuse it. The CPU GGUF path uses Tencent's native runtime in addition to the bundled vision and task components. Follow the [inference guide](https://github.com/Tencent/WePocketModel/blob/main/inference/README.md) rather than assuming a generic GGUF loader exposes all three tasks. Start by comparing both sizes on the same backend. Test quantization separately so you know whether a difference came from model size or how it was run.

## Grade each task against its own answer key

For retrieval, embed the photos and queries with the same model and embedding size. Rank the photos by similarity, then count how often the right one appears first. Record the wrong near-matches too: mixing up two sizes of the same product is more consequential here than confusing two unrelated boxes.

For generation, pass the correct picture and ask for the size exactly as printed, or “unreadable” if it's unclear. Score against the label you made. For the decision test, use a structured choice such as “accept” or “review” and state what should require review. The decision input has a place for what is being evaluated and a separate question definition. Check whether the two blurred examples go to review; a valid option in JSON can still be the wrong option.

## Measure the complete workload on the target device

After you've scored each stage, run the three tasks in sequence without swapping model variants midstream. Count how often the entire job finishes correctly. A pipeline can have three good-looking individual scores and still deliver a wrong result when an early mistake feeds everything that follows.

Record peak memory and time for the first run after loading, then repeat a few requests with the model already loaded. Keep the input images and output lengths similar across variants. The checkpoint size alone doesn't tell you how much memory the runtime needs. If 2B finds the right photo and reads it reliably but sends blurred labels through, compare the 4B result with a simple review rule before paying the memory cost of a bigger model.

I'm Paras. I work at the intersection of AI, engineering and distribution.

I help AI teams explain technical products through clear documentation, practical guides and developer-focused content.

[Book a 30-minute call](https://cal.com/paras-madan/30min).
