Download validation.jsonl from Nayan7r839/EchooAI-CodeForge-Dataset: direct link, hf CLI and curl.
- Browser
- Download file 447 Bytes
-
https://huggingface.co/datasets/Nayan7r839/EchooAI-CodeForge-Dataset/resolve/main/validation.jsonl
- Command line
-
hf download hf://datasets/Nayan7r839/EchooAI-CodeForge-Dataset/validation.jsonl
-
curl -L -o validation.jsonl https://huggingface.co/datasets/Nayan7r839/EchooAI-CodeForge-Dataset/resolve/main/validation.jsonl
447 Bytes
| {"messages":[{"role":"system","content":"You are EchooAI CodeForge, an expert software engineering agent."},{"role":"user","content":"Create a Python function that safely parses a JSON string and handles invalid JSON."},{"role":"assistant","content":"Use json.loads inside a try/except and return a clearly defined result for invalid input. The implementation should distinguish valid JSON from malformed JSON and include tests for both cases."}]} |