tencent/WePocketModel1.0-4B
- 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/WePocketModel1.0-4B
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/WePocketModel1.0-4B
All models by tencent →WePocketModel (WePM) is a vision-language model family developed by WeChat AI, Tencent for on-device applications. A shared backbone and vision encoder support three capabilities in a single model.
This repository contains the 4B safetensors checkpoint for the WePM Transformers runtime.
WePM uses Multi-Granularity Visual Budgeting (MGVB) to allocate visual tokens across global, regional, and fine-grained views. The runtime uses separate learned slots for embedding and decision. Architecture overview
Clone the WePM inference code and install the dependencies in a Python 3.10–3.13 environment. This example uses PyTorch for CUDA 12.8.
The example defaults to tencent/WePocketModel1.0-4B. It downloads the checkpoint into the Hugging Face cache on the first run and writes a timestamped JSON result.
For CPU inference, follow the CPU installation instructions, then use the matching script under examples/cpu/.
See the examples guide for the input files and the inference guide for CLI arguments and request formats.
WePM supports Matryoshka Representation Learning (MRL) for multimodal embeddings. Select 64, 128, 256, 512, 1,024, or 2,048 dimensions with --embedding-dim. The runtime L2-normalizes the selected prefix of the embedding projection. The CLI defaults to 2,048 dimensions.
On CPU, use inference/infer_cpu.py with the same arguments.
Download the whole repository to use a local checkpoint.
The WePM runtime uses BF16 on CUDA and FP32 on CPU. The project recommends at least 16 GB of GPU memory for CUDA inference or 24 GiB of system memory for CPU inference. Actual usage depends on inputs, the number of generated tokens, and runtime overhead. Hardware and precision guide
[Image blocked: WePM benchmark comparison across Embedding, Generation, and Decision] [blocked]
Benchmark results for the WePM model family across embedding, generation, and structured decision tasks.
WePM is intended for local applications that combine multimodal retrieval, generation, and structured decisions. Application developers should evaluate output quality on representative inputs and validate structured decisions before using them to trigger actions.
The project reports BF16 weight memory for the model comparison. Deployment memory also includes activations, the KV cache, and framework overhead. Memory and evaluation methodology
The WePM inference code is licensed under Apache 2.0.
The model weights in this repository are licensed under the Apache License 2.0 [blocked]. The listed third-party components retain their original licenses.
If you find our work useful, please cite it as:
git clone https://github.com/Tencent/WePocketModel.gitcd WePocketModelpython -m venv .venvsource .venv/bin/activatepython -m pip install torch==2.10.0 torchvision==0.25.0 \ --index-url https://download.pytorch.org/whl/cu128python -m pip install -r inference/requirements.txtbash examples/gpu/generation/run.sh single_textbash examples/gpu/generation/run.sh interleavedbash examples/gpu/embedding/run.shbash examples/gpu/decision/run.shbash examples/cpu/generation/run.sh single_textpython inference/infer.py \ --model tencent/WePocketModel1.0-4B --task embed \ --prompt "A photo of a red square." --embedding-dim 256 \ --output results/wepm-4b-embedding-256.jsonhf download tencent/WePocketModel1.0-4B --local-dir checkpoints/WePocketModel1.0-4Bexport WEPM_MODEL="$PWD/checkpoints/WePocketModel1.0-4B"@misc{wepm2026, title = {WePM: Hierarchical Conflict Reconciliation for Unified MLLMs}, author = {{WeChat AI, Tencent}}, year = {2026}, howpublished = {Technical Report}, url = {https://arxiv.org/abs/2611.27365}}