Datasets:
import json | |
with open("metadata.json", "r") as f: | |
data = json.load(f) | |
for sample in data: | |
if "caption" not in sample and "discord_prompt" not in sample: | |
print(sample) |
import json | |
with open("metadata.json", "r") as f: | |
data = json.load(f) | |
for sample in data: | |
if "caption" not in sample and "discord_prompt" not in sample: | |
print(sample) |