Team Ai
Datasetpublic

rombodawg/data_processing_code

These are the scripts I used to clean the rombodawg/code_bagel and rombodawg/code_bagel_hermes-2.5 datasets. In order for these scripts to work your datasets need to be in the format bellow, with the condition that each line is its own .json object. {"instruction": "", "input": "", "output": ""} {"instruction": "", "input": "", "output": ""} {"instruction": "", "input": "", "output": ""} {"instruction": "", "input": "", "output": ""} {"instruction": "", "input": "", "output": ""}

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
4likes18downloads
Dataset Card

These are the scripts I used to clean the rombodawg/codebagel and rombodawg/codebagel_hermes-2.5 datasets.

In order for these scripts to work your datasets need to be in the format bellow, with the condition that each line is its own .json object.

{"instruction": "", "input": "", "output": ""}
{"instruction": "", "input": "", "output": ""}
{"instruction": "", "input": "", "output": ""}
{"instruction": "", "input": "", "output": ""}
{"instruction": "", "input": "", "output": ""}