openbmb / EVisRAG-3B

huggingface.co
Total runs: 181
24-hour runs: 2
7-day runs: -25
30-day runs: 112
Model's Last Updated: October 14 2025

Introduction of EVisRAG-3B

Model Details of EVisRAG-3B

VisRAG 2.0: Evidence-Guided Multi-Image Reasoning in Visual Retrieval-Augmented Generation

Github arXiv Hugging Face

📖 Introduction 🎉 News ⚙️ Setup ⚡️ Training

📃 Evaluation 🔧 Usage 📄 Lisense 📧 Contact

📖 Introduction

EVisRAG (VisRAG 2.0) is an evidence-guided Vision Retrieval-augmented Generation framework that equips VLMs for multi-image questions by first linguistically observing retrieved images to collect per-image evidence, then reasoning over those cues to answer. EVisRAG trains with Reward-Scoped GRPO, applying fine-grained token-level rewards to jointly optimize visual perception and reasoning.

🎉 News

  • 20251001: Released EVisRAG (VisRAG 2.0) , an end-to-end Vision-Language Model. Released our Paper on arXiv. Released our Model on Hugging Face. Released our Code on GitHub

✨ EVisRAG Pipeline

EVisRAG is an end-to-end framework which equips VLMs with precise visual perception during reasoning in multi-image scenarios. We trained and realeased VLRMs with EVisRAG built on Qwen2.5-VL-7B-Instruct , and Qwen2.5-VL-3B-Instruct .

⚙️ Setup

git clone https://github.com/OpenBMB/VisRAG.git
conda create --name EVisRAG python==3.10
conda activate EVisRAG
cd EVisRAG
pip install -r EVisRAG_requirements.txt

⚡️ Training

Stage1: SFT (based on LLaMA-Factory )

git clone https://github.com/hiyouga/LLaMA-Factory.git 
bash evisrag_scripts/full_sft.sh

Stage2: RS-GRPO (based on Easy-R1 )

bash evisrag_scripts/run_rsgrpo.sh

Notes:

  1. The training data is available on Hugging Face under EVisRAG-Train , which is referenced at the beginning of this page.
  2. We adopt a two-stage training strategy. In the first stage, please clone LLaMA-Factory and update the model path in the full_sft.sh script. In the second stage, we built our customized algorithm RS-GRPO based on Easy-R1 , specifically designed for EVisRAG, whose implementation can be found in src/RS-GRPO .

📃 Evaluation

bash evisrag_scripts/predict.sh
bash evisrag_scripts/eval.sh 

Notes:

  1. The test data is available on Hugging Face under EVisRAG-Test-xxx , as referenced at the beginning of this page.
  2. To run the evaluation, first execute the predict.sh script. The model outputs will be saved in the preds directory. Then, use the eval.sh script to evaluate the predictions. The metrics EM , Accuracy , and F1 will be reported directly.

🔧 Usage

Model on Hugging Face: https://huggingface.co/openbmb/EVisRAG-7B

from transformers import AutoProcessor
from vllm import LLM, SamplingParams
from qwen_vl_utils import process_vision_info

def evidence_promot_grpo(query):
    return f"""You are an AI Visual QA assistant. I will provide you with a question and several images. Please follow the four steps below:

Step 1: Observe the Images
First, analyze the question and consider what types of images may contain relevant information. Then, examine each image one by one, paying special attention to aspects related to the question. Identify whether each image contains any potentially relevant information.
Wrap your observations within <observe></observe> tags.

Step 2: Record Evidences from Images
After reviewing all images, record the evidence you find for each image within <evidence></evidence> tags.
If you are certain that an image contains no relevant information, record it as: [i]: no relevant information(where i denotes the index of the image).
If an image contains relevant evidence, record it as: [j]: [the evidence you find for the question](where j is the index of the image).

Step 3: Reason Based on the Question and Evidences
Based on the recorded evidences, reason about the answer to the question.
Include your step-by-step reasoning within <think></think> tags.

Step 4: Answer the Question
Provide your final answer based only on the evidences you found in the images.
Wrap your answer within <answer></answer> tags.
Avoid adding unnecessary contents in your final answer, like if the question is a yes/no question, simply answer "yes" or "no".
If none of the images contain sufficient information to answer the question, respond with <answer>insufficient to answer</answer>.

Formatting Requirements:
Use the exact tags <observe>, <evidence>, <think>, and <answer> for structured output.
It is possible that none, one, or several images contain relevant evidence.
If you find no evidence or few evidences, and insufficient to help you answer the question, follow the instruction above for insufficient information.

Question and images are provided below. Please follow the steps as instructed.
Question: {query}
"""

