Instructions to use RUC-NLPIR/OmniAtlas-Qwen2.5-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RUC-NLPIR/OmniAtlas-Qwen2.5-7B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="RUC-NLPIR/OmniAtlas-Qwen2.5-7B") 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 AutoProcessor, AutoModelForTextToWaveform processor = AutoProcessor.from_pretrained("RUC-NLPIR/OmniAtlas-Qwen2.5-7B") model = AutoModelForTextToWaveform.from_pretrained("RUC-NLPIR/OmniAtlas-Qwen2.5-7B") 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 = processor.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(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use RUC-NLPIR/OmniAtlas-Qwen2.5-7B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "RUC-NLPIR/OmniAtlas-Qwen2.5-7B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "RUC-NLPIR/OmniAtlas-Qwen2.5-7B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/RUC-NLPIR/OmniAtlas-Qwen2.5-7B
- SGLang
How to use RUC-NLPIR/OmniAtlas-Qwen2.5-7B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "RUC-NLPIR/OmniAtlas-Qwen2.5-7B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "RUC-NLPIR/OmniAtlas-Qwen2.5-7B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "RUC-NLPIR/OmniAtlas-Qwen2.5-7B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "RUC-NLPIR/OmniAtlas-Qwen2.5-7B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use RUC-NLPIR/OmniAtlas-Qwen2.5-7B with Docker Model Runner:
docker model run hf.co/RUC-NLPIR/OmniAtlas-Qwen2.5-7B
OmniAtlas: Omni-Modal Foundation Agent
This is the official checkpoint for the OmniAtlas-Qwen2.5-7B model, as introduced in the paper OmniGAIA: Towards Native Omni-Modal AI Agents. Download and use it for evaluation on the OmniGAIA Benchmark, or apply it to your own omni-modal agentic tasks.
OmniAtlas Training Pipeline
OmniAtlas is trained in two stages:
- Trajectory Synthesis & Supervised Learning — Gemini-3 provides step supervision while DeepSeek-V3.2 performs tool-augmented reasoning. Successful trajectories are used for SFT.
- OmniDPO: Fine-Grained Error Correction — Gemini-3 identifies and corrects errors in failed trajectories across perception, reasoning, and tool-use dimensions, producing preference pairs for DPO training.
Example Usage with vLLM
Serve the model with vLLM via an OpenAI-compatible API:
vllm serve /path/to/your/OmniAtlas-Qwen2.5-7B \
--served-model-name omniatlas-qwen2.5-7b \
--port 8080 \
--host 0.0.0.0 \
--tensor-parallel-size 2 \
--gpu-memory-utilization 0.9 \
--trust-remote-code \
--enable-auto-tool-choice \
--tool-call-parser hermes \
--uvicorn-log-level debug \
--max-model-len 32768
Then query the model with omni-modal inputs (image, audio, video) and tools:
import base64
from openai import OpenAI
client = OpenAI(base_url="http://localhost:8080/v1", api_key="empty")
def encode_base64(file_path):
with open(file_path, "rb") as f:
return base64.b64encode(f.read()).decode("utf-8")
video_b64 = encode_base64("/path/to/video.mp4")
audio_b64 = encode_base64("/path/to/audio.wav")
image_b64 = encode_base64("/path/to/image.jpg")
tools = [
{
"type": "function",
"function": {
"name": "web_search",
"description": "Perform a Google web search and return the top results (title, URL, snippet).",
"parameters": {
"type": "object",
"properties": {
"query": {"type": "string", "description": "The search query string."}
},
"required": ["query"]
}
}
},
{
"type": "function",
"function": {
"name": "page_browser",
"description": "Fetch and extract the full text content from one or more webpages.",
"parameters": {
"type": "object",
"properties": {
"urls": {
"type": "array",
"items": {"type": "string"},
"description": "A list of webpage URLs to fetch content from."
}
},
"required": ["urls"]
}
}
},
{
"type": "function",
"function": {
"name": "code_executor",
"description": "Execute Python code in a sandbox. Available: numpy, pandas, sympy, math, etc.",
"parameters": {
"type": "object",
"properties": {
"code": {"type": "string", "description": "Python code to execute."}
},
"required": ["code"]
}
}
},
]
response = client.chat.completions.create(
model="omniatlas-qwen2.5-7b",
messages=[
{
"role": "user",
"content": [
{"type": "video_url", "video_url": {"url": f"data:video/mp4;base64,{video_b64}"}},
{"type": "audio_url", "audio_url": {"url": f"data:audio/wav;base64,{audio_b64}"}},
{"type": "image_url", "image_url": {"url": f"data:image/jpeg;base64,{image_b64}"}},
{"type": "text", "text": "Based on the video, audio, and image, answer the question: ..."},
],
}
],
tools=tools,
tool_choice="auto",
)
print(response.choices[0].message.content)
For full evaluation and agent usage, see the OmniGAIA repository.
Citation
If you find OmniAtlas useful in your work, we kindly ask that you cite us:
@misc{li2026omnigaia,
title={OmniGAIA: Towards Native Omni-Modal AI Agents},
author={Xiaoxi Li and Wenxiang Jiao and Jiarui Jin and Shijian Wang and Guanting Dong and Jiajie Jin and Hao Wang and Yinuo Wang and Ji-Rong Wen and Yuan Lu and Zhicheng Dou},
year={2026},
eprint={2602.22897},
archivePrefix={arXiv},
primaryClass={cs.AI},
url={https://arxiv.org/abs/2602.22897},
}
- Downloads last month
- 111
Model tree for RUC-NLPIR/OmniAtlas-Qwen2.5-7B
Base model
Qwen/Qwen2.5-Omni-7B