Skip to content

Help Me with FlashRAG Error #1

@PoisonousBromineChan

Description

@PoisonousBromineChan

Hello, I installed version 3.10 of Python and installed flashrag dev using the readme.md command line. However, currently, the code related to flashrag runs with errors. It is expected that the version is incompatible. Can you help me check my errors? Error message: (reasonrag)[ root@localhost ReasonRAG]# python inference.py --dataset_name hotpotqa --model "/home/x/ReasonRAG/Qwen2.5-7B-Instruct-ReasonRAG/"
Traceback (most recent call last):
File "/home/x/ReasonRAG/inference.py", line 6, in
from pipeline.reasonrag_pipeline import ReasonRAGPipeline
File "/home/x/ReasonRAG/pipeline/reasonrag_pipeline.py", line 27, in
from flashrag.dataset import get_batch_dataset, merge_batch_dataset, Dataset
ImportError: cannot import name 'get_batch_dataset' from 'flashrag.dataset' (/home/x/ReasonRAG/FlashRAG/flashrag/dataset/init.py)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions