This dataset is the sahil2801/CodeAlpaca-20k dataset with the Llama 2 prompt format described here.
Here is the code I used to format it:
from datasets import load_dataset
def merge_columns(example):
if example['input']:
merged = f"
[INST] <>\nBelow is an instruction that describes a task… See the full description on the dataset page: https://huggingface.co/datasets/mlabonne/CodeLlama-2-20k.