├── LICENSE ├── README.md ├── pics ├── Lion.jpg ├── __init__.py ├── chinese_case.png ├── english_case.png ├── english_case2.png ├── open_ended_generation.png ├── overview.jpg └── reasoning.png ├── requirements.txt └── src ├── __init__.py ├── chatgpt_inference.py ├── chatgpt_referee.py ├── configs └── deepspeed_config.json ├── discrimination.py ├── generate_easy_instruction.py ├── generate_hard_instruction.py ├── lion_inference.py ├── prompt_easy.txt ├── prompt_hard.txt ├── train.py ├── train_deepspeed.py ├── utils.py └── weight_diff.py /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YJiangcm/Lion/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YJiangcm/Lion/HEAD/README.md -------------------------------------------------------------------------------- /pics/Lion.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YJiangcm/Lion/HEAD/pics/Lion.jpg -------------------------------------------------------------------------------- /pics/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /pics/chinese_case.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YJiangcm/Lion/HEAD/pics/chinese_case.png -------------------------------------------------------------------------------- /pics/english_case.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YJiangcm/Lion/HEAD/pics/english_case.png -------------------------------------------------------------------------------- /pics/english_case2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YJiangcm/Lion/HEAD/pics/english_case2.png -------------------------------------------------------------------------------- /pics/open_ended_generation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YJiangcm/Lion/HEAD/pics/open_ended_generation.png -------------------------------------------------------------------------------- /pics/overview.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YJiangcm/Lion/HEAD/pics/overview.jpg -------------------------------------------------------------------------------- /pics/reasoning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YJiangcm/Lion/HEAD/pics/reasoning.png -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YJiangcm/Lion/HEAD/requirements.txt -------------------------------------------------------------------------------- /src/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/chatgpt_inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YJiangcm/Lion/HEAD/src/chatgpt_inference.py -------------------------------------------------------------------------------- /src/chatgpt_referee.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YJiangcm/Lion/HEAD/src/chatgpt_referee.py -------------------------------------------------------------------------------- /src/configs/deepspeed_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YJiangcm/Lion/HEAD/src/configs/deepspeed_config.json -------------------------------------------------------------------------------- /src/discrimination.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YJiangcm/Lion/HEAD/src/discrimination.py -------------------------------------------------------------------------------- /src/generate_easy_instruction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YJiangcm/Lion/HEAD/src/generate_easy_instruction.py -------------------------------------------------------------------------------- /src/generate_hard_instruction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YJiangcm/Lion/HEAD/src/generate_hard_instruction.py -------------------------------------------------------------------------------- /src/lion_inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YJiangcm/Lion/HEAD/src/lion_inference.py -------------------------------------------------------------------------------- /src/prompt_easy.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YJiangcm/Lion/HEAD/src/prompt_easy.txt -------------------------------------------------------------------------------- /src/prompt_hard.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YJiangcm/Lion/HEAD/src/prompt_hard.txt -------------------------------------------------------------------------------- /src/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YJiangcm/Lion/HEAD/src/train.py -------------------------------------------------------------------------------- /src/train_deepspeed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YJiangcm/Lion/HEAD/src/train_deepspeed.py -------------------------------------------------------------------------------- /src/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YJiangcm/Lion/HEAD/src/utils.py -------------------------------------------------------------------------------- /src/weight_diff.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YJiangcm/Lion/HEAD/src/weight_diff.py --------------------------------------------------------------------------------