OHREN_Lab

News소식TencentTencent

Tencent opens the 2B and 4B weights of WePM 1.0, on-device models that do embedding, generation and decision on one shared backboneTencent, 임베딩 · 생성 · 판단을 백본 하나로 하는 온디바이스 모델 WePM 1.0의 2B · 4B 가중치 공개

Tencent’s WeChat AI has put the 2B and 4B weights of WePocketModel (WePM) 1.0, vision-language models for on-device use, on Hugging Face. One backbone handles multimodal embedding, text generation and structured decisions; the repository’s examples are for NVIDIA GPUs and CPUs, and it recommends 16 GiB of VRAM for the 4B model on a GPU. Tencent’s memory comparison counts BF16 weights only, not full runtime memory.Tencent의 WeChat AI가 온디바이스용 비전 언어 모델 WePocketModel(WePM) 1.0의 2B와 4B 가중치를 Hugging Face에 올렸습니다. 백본 하나로 멀티모달 임베딩과 글 생성, 구조화된 판단을 하고, 저장소의 실행 예제는 NVIDIA GPU와 CPU용이며 4B를 GPU에서 돌릴 때 VRAM 16 GiB를 안내합니다. Tencent가 낸 메모리 비교는 BF16 가중치만 센 값으로 실행 중 메모리가 아닙니다.

Source published원문 게시일
Checked확인일

Tencent has opened WePocketModel (WePM) 1.0, vision-language models for on-device use, with weights in 2B and 4B sizes. Made by WeChat AI, each model shares one vision encoder and one language backbone across three capabilities. Embedding turns images and text into vectors for retrieval and ranking, generation handles OCR, image captioning and visual question answering, and decision returns a chosen option, an ordinal score or a binary judgment. The runnable examples in the repository are for NVIDIA GPUs and CPUs, and it recommends 16 GiB of VRAM for the 4B model on a GPU.Tencent는 기기 안에서 쓰는 비전 언어 모델 WePocketModel(WePM) 1.0을 2B와 4B 두 크기의 가중치로 공개했습니다. WeChat AI가 만든 이 모델에서는 세 능력이 비전 인코더 하나와 언어 백본 하나를 함께 씁니다. 임베딩은 이미지와 글을 검색과 순위 매기기용 벡터로 바꾸고, 생성은 OCR, 이미지 설명, 시각 질의응답을 맡으며, 판단은 고른 보기나 서열 점수, 예/아니오를 냅니다. 저장소의 실행 예제는 NVIDIA GPU와 CPU용이고, 4B를 GPU에서 돌릴 때는 VRAM 16 GiB를 안내합니다.

The README starts from apps such as a personal assistant that need retrieval, generation and decision making, where a separate specialist for each path duplicates vision encoders and language backbones and increases resident memory. It says conflicts between mixed tasks are handled by three components: MGVB, which organizes visual evidence into global, regional and fine-grained token banks under a fixed budget; ULKD, which learns from two frozen capability-specific teachers; and SEMO, which combines fixed task-loss weights with predefined task-exposure schedules. At inference, embedding and decision each append a separate learned slot (E and J), and generation uses autoregressive decoding without one.README는 개인 비서처럼 검색과 생성, 판단이 이어지는 앱에서 경로마다 전용 모델을 두면 비전 인코더와 언어 백본이 겹쳐 상주 메모리가 늘어난다는 데서 출발합니다. 섞인 과제의 충돌은 세 요소로 다룬다고 합니다. MGVB는 시각 정보를 전역, 영역, 세부 토큰 묶음으로 나눠 정해진 예산 안에서 고르고, ULKD는 능력별로 고정된 교사 모델 둘에서 배우며, SEMO는 고정된 손실 가중치와 미리 정한 과제 노출 일정을 씁니다. 추론할 때 임베딩과 판단은 따로 학습한 슬롯(E와 J)을 붙이고, 생성은 슬롯 없이 자기회귀로 글을 냅니다.

Running it means cloning the repository, creating a Python 3.10–3.13 environment with PyTorch 2.10.0 and starting an example script. The first run downloads a complete snapshot from Hugging Face, and the examples cover single text, single image and interleaved inputs as well as embedding and decision. A decision request puts the content being evaluated in state and the task definition in questions.q. Embeddings from the 4B model have 2,048 dimensions, and 64, 128, 256, 512 or 1,024 can be chosen instead.쓰려면 저장소를 받아 Python 3.10–3.13 환경에 PyTorch 2.10.0을 깔고 예제 스크립트를 돌립니다. 처음 돌릴 때 Hugging Face에서 스냅샷 전체를 받으며, 예제는 글 하나, 이미지 하나, 글과 이미지를 번갈아 넣는 입력과 임베딩, 판단을 다룹니다. 판단 요청은 평가할 내용을 state에, 과제 정의를 questions.q에 적습니다. 4B의 임베딩은 2,048차원이고 64, 128, 256, 512, 1,024차원으로 줄여 낼 수 있습니다.

