For the code optimization task, the dataset should consist of a list of examples in a .jsonl format. Each example should be a dictionary with two fields: src_code and tgt_code.
src_code is considered the slow code and tgt_code is considered the fast code.
The code in the dataset should run with only the C++ standard library and OpenMP, however we will try to accommodate external libraries that are easy to install.
An example dataset derived from Leetcode… See the full description on the dataset page:
https://huggingface.co/datasets/speedcode/LLM4PP_dataset.