model_path = "xxx"
processor = AutoProcessor.from_pretrained(model_path, trust_remote_code=True, padding_side='left')

imgs, query = ["imgpath1", "imgpath2", ..., "imgpathX"], "What xxx?"
input_prompt = evidence_promot_grpo(query)

content = [{"type": "text", "text": input_prompt}]
for imgP in imgs:
    content.append({
        "type": "image",
        "image": imgP
    })
msg = [{
          "role": "user",
          "content": content,
      }]

llm = LLM(
    model=model_path,
    tensor_parallel_size=1,
    dtype="bfloat16",
    limit_mm_per_prompt={"image":5, "video":0},
)

sampling_params = SamplingParams(
    temperature=0.1,
    repetition_penalty=1.05,
    max_tokens=2048,
)

prompt = processor.apply_chat_template(
    msg,
    tokenize=False,
    add_generation_prompt=True,
)

image_inputs, _ = process_vision_info(msg)

msg_input = [{
    "prompt": prompt,
    "multi_modal_data": {"image": image_inputs},
}]

output_texts = llm.generate(msg_input,
    sampling_params=sampling_params,
)

print(output_texts[0].outputs[0].text)

📄 License

📧 Contact

EVisRAG

Runs of openbmb EVisRAG-3B on huggingface.co

181
Total runs
2
24-hour runs
5
3-day runs
-25
7-day runs
112
30-day runs

More Information About EVisRAG-3B huggingface.co Model

More EVisRAG-3B license Visit here:

https://choosealicense.com/licenses/apache-2.0

EVisRAG-3B huggingface.co

EVisRAG-3B huggingface.co is an AI model on huggingface.co that provides EVisRAG-3B's model effect (), which can be used instantly with this openbmb EVisRAG-3B model. huggingface.co supports a free trial of the EVisRAG-3B model, and also provides paid use of the EVisRAG-3B. Support call EVisRAG-3B model through api, including Node.js, Python, http.

EVisRAG-3B huggingface.co Url

https://huggingface.co/openbmb/EVisRAG-3B

openbmb EVisRAG-3B online free

EVisRAG-3B huggingface.co is an online trial and call api platform, which integrates EVisRAG-3B's modeling effects, including api services, and provides a free online trial of EVisRAG-3B, you can try EVisRAG-3B online for free by clicking the link below.

openbmb EVisRAG-3B online free url in huggingface.co:

https://huggingface.co/openbmb/EVisRAG-3B

EVisRAG-3B install

EVisRAG-3B is an open source model from GitHub that offers a free installation service, and any user can find EVisRAG-3B on GitHub to install. At the same time, huggingface.co provides the effect of EVisRAG-3B install, users can directly use EVisRAG-3B installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

EVisRAG-3B install url in huggingface.co:

https://huggingface.co/openbmb/EVisRAG-3B

Url of EVisRAG-3B

EVisRAG-3B huggingface.co Url

Provider of EVisRAG-3B huggingface.co

openbmb
ORGANIZATIONS

Other API from openbmb

huggingface.co

Total runs: 200.2K
Run Growth: 91.4K
Growth Rate: 45.63%
Updated:October 05 2025
huggingface.co

