codescripts / search.py
f541119578's picture
Upload folder using huggingface_hub
fdf190d verified
raw
history blame contribute delete
317 Bytes
import json
f = open("/home/aiscuser/fhw/data/llama_instruct_final.json", "r+")
lines = f.readlines()
for line in lines:
d = json.loads(line)
if d["score"] >= 8 and d["score"] <= 9:
print(d["instruction"])
print("############################################################################")