Download data/train.json from thenewfolder/ornith-finetuning-demo: direct link, hf CLI and curl.
- Browser
- Download file 752 Bytes
-
https://huggingface.co/thenewfolder/ornith-finetuning-demo/resolve/main/data/train.json
- Command line
-
hf download hf://thenewfolder/ornith-finetuning-demo/data/train.json
-
curl -L -o train.json https://huggingface.co/thenewfolder/ornith-finetuning-demo/resolve/main/data/train.json
752 Bytes
| [ | |
| {"messages": [{"role": "system", "content": "You are a helpful coding assistant."}, {"role": "user", "content": "Write a Python function to sort a list"}, {"role": "assistant", "content": "def sort_list(lst):\n return sorted(lst)"}], "tools": []}, | |
| {"messages": [{"role": "system", "content": "You are a helpful coding assistant."}, {"role": "user", "content": "How do I reverse a string in Python?"}, {"role": "assistant", "content": "Use slicing: string[::-1]"}], "tools": []}, | |
| {"messages": [{"role": "system", "content": "You are a helpful coding assistant."}, {"role": "user", "content": "What's the best way to read a file?"}, {"role": "assistant", "content": "Use: with open('file.txt') as f:\n content = f.read()"}], "tools": []} | |
| ] | |