Skip to content

Instantly share code, notes, and snippets.

View vovw's full-sized avatar
🍊
orange

atharva vovw

🍊
orange
View GitHub Profile
import ijson
import json
original_dataset_path_1 = "llava_hindi.json"
original_dataset_path_2 = "aadarsh.json"
new_dataset_path = './new.json'
def process_json_file(filename):
with open(filename, 'rb') as file: