|
Download misc/misc-0017.jsonl from winapiadmin/tinycodinglm: direct link, hf CLI and curl.
- Browser
- Download file 520 Bytes
-
https://huggingface.co/datasets/winapiadmin/tinycodinglm/resolve/b5bf3ebebe22b46f4f78c2589a5bb814a44293a7/misc/misc-0017.jsonl
- Command line
-
hf download hf://datasets/winapiadmin/tinycodinglm@b5bf3ebebe22b46f4f78c2589a5bb814a44293a7/misc/misc-0017.jsonl
-
curl -L -o misc-0017.jsonl https://huggingface.co/datasets/winapiadmin/tinycodinglm/resolve/b5bf3ebebe22b46f4f78c2589a5bb814a44293a7/misc/misc-0017.jsonl
520 Bytes
| {"type": "session", "harness": "deepseek-harness", "id": "misc-0017", "name": "JSON parsing in Python"} | |
| {"type": "message", "message": {"role": "system", "content": "You are a helpful Python tutor."}} | |
| {"type": "message", "message": {"role": "user", "content": "How do I read a JSON file in Python for small files that fit in memory?"}} | |
| {"type": "message", "message": {"role": "assistant", "content": "```python\nimport json\nwith open(\"data.json\", \"r\", encoding=\"utf-8\") as f:\n data = json.load(f)\n```"}} | |