Views
No views yet
LCO-Embedding-Omni-3B-2605!

| Model | Release Time |
|---|---|
| LCO-Embedding-Omni-3B | Oct 2025 |
| LCO-Embedding-Omni-7B | Oct 2025 |
| LCO-Embedding-Omni-3B-2605 | May 2026 |
pip install "sentence_transformers[image,audio,video]" "transformers>=5.6.0"1import torch
2from sentence_transformers import SentenceTransformer
3
4model = SentenceTransformer(
5 "LCO-Embedding/LCO-Embedding-Omni-3B-2605",
6 model_kwargs={
7 "dtype": torch.bfloat16,
8 # "attn_implementation": "flash_attention_2", # recommended, if a flash-attn build exists for your platform
9 },
10)Summarize the above <modality> in one word: instruction used in the paper is baked into the chat template, so encode() takes plain text, file paths, URLs, or multimodal dicts directly.1query = "What is the tallest mountain in the world?"
2documents = [
3 "Mount Everest is Earth's highest mountain above sea level, located in the Mahalangur Himal sub-range of the Himalayas. Its elevation of 8,848.86 metres was established by a joint Chinese-Nepali survey in 2020.",
4 "K2, at 8,611 metres above sea level, is the second-highest mountain on Earth, after Mount Everest. It lies in the Karakoram range on the China-Pakistan border.",
5 "Mount Kilimanjaro is a dormant volcano in Tanzania. It is the highest mountain in Africa, with its summit about 5,895 metres above sea level.",
6]
7
8query_embedding = model.encode(query)
9document_embeddings = model.encode(documents)
10print(model.similarity(query_embedding, document_embeddings))
11# tensor([[0.5368, 0.5053, 0.4989]])1query = "How many input modalities does Qwen2.5-Omni support?"
2documents = [
3 "https://huggingface.co/Tevatron/OmniEmbed-v0.1/resolve/main/assets/qwen2.5omni_hgf.png",
4 "https://huggingface.co/Tevatron/OmniEmbed-v0.1/resolve/main/assets/llama4_hgf.png",
5]
6
7query_embedding = model.encode(query)
8document_embeddings = model.encode(documents, batch_size=1)
9print(model.similarity(query_embedding, document_embeddings))
10# tensor([[0.6544, 0.3852]])1query = "A light piano piece"
2documents = [
3 "https://huggingface.co/Tevatron/OmniEmbed-v0.1/resolve/main/assets/joe_hisaishi_summer.mp3",
4 "https://huggingface.co/Tevatron/OmniEmbed-v0.1/resolve/main/assets/jay_chou_superman_cant_fly.mp3",
5]
6
7query_embedding = model.encode(query)
8document_embeddings = model.encode(documents, batch_size=1)
9print(model.similarity(query_embedding, document_embeddings))
10# tensor([[0.3649, 0.0662]])1# For video on smaller GPUs, cap the processor up front:
2model[0].processing_kwargs.update({
3 "video": {"max_pixels": 64 * 28 * 28, "do_sample_frames": True, "fps": 1},
4})
5
6query = "How to cook Mapo Tofu?"
7documents = [
8 "https://huggingface.co/Tevatron/OmniEmbed-v0.1/resolve/main/assets/mapo_tofu.mp4",
9 "https://huggingface.co/Tevatron/OmniEmbed-v0.1/resolve/main/assets/zhajiang_noodle.mp4",
10]
11
12query_embedding = model.encode(query)
13document_embeddings = model.encode(documents, batch_size=1)
14print(model.similarity(query_embedding, document_embeddings))
15# tensor([[0.6408, 0.4967]])"text", "image", "audio", and "video" keys instead of a single path or string:1documents = [
2 {
3 "text": "A cooking tutorial for Mapo Tofu",
4 "video": "https://huggingface.co/Tevatron/OmniEmbed-v0.1/resolve/main/assets/mapo_tofu.mp4",
5 },
6 {
7 "image": "https://huggingface.co/Tevatron/OmniEmbed-v0.1/resolve/main/assets/qwen2.5omni_hgf.png",
8 "audio": "https://huggingface.co/Tevatron/OmniEmbed-v0.1/resolve/main/assets/joe_hisaishi_summer.mp3",
9 },
10]
11document_embeddings = model.encode(documents, batch_size=1)
12print(document_embeddings.shape)
13# (2, 2048)bfloat16 on a CUDA device with the default (sdpa) attention. Exact values shift slightly in the fourth decimal with a different dtype or attention implementation.