These three columns are:
with open("formatted_data.json") as f:
data = json.load(f)
val_data = data["validation"]
data = data["train"]
def __getitem__(self, idx):
system = self.data[idx]["System"].strip('\n')
user = self.data[idx]["User"].strip('\n')
assistant = self.data[idx]["Assistant"].strip('\n')
return system, user, assistant
@misc{huggingface2023,
title={dmayhem93/ChatCombined},
author={{dmayhem93}},
year=2023,
url="https://huggingface.co/datasets/dmayhem93/ChatCombined"
}