BlueberryOreo's picture
Add files using upload-large-folder tool
d9339ed verified
raw
history blame contribute delete
241 Bytes
import json
import os
root_path = "/data/sjy/VFI4IDC_test/IDC_scratch_model/transformer/data/IER"
for split in ["train", "test", "val"]:
with open(os.path.join(root_path, f"{split}.json"), "r") as f:
original_data = json.load(f)