Total runs: 134.8K
Run Growth: -3.0K
Growth Rate: -2.19%
Updated:March 10 2026
huggingface.co

Total runs: 117.8K
Run Growth: 4.9K
Growth Rate: 4.17%
Updated:September 15 2025
huggingface.co

Total runs: 112.2K
Run Growth: 89.6K
Growth Rate: 79.87%
Updated:May 10 2026
huggingface.co

Total runs: 106.9K
Run Growth: -45.2K
Growth Rate: -42.32%
Updated:June 13 2025
huggingface.co

Total runs: 25.5K
Run Growth: 411
Growth Rate: 1.61%
Updated:October 24 2025
huggingface.co

Total runs: 20.0K
Run Growth: 1.8K
Growth Rate: 8.78%
Updated:October 24 2025
huggingface.co

Total runs: 19.9K
Run Growth: 406
Growth Rate: 2.04%
Updated:January 15 2025
huggingface.co

Total runs: 13.1K
Run Growth: 7.9K
Growth Rate: 60.73%
Updated:June 02 2023
huggingface.co

Total runs: 11.5K
Run Growth: 10.4K
Growth Rate: 90.57%
Updated:May 07 2026
huggingface.co

Total runs: 7.7K
Run Growth: -4.1K
Growth Rate: -52.99%
Updated:February 27 2025
huggingface.co

Total runs: 6.5K
Run Growth: 523
Growth Rate: 8.06%
Updated:January 14 2026
huggingface.co

Total runs: 5.4K
Run Growth: 5.4K
Growth Rate: 99.14%
Updated:June 10 2025
huggingface.co

Total runs: 5.2K
Run Growth: 3.7K
Growth Rate: 70.38%
Updated:October 20 2025
huggingface.co

Total runs: 4.8K
Run Growth: 2.7K
Growth Rate: 56.92%
Updated:November 04 2024
huggingface.co

Total runs: 1.7K
Run Growth: 1.7K
Growth Rate: 96.26%
Updated:August 12 2023
huggingface.co

Total runs: 1.4K
Run Growth: 79
Growth Rate: 5.80%
Updated:January 15 2025
huggingface.co

Total runs: 1.0K
Run Growth: 153
Growth Rate: 14.93%
Updated:September 19 2025
huggingface.co

Total runs: 891
Run Growth: 76
Growth Rate: 8.53%
Updated:June 27 2023
huggingface.co

Total runs: 847
Run Growth: 48
Growth Rate: 5.67%
Updated:August 24 2023
huggingface.co

Total runs: 436
Run Growth: 372
Growth Rate: 85.32%
Updated:February 12 2026
huggingface.co

Total runs: 416
Run Growth: -75
Growth Rate: -18.03%
Updated:October 14 2023
huggingface.co

Total runs: 345
Run Growth: 207
Growth Rate: 55.50%
Updated:June 14 2025
huggingface.co

Total runs: 314
Run Growth: -86
Growth Rate: -24.50%
Updated:May 14 2024
huggingface.co

Total runs: 188
Run Growth: 104
Growth Rate: 55.32%
Updated:February 21 2024
huggingface.co

Total runs: 172
Run Growth: -1.4K
Growth Rate: -831.95%
Updated:April 08 2024
huggingface.co

Total runs: 156
Run Growth: 24
Growth Rate: 15.38%
Updated:February 21 2024
huggingface.co

Total runs: 148
Run Growth: 19
Growth Rate: 12.84%
Updated:April 16 2024
huggingface.co

Total runs: 140
Run Growth: 71
Growth Rate: 50.71%
Updated:February 21 2024
huggingface.co

Total runs: 134
Run Growth: 89
Growth Rate: 66.42%
Updated:June 11 2025
huggingface.co

Total runs: 133
Run Growth: 60
Growth Rate: 45.11%
Updated:February 21 2024
huggingface.co

Total runs: 133
Run Growth: 98
Growth Rate: 73.68%
Updated:December 07 2025