├── .gitignore ├── README.md ├── data ├── alpaca_data.json └── cherry_alpaca_v1 │ ├── cherry_alpaca_5_percent.json │ └── cherry_alpaca_5_percent_compressed.json ├── images ├── alpaca1.jpg ├── compare_fig.jpg ├── compare_pair.jpg ├── compare_tbl.jpg └── reflection_main.png ├── reflection_code ├── reflect_instruction.py ├── reflect_instruction_postprocess.py ├── reflect_response.py └── reflect_response_postprocess.py ├── requirements.txt ├── scripts ├── reflect_instruction.sh ├── reflect_instruction_postprocess.sh ├── reflect_response.sh ├── reflect_response_postprocess.sh ├── select_data_analysis.sh └── select_put_analysis.sh └── selection_code ├── data_analysis.py ├── get_select_data.py └── put_analysis_to_data.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tianyi-lab/Reflection_Tuning/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tianyi-lab/Reflection_Tuning/HEAD/README.md -------------------------------------------------------------------------------- /data/alpaca_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tianyi-lab/Reflection_Tuning/HEAD/data/alpaca_data.json -------------------------------------------------------------------------------- /data/cherry_alpaca_v1/cherry_alpaca_5_percent.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tianyi-lab/Reflection_Tuning/HEAD/data/cherry_alpaca_v1/cherry_alpaca_5_percent.json -------------------------------------------------------------------------------- /data/cherry_alpaca_v1/cherry_alpaca_5_percent_compressed.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tianyi-lab/Reflection_Tuning/HEAD/data/cherry_alpaca_v1/cherry_alpaca_5_percent_compressed.json -------------------------------------------------------------------------------- /images/alpaca1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tianyi-lab/Reflection_Tuning/HEAD/images/alpaca1.jpg -------------------------------------------------------------------------------- /images/compare_fig.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tianyi-lab/Reflection_Tuning/HEAD/images/compare_fig.jpg -------------------------------------------------------------------------------- /images/compare_pair.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tianyi-lab/Reflection_Tuning/HEAD/images/compare_pair.jpg -------------------------------------------------------------------------------- /images/compare_tbl.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tianyi-lab/Reflection_Tuning/HEAD/images/compare_tbl.jpg -------------------------------------------------------------------------------- /images/reflection_main.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tianyi-lab/Reflection_Tuning/HEAD/images/reflection_main.png -------------------------------------------------------------------------------- /reflection_code/reflect_instruction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tianyi-lab/Reflection_Tuning/HEAD/reflection_code/reflect_instruction.py -------------------------------------------------------------------------------- /reflection_code/reflect_instruction_postprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tianyi-lab/Reflection_Tuning/HEAD/reflection_code/reflect_instruction_postprocess.py -------------------------------------------------------------------------------- /reflection_code/reflect_response.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tianyi-lab/Reflection_Tuning/HEAD/reflection_code/reflect_response.py -------------------------------------------------------------------------------- /reflection_code/reflect_response_postprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tianyi-lab/Reflection_Tuning/HEAD/reflection_code/reflect_response_postprocess.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tianyi-lab/Reflection_Tuning/HEAD/requirements.txt -------------------------------------------------------------------------------- /scripts/reflect_instruction.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tianyi-lab/Reflection_Tuning/HEAD/scripts/reflect_instruction.sh -------------------------------------------------------------------------------- /scripts/reflect_instruction_postprocess.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tianyi-lab/Reflection_Tuning/HEAD/scripts/reflect_instruction_postprocess.sh -------------------------------------------------------------------------------- /scripts/reflect_response.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tianyi-lab/Reflection_Tuning/HEAD/scripts/reflect_response.sh -------------------------------------------------------------------------------- /scripts/reflect_response_postprocess.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tianyi-lab/Reflection_Tuning/HEAD/scripts/reflect_response_postprocess.sh -------------------------------------------------------------------------------- /scripts/select_data_analysis.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tianyi-lab/Reflection_Tuning/HEAD/scripts/select_data_analysis.sh -------------------------------------------------------------------------------- /scripts/select_put_analysis.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tianyi-lab/Reflection_Tuning/HEAD/scripts/select_put_analysis.sh -------------------------------------------------------------------------------- /selection_code/data_analysis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tianyi-lab/Reflection_Tuning/HEAD/selection_code/data_analysis.py -------------------------------------------------------------------------------- /selection_code/get_select_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tianyi-lab/Reflection_Tuning/HEAD/selection_code/get_select_data.py -------------------------------------------------------------------------------- /selection_code/put_analysis_to_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tianyi-lab/Reflection_Tuning/HEAD/selection_code/put_analysis_to_data.py --------------------------------------------------------------------------------