Spaces:
Sleeping
Sleeping
File size: 178 Bytes
cb3a670 |
1 2 3 4 5 6 7 8 9 10 11 |
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)
|