How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("image-text-to-text", model="HumanBehaviorAtlas/OmniSapiens2.0")
messages = [
    {
        "role": "user",
        "content": [
            {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"},
            {"type": "text", "text": "What animal is on the candy?"}
        ]
    },
]
pipe(text=messages)
# Load model directly
from transformers import AutoTokenizer, AutoModelForImageTextToText

tokenizer = AutoTokenizer.from_pretrained("HumanBehaviorAtlas/OmniSapiens2.0")
model = AutoModelForImageTextToText.from_pretrained("HumanBehaviorAtlas/OmniSapiens2.0")
messages = [
    {
        "role": "user",
        "content": [
            {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"},
            {"type": "text", "text": "What animal is on the candy?"}
        ]
    },
]
inputs = tokenizer.apply_chat_template(
	messages,
	add_generation_prompt=True,
	tokenize=True,
	return_dict=True,
	return_tensors="pt",
).to(model.device)

outputs = model.generate(**inputs, max_new_tokens=40)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
Quick Links

Omnisapiens 2.0

Omnisapiens 2.0 is a model developed with reference to the following paper:

📄 Omnisapiens: A foundation model for social behavior processing via heterogeneity-aware relative policy optimization: arXiv:2602.10635

Citation

If you use this model, please cite the associated paper:

@article{ong2026omnisapiens,
  title={Omnisapiens: A foundation model for social behavior processing via heterogeneity-aware relative policy optimization},
  author={Ong, Keane and Boughorbel, Sabri and Xiao, Luwei and Ekbote, Chanakya and Dai, Wei and Qu, Ao and Wu, Jingyao and Mao, Rui and Hoque, Ehsan and Cambria, Erik and others},
  journal={arXiv preprint arXiv:2602.10635},
  year={2026}
}
Downloads last month
663
Safetensors
Model size
9B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Paper for HumanBehaviorAtlas/OmniSapiens2.0