Download code/frozen/PBEBench_utils.py from DQSWORDMAN/program-structure-certificates: direct link, hf CLI and curl.
- Browser
- Download file 215 Bytes
-
https://huggingface.co/spaces/DQSWORDMAN/program-structure-certificates/resolve/main/code/frozen/PBEBench_utils.py
- Command line
-
hf download hf://spaces/DQSWORDMAN/program-structure-certificates/code/frozen/PBEBench_utils.py
-
curl -L -o PBEBench_utils.py https://huggingface.co/spaces/DQSWORDMAN/program-structure-certificates/resolve/main/code/frozen/PBEBench_utils.py
215 Bytes
| import json | |
| from tqdm import tqdm | |
| def read_jsonl(path: str): | |
| data = [] | |
| with open(path) as f: | |
| for line in f: | |
| line = line.strip() | |
| data.append(json.loads(line)) | |
| return data |