├── FollowRAG ├── eval │ ├── if_eval.py │ ├── main_eval.py │ └── rag_eval.py ├── followRAG │ ├── atom_instruction.json │ ├── followRAG_full.json │ ├── followRAG_ifhq.json │ ├── followRAG_ifnq.json │ ├── followRAG_iftq.json │ └── followRAG_ifwebq.json ├── readme.md ├── requirements.txt ├── scripts │ └── eval.sh └── utils │ ├── call_llm.py │ ├── instruction_following_eval │ ├── instructions.py │ ├── instructions_registry.py │ └── instructions_util.py │ └── util.py ├── README.md └── VIF-RAG ├── LICENSE ├── requirements.txt ├── sample_data ├── augment_instructions.txt ├── cross_validation.jsonl ├── dpo_query_eval_score_results.jsonl ├── dpo_query_w_funcs.jsonl ├── eval_func_rft.jsonl ├── multi_instruction.txt ├── multi_instruction_score.jsonl ├── query_rft.jsonl ├── query_rft_score.jsonl ├── query_score_filter.jsonl └── seed_instruction.txt └── vifrag.ipynb /FollowRAG/eval/if_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongguanting/FollowRAG/HEAD/FollowRAG/eval/if_eval.py -------------------------------------------------------------------------------- /FollowRAG/eval/main_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongguanting/FollowRAG/HEAD/FollowRAG/eval/main_eval.py -------------------------------------------------------------------------------- /FollowRAG/eval/rag_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongguanting/FollowRAG/HEAD/FollowRAG/eval/rag_eval.py -------------------------------------------------------------------------------- /FollowRAG/followRAG/atom_instruction.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongguanting/FollowRAG/HEAD/FollowRAG/followRAG/atom_instruction.json -------------------------------------------------------------------------------- /FollowRAG/followRAG/followRAG_full.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongguanting/FollowRAG/HEAD/FollowRAG/followRAG/followRAG_full.json -------------------------------------------------------------------------------- /FollowRAG/followRAG/followRAG_ifhq.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongguanting/FollowRAG/HEAD/FollowRAG/followRAG/followRAG_ifhq.json -------------------------------------------------------------------------------- /FollowRAG/followRAG/followRAG_ifnq.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongguanting/FollowRAG/HEAD/FollowRAG/followRAG/followRAG_ifnq.json -------------------------------------------------------------------------------- /FollowRAG/followRAG/followRAG_iftq.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongguanting/FollowRAG/HEAD/FollowRAG/followRAG/followRAG_iftq.json -------------------------------------------------------------------------------- /FollowRAG/followRAG/followRAG_ifwebq.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongguanting/FollowRAG/HEAD/FollowRAG/followRAG/followRAG_ifwebq.json -------------------------------------------------------------------------------- /FollowRAG/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongguanting/FollowRAG/HEAD/FollowRAG/readme.md -------------------------------------------------------------------------------- /FollowRAG/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongguanting/FollowRAG/HEAD/FollowRAG/requirements.txt -------------------------------------------------------------------------------- /FollowRAG/scripts/eval.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongguanting/FollowRAG/HEAD/FollowRAG/scripts/eval.sh -------------------------------------------------------------------------------- /FollowRAG/utils/call_llm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongguanting/FollowRAG/HEAD/FollowRAG/utils/call_llm.py -------------------------------------------------------------------------------- /FollowRAG/utils/instruction_following_eval/instructions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongguanting/FollowRAG/HEAD/FollowRAG/utils/instruction_following_eval/instructions.py -------------------------------------------------------------------------------- /FollowRAG/utils/instruction_following_eval/instructions_registry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongguanting/FollowRAG/HEAD/FollowRAG/utils/instruction_following_eval/instructions_registry.py -------------------------------------------------------------------------------- /FollowRAG/utils/instruction_following_eval/instructions_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongguanting/FollowRAG/HEAD/FollowRAG/utils/instruction_following_eval/instructions_util.py -------------------------------------------------------------------------------- /FollowRAG/utils/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongguanting/FollowRAG/HEAD/FollowRAG/utils/util.py -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongguanting/FollowRAG/HEAD/README.md -------------------------------------------------------------------------------- /VIF-RAG/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongguanting/FollowRAG/HEAD/VIF-RAG/LICENSE -------------------------------------------------------------------------------- /VIF-RAG/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongguanting/FollowRAG/HEAD/VIF-RAG/requirements.txt -------------------------------------------------------------------------------- /VIF-RAG/sample_data/augment_instructions.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongguanting/FollowRAG/HEAD/VIF-RAG/sample_data/augment_instructions.txt -------------------------------------------------------------------------------- /VIF-RAG/sample_data/cross_validation.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongguanting/FollowRAG/HEAD/VIF-RAG/sample_data/cross_validation.jsonl -------------------------------------------------------------------------------- /VIF-RAG/sample_data/dpo_query_eval_score_results.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongguanting/FollowRAG/HEAD/VIF-RAG/sample_data/dpo_query_eval_score_results.jsonl -------------------------------------------------------------------------------- /VIF-RAG/sample_data/dpo_query_w_funcs.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongguanting/FollowRAG/HEAD/VIF-RAG/sample_data/dpo_query_w_funcs.jsonl -------------------------------------------------------------------------------- /VIF-RAG/sample_data/eval_func_rft.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongguanting/FollowRAG/HEAD/VIF-RAG/sample_data/eval_func_rft.jsonl -------------------------------------------------------------------------------- /VIF-RAG/sample_data/multi_instruction.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongguanting/FollowRAG/HEAD/VIF-RAG/sample_data/multi_instruction.txt -------------------------------------------------------------------------------- /VIF-RAG/sample_data/multi_instruction_score.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongguanting/FollowRAG/HEAD/VIF-RAG/sample_data/multi_instruction_score.jsonl -------------------------------------------------------------------------------- /VIF-RAG/sample_data/query_rft.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongguanting/FollowRAG/HEAD/VIF-RAG/sample_data/query_rft.jsonl -------------------------------------------------------------------------------- /VIF-RAG/sample_data/query_rft_score.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongguanting/FollowRAG/HEAD/VIF-RAG/sample_data/query_rft_score.jsonl -------------------------------------------------------------------------------- /VIF-RAG/sample_data/query_score_filter.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongguanting/FollowRAG/HEAD/VIF-RAG/sample_data/query_score_filter.jsonl -------------------------------------------------------------------------------- /VIF-RAG/sample_data/seed_instruction.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongguanting/FollowRAG/HEAD/VIF-RAG/sample_data/seed_instruction.txt -------------------------------------------------------------------------------- /VIF-RAG/vifrag.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dongguanting/FollowRAG/HEAD/VIF-RAG/vifrag.ipynb --------------------------------------------------------------------------------