Download masteries/coding/data/continuous_learning.jsonl from Kiritox07/pace: direct link, hf CLI and curl.
- Browser
- Download file 423 Bytes
-
https://huggingface.co/spaces/Kiritox07/pace/resolve/main/masteries/coding/data/continuous_learning.jsonl
- Command line
-
hf download hf://spaces/Kiritox07/pace/masteries/coding/data/continuous_learning.jsonl
-
curl -L -o continuous_learning.jsonl https://huggingface.co/spaces/Kiritox07/pace/resolve/main/masteries/coding/data/continuous_learning.jsonl
423 Bytes
| {"prompt": "write a code for binary search", "target_code": "# Generated by Critic due to Actor failure\ndef binary_search(arr, target):\n low, high = 0, len(arr) - 1\n \n while low <= high:\n mid = (low + high) // 2\n if arr[mid] == target:\n return mid\n elif arr[mid] < target:\n low = mid + 1\n else:\n high = mid - 1\n \n return -1"} | |