├── .gitignore ├── LICENSE ├── README.MD ├── code ├── __init__.py ├── train_bf16.py └── utils_for_llm.py ├── configs └── ds_config.json ├── data └── data_samples.json ├── figs ├── data-construction.png ├── dist-cmp.png ├── parse_alg.png └── train.png ├── preprocess ├── 4_api_json_filter.json ├── Convert_ShortCut_to_Python.py ├── WFActions.plist ├── generate_json_funtions.py ├── generate_python_functions.py ├── identifier2category.pkl ├── identifier2keyparams.pkl ├── identifier2output.pkl └── utils.py ├── requirements.txt └── scripts ├── __init__.py ├── infer.sh ├── infer_OOD.sh ├── train.sh └── train_OOD.sh /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBMB/WorkflowLLM/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBMB/WorkflowLLM/HEAD/LICENSE -------------------------------------------------------------------------------- /README.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBMB/WorkflowLLM/HEAD/README.MD -------------------------------------------------------------------------------- /code/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /code/train_bf16.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBMB/WorkflowLLM/HEAD/code/train_bf16.py -------------------------------------------------------------------------------- /code/utils_for_llm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBMB/WorkflowLLM/HEAD/code/utils_for_llm.py -------------------------------------------------------------------------------- /configs/ds_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBMB/WorkflowLLM/HEAD/configs/ds_config.json -------------------------------------------------------------------------------- /data/data_samples.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBMB/WorkflowLLM/HEAD/data/data_samples.json -------------------------------------------------------------------------------- /figs/data-construction.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBMB/WorkflowLLM/HEAD/figs/data-construction.png -------------------------------------------------------------------------------- /figs/dist-cmp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBMB/WorkflowLLM/HEAD/figs/dist-cmp.png -------------------------------------------------------------------------------- /figs/parse_alg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBMB/WorkflowLLM/HEAD/figs/parse_alg.png -------------------------------------------------------------------------------- /figs/train.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBMB/WorkflowLLM/HEAD/figs/train.png -------------------------------------------------------------------------------- /preprocess/4_api_json_filter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBMB/WorkflowLLM/HEAD/preprocess/4_api_json_filter.json -------------------------------------------------------------------------------- /preprocess/Convert_ShortCut_to_Python.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBMB/WorkflowLLM/HEAD/preprocess/Convert_ShortCut_to_Python.py -------------------------------------------------------------------------------- /preprocess/WFActions.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBMB/WorkflowLLM/HEAD/preprocess/WFActions.plist -------------------------------------------------------------------------------- /preprocess/generate_json_funtions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBMB/WorkflowLLM/HEAD/preprocess/generate_json_funtions.py -------------------------------------------------------------------------------- /preprocess/generate_python_functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBMB/WorkflowLLM/HEAD/preprocess/generate_python_functions.py -------------------------------------------------------------------------------- /preprocess/identifier2category.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBMB/WorkflowLLM/HEAD/preprocess/identifier2category.pkl -------------------------------------------------------------------------------- /preprocess/identifier2keyparams.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBMB/WorkflowLLM/HEAD/preprocess/identifier2keyparams.pkl -------------------------------------------------------------------------------- /preprocess/identifier2output.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBMB/WorkflowLLM/HEAD/preprocess/identifier2output.pkl -------------------------------------------------------------------------------- /preprocess/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBMB/WorkflowLLM/HEAD/preprocess/utils.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBMB/WorkflowLLM/HEAD/requirements.txt -------------------------------------------------------------------------------- /scripts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /scripts/infer.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBMB/WorkflowLLM/HEAD/scripts/infer.sh -------------------------------------------------------------------------------- /scripts/infer_OOD.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBMB/WorkflowLLM/HEAD/scripts/infer_OOD.sh -------------------------------------------------------------------------------- /scripts/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBMB/WorkflowLLM/HEAD/scripts/train.sh -------------------------------------------------------------------------------- /scripts/train_OOD.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenBMB/WorkflowLLM/HEAD/scripts/train_OOD.sh --------------------------------------------------------------------------------