├── README.md ├── dpo_train ├── config.py ├── data │ ├── dpo_test.json │ ├── dpo_train.jsonl │ ├── dpo_train_mix.json │ └── ift_train.jsonl ├── deepspeed_zero1.yaml ├── dpo_train.py └── requirements.txt ├── get_data ├── GPT_api.py ├── __pycache__ │ ├── GPT_api.cpython-310.pyc │ ├── instructions.cpython-310.pyc │ ├── instructions_registry.cpython-310.pyc │ ├── instructions_util.cpython-310.pyc │ ├── prompts.cpython-310.pyc │ ├── taxonomy.cpython-310.pyc │ └── utils.cpython-310.pyc ├── check.py ├── correct.py ├── data │ ├── checked_res_llama2.jsonl │ ├── data.jsonl │ ├── res_llama2.jsonl │ └── seed_data.jsonl ├── do_inference.py ├── gen_inst.py ├── instructions.py ├── instructions_registry.py ├── instructions_util.py ├── prompts.py ├── taxonomy.py └── utils.py ├── requirements.txt └── scripts ├── check.sh ├── correct.sh ├── do_inference.sh ├── gen_inst.sh └── train_dpo.sh /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meowpass/FollowComplexInstruction/HEAD/README.md -------------------------------------------------------------------------------- /dpo_train/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meowpass/FollowComplexInstruction/HEAD/dpo_train/config.py -------------------------------------------------------------------------------- /dpo_train/data/dpo_test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meowpass/FollowComplexInstruction/HEAD/dpo_train/data/dpo_test.json -------------------------------------------------------------------------------- /dpo_train/data/dpo_train.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meowpass/FollowComplexInstruction/HEAD/dpo_train/data/dpo_train.jsonl -------------------------------------------------------------------------------- /dpo_train/data/dpo_train_mix.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meowpass/FollowComplexInstruction/HEAD/dpo_train/data/dpo_train_mix.json -------------------------------------------------------------------------------- /dpo_train/data/ift_train.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meowpass/FollowComplexInstruction/HEAD/dpo_train/data/ift_train.jsonl -------------------------------------------------------------------------------- /dpo_train/deepspeed_zero1.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meowpass/FollowComplexInstruction/HEAD/dpo_train/deepspeed_zero1.yaml -------------------------------------------------------------------------------- /dpo_train/dpo_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meowpass/FollowComplexInstruction/HEAD/dpo_train/dpo_train.py -------------------------------------------------------------------------------- /dpo_train/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meowpass/FollowComplexInstruction/HEAD/dpo_train/requirements.txt -------------------------------------------------------------------------------- /get_data/GPT_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meowpass/FollowComplexInstruction/HEAD/get_data/GPT_api.py -------------------------------------------------------------------------------- /get_data/__pycache__/GPT_api.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meowpass/FollowComplexInstruction/HEAD/get_data/__pycache__/GPT_api.cpython-310.pyc -------------------------------------------------------------------------------- /get_data/__pycache__/instructions.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meowpass/FollowComplexInstruction/HEAD/get_data/__pycache__/instructions.cpython-310.pyc -------------------------------------------------------------------------------- /get_data/__pycache__/instructions_registry.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meowpass/FollowComplexInstruction/HEAD/get_data/__pycache__/instructions_registry.cpython-310.pyc -------------------------------------------------------------------------------- /get_data/__pycache__/instructions_util.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meowpass/FollowComplexInstruction/HEAD/get_data/__pycache__/instructions_util.cpython-310.pyc -------------------------------------------------------------------------------- /get_data/__pycache__/prompts.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meowpass/FollowComplexInstruction/HEAD/get_data/__pycache__/prompts.cpython-310.pyc -------------------------------------------------------------------------------- /get_data/__pycache__/taxonomy.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meowpass/FollowComplexInstruction/HEAD/get_data/__pycache__/taxonomy.cpython-310.pyc -------------------------------------------------------------------------------- /get_data/__pycache__/utils.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meowpass/FollowComplexInstruction/HEAD/get_data/__pycache__/utils.cpython-310.pyc -------------------------------------------------------------------------------- /get_data/check.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meowpass/FollowComplexInstruction/HEAD/get_data/check.py -------------------------------------------------------------------------------- /get_data/correct.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meowpass/FollowComplexInstruction/HEAD/get_data/correct.py -------------------------------------------------------------------------------- /get_data/data/checked_res_llama2.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meowpass/FollowComplexInstruction/HEAD/get_data/data/checked_res_llama2.jsonl -------------------------------------------------------------------------------- /get_data/data/data.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meowpass/FollowComplexInstruction/HEAD/get_data/data/data.jsonl -------------------------------------------------------------------------------- /get_data/data/res_llama2.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meowpass/FollowComplexInstruction/HEAD/get_data/data/res_llama2.jsonl -------------------------------------------------------------------------------- /get_data/data/seed_data.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meowpass/FollowComplexInstruction/HEAD/get_data/data/seed_data.jsonl -------------------------------------------------------------------------------- /get_data/do_inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meowpass/FollowComplexInstruction/HEAD/get_data/do_inference.py -------------------------------------------------------------------------------- /get_data/gen_inst.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meowpass/FollowComplexInstruction/HEAD/get_data/gen_inst.py -------------------------------------------------------------------------------- /get_data/instructions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meowpass/FollowComplexInstruction/HEAD/get_data/instructions.py -------------------------------------------------------------------------------- /get_data/instructions_registry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meowpass/FollowComplexInstruction/HEAD/get_data/instructions_registry.py -------------------------------------------------------------------------------- /get_data/instructions_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meowpass/FollowComplexInstruction/HEAD/get_data/instructions_util.py -------------------------------------------------------------------------------- /get_data/prompts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meowpass/FollowComplexInstruction/HEAD/get_data/prompts.py -------------------------------------------------------------------------------- /get_data/taxonomy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meowpass/FollowComplexInstruction/HEAD/get_data/taxonomy.py -------------------------------------------------------------------------------- /get_data/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meowpass/FollowComplexInstruction/HEAD/get_data/utils.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meowpass/FollowComplexInstruction/HEAD/requirements.txt -------------------------------------------------------------------------------- /scripts/check.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meowpass/FollowComplexInstruction/HEAD/scripts/check.sh -------------------------------------------------------------------------------- /scripts/correct.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meowpass/FollowComplexInstruction/HEAD/scripts/correct.sh -------------------------------------------------------------------------------- /scripts/do_inference.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meowpass/FollowComplexInstruction/HEAD/scripts/do_inference.sh -------------------------------------------------------------------------------- /scripts/gen_inst.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meowpass/FollowComplexInstruction/HEAD/scripts/gen_inst.sh -------------------------------------------------------------------------------- /scripts/train_dpo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/meowpass/FollowComplexInstruction/HEAD/scripts/train_dpo.sh --------------------------------------------------------------------------------