Weights come as safetensors for Transformers and as GGUF for CPUs, each in 2B and 4B, all on Hugging Face. For the 4B model the README lists about 8.5 GiB of BF16 weights on a GPU, about 17 GiB of FP32 weights on a CPU with 24 GiB of system RAM recommended, and about 3.19 GiB on disk for the Q4_K_M language file and shared multimodal weights in GGUF. GGUF needs its native runtime built with CMake 3.20 or later and a C++17 compiler. The code is under the Apache License 2.0, which does not declare a license for the weights; the 4B and 2B model cards put the weights under the Apache License 2.0 and keep listed third-party components under their original licenses, and the 4B LICENSE.txt lists Qwen3.5-4B as one.가중치는 Transformers용 safetensors와 CPU용 GGUF로 2B와 4B가 각각 있고 모두 Hugging Face에서 받습니다. 4B는 GPU에서 BF16 가중치가 약 8.5 GiB, CPU에서 FP32 가중치가 약 17 GiB라 시스템 RAM 24 GiB를 안내하고, GGUF의 Q4_K_M 언어 파일과 공용 멀티모달 가중치는 디스크에서 약 3.19 GiB입니다. GGUF는 CMake 3.20 이상과 C++17 컴파일러로 실행 라이브러리를 빌드해야 합니다. 코드는 Apache License 2.0이지만 이 라이선스는 가중치를 정하지 않으며, 4B와 2B 모델 카드는 가중치를 Apache License 2.0으로, 목록에 적힌 제3자 구성 요소는 원래 라이선스로 둡니다. 4B의 LICENSE.txt는 그 구성 요소로 Qwen3.5-4B를 적었습니다.

The performance figures are Tencent’s own comparison. It puts the 4B model at about 65.1% harmonic performance with about 8 GB of BF16 weight memory, an HCD of 0.244, against roughly 21–43 GB, 64.2–64.8% and HCD values of 0.045–0.092 for six compositions of separate generation, embedding and decision models. HCD is a measure Tencent introduces here: the number of capability families that clear a usability threshold, times aggregate quality, divided by resident inference memory. The memory in this comparison excludes KV cache, activations, framework overhead and runtime fragmentation.성능 수치는 Tencent가 낸 비교입니다. 4B는 BF16 가중치 메모리 약 8 GB에 조화 성능 약 65.1%로 HCD가 0.244이고, 생성 모델과 임베딩 모델, 판단 모델을 따로 두는 조합 여섯은 약 21–43 GB에 64.2–64.8%, HCD 0.045–0.092라고 합니다. HCD는 Tencent가 여기서 내놓은 지표로, 쓸 만한 문턱을 넘은 능력 종류 수에 품질을 곱하고 상주 추론 메모리로 나눈 값입니다. 이 비교의 메모리에는 KV 캐시와 활성값, 프레임워크 부담, 실행 중 조각남이 빠져 있습니다.

Scatter chart from the WePocketModel README of harmonic performance against BF16 weight memory. WePM-4B is a star at about 8 GB and the highest performance, marked HCD=0.244, and six compositions named M1 to M6 sit to the right between about 21 and 43 GB with HCD from 0.092 down to 0.045. The vertical axis covers only a narrow range and does not start at zero.
Image: WePocketModel README on GitHub.그림: WePocketModel README(GitHub). Open original원본 보기

On CUDA it waits for free memory equal to the weight files plus 2 GiB, which is a loading threshold, and peak usage depends on the input and generation length. Each invocation processes one request, writes a JSON result and exits, with 1 to 512 generated tokens and a GGUF context budget of 4,096 unless it is changed. Code included in a model export runs with the user’s permissions when --trust-model-code is passed. The model card says structured decisions should be validated before they trigger actions, and the README gives no device, memory or latency figures for its demos.CUDA에서는 가중치 파일 크기에 2 GiB를 더한 만큼 메모리가 빌 때까지 기다리는데, 이는 불러오기 문턱이고 최대 사용량은 입력과 생성 길이에 따라 다릅니다. 명령 한 번은 요청 하나를 처리해 JSON 결과를 쓰고 끝나며, 생성 길이는 1~512토큰, GGUF 문맥 예산은 따로 정하지 않으면 4,096입니다. 내보낸 모델에 든 코드는 --trust-model-code를 주면 사용자 권한으로 돕니다. 모델 카드는 구조화된 판단으로 동작을 일으키기 전에 검증해야 한다고 적었고, README에는 시연의 기기와 메모리, 지연 시간 수치가 없습니다.

All algoit posts알고IT 글 목록

Follow our AI news onAI 소식 팔로우하기X Instagram Threads