f268251
1
2
3
4
5
6
7
8
9
import json def load_file_jsonl(path): with open(path) as f: return [json.loads(row) for row in f] def get_avg(x): return sum([float(y) for y in x])/len(x)