HuskyInSalt / CRAG

Corrective Retrieval Augmented Generation
277 stars 26 forks source link

concerning run_evaluator_training.sh #23

Closed luoxuewei closed 3 weeks ago

luoxuewei commented 3 weeks 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