Views
No views yet
| Model | Params | XM3600 | ImageNet | Recruit | WAON-Bench | Avg |
|---|---|---|---|---|---|---|
| siglip2-base-patch16-256 (fine-tuned on WAON) | 375M | 73.75 | 49.61 | 83.14 | 94.97 | 75.37 |
| siglip2-base-patch16-256 (fine-tuned on ReLAION) | 375M | 72.39 | 47.38 | 81.65 | 92.99 | 73.60 |
| siglip2-base-patch16-256 | 375M | 38.28 | 48.12 | 76.98 | 87.81 | 62.80 |
| clip-japanese-base | 196M | 78.00 | 48.90 | 81.65 | 90.05 | 74.65 |
| siglip-base-patch16-256-mult | 371M | 43.22 | 53.26 | 75.10 | 89.25 | 65.21 |
| Japanese Stable CLIP ViT-L-16 | 414M | 66.03 | 55.97 | 71.29 | 82.03 | 68.83 |
| LAION-CLIP-ViT-H-14 | 1193M | 72.64 | 47.67 | 70.62 | 85.88 | 69.20 |
1import torch
2import requests
3from PIL import Image
4from transformers import AutoProcessor, AutoModel
5
6ckpt = "llm-jp/waon-siglip2-base-patch16-256"
7model = AutoModel.from_pretrained(ckpt)
8processor = AutoProcessor.from_pretrained(ckpt)
9
10url = "https://upload.wikimedia.org/wikipedia/commons/5/58/Shiba_inu_taiki.jpg"
11image = Image.open(requests.get(url, stream=True, headers={"User-Agent": "Mozilla/5.0"}).raw).convert("RGB")
12candidate_labels = ["柴犬", "日本猫", "いわし"]
13
14# IMPORTANT: we pass `padding=max_length` and `max_length=64` since the model was trained with this
15inputs = processor(text=candidate_labels, images=image, padding="max_length", max_length=64, return_tensors="pt").to(model.device)
16
17with torch.no_grad():
18 outputs = model(**inputs)
19
20logits_per_image = outputs.logits_per_image
21probs = torch.sigmoid(logits_per_image)
22for i, label in enumerate(candidate_labels):
23 print(f"prob that image is '{label}': {probs[0][i]:.2%}")
24# prob that image is '柴犬': 96.57%
25# prob that image is '日本猫': 0.03%
26# prob that image is 'いわし': 0.00%1@misc{sugiura2025waonlargescalehighqualityjapanese,
2 title={WAON: Large-Scale and High-Quality Japanese Image-Text Pair Dataset for Vision-Language Models},
3 author={Issa Sugiura and Shuhei Kurita and Yusuke Oda and Daisuke Kawahara and Yasuo Okabe and Naoaki Okazaki},
4 year={2025},
5 eprint={2510.22276},
6 archivePrefix={arXiv},
7 primaryClass={cs.CV},
8 url={https://arxiv.org/abs/2510.22276},
9}