Download data.json from tfcbhop/lua_code_dataset: direct link, hf CLI and curl.
- Browser
- Download file 635 Bytes
-
https://huggingface.co/datasets/tfcbhop/lua_code_dataset/resolve/main/data.json
- Command line
-
hf download hf://datasets/tfcbhop/lua_code_dataset/data.json
-
curl -L -o data.json https://huggingface.co/datasets/tfcbhop/lua_code_dataset/resolve/main/data.json
635 Bytes
| [ | |
| { | |
| "instruction": "You are a Developer and you are tasked to do the task bellow", | |
| "input": "Generate LUA Code that generates Fibonacci sequence up to n=10.", | |
| "output": "function fibonacci(n)\n local fib = {0, 1}\n for i = 3, n do\n fib[i] = fib[i - 1] + fib[i - 2]\n end\n return fib\nend\n\nprint(table.concat(fibonacci(10), ', '))" | |
| }, | |
| { | |
| "instruction": "You are a Developer and you are tasked to do the task bellow", | |
| "input": "Check if the string 'radar' is a palindrome using python.", | |
| "output": "def is_palindrome(s):\n return s == s[::-1]\n\nprint(is_palindrome('radar'))" | |
| } | |
| ] |