HuskyInSalt / CRAG

Corrective Retrieval Augmented Generation
298 stars 29 forks source link

concerning run_evaluator_training.sh #23

Closed luoxuewei closed 2 months ago

luoxuewei commented 2 months ago

!/bin/sh

cd scripts dataset= OPENAI_KEY= SEARCH_KEY=

python internal_knowledge_preparation.py \ --model_path YOUR_EVALUATOR_PATH \ --input_queries ../data/$dataset/sources \ --input_retrieval ../data/$dataset/retrieved_psgs \ --decompose_mode selection \ --output_file ../data/$dataset/ref/correct Which dataset is the dataset here