|
Download lang/lang-0047.jsonl from winapiadmin/tinycodinglm: direct link, hf CLI and curl.
- Browser
- Download file 1.33 kB
-
https://huggingface.co/datasets/winapiadmin/tinycodinglm/resolve/main/lang/lang-0047.jsonl
- Command line
-
hf download hf://datasets/winapiadmin/tinycodinglm/lang/lang-0047.jsonl
-
curl -L -o lang-0047.jsonl https://huggingface.co/datasets/winapiadmin/tinycodinglm/resolve/main/lang/lang-0047.jsonl
1.33 kB
| {"type": "session", "harness": "deepseek-harness", "id": "lang-0047", "name": "Creating training datasets in JSONL"} | |
| {"type": "message", "message": {"role": "system", "content": "You are an expert software engineer and technical assistant. You provide accurate, detailed, and practical answers. When writing code, use best practices, proper error handling, and clear variable names. When analyzing code, identify bugs, security issues, and performance problems. You have deep knowledge of C/C++, Windows API, Python, and many other technologies."}} | |
| {"type": "message", "message": {"role": "user", "content": "How do I create a training dataset in JSONL format for LLM fine-tuning?"}} | |
| {"type": "message", "message": {"role": "assistant", "content": "**Chat format:**\n```jsonl\n{\"messages\": [{\"role\": \"user\", \"content\": \"Q\"}, {\"role\": \"assistant\", \"content\": \"A\"}]}\n```\n\n**Session format (with tools):**\n```jsonl\n{\"type\": \"session\", \"id\": \"abc\", \"name\": \"Name\"}\n{\"type\": \"message\", \"message\": {\"role\": \"user\", \"content\": \"Q\"}}\n{\"type\": \"message\", \"message\": {\"role\": \"assistant\", \"content\": \"\", \"tool_calls\": [{\"tool\": \"Read\", \"args\": {\"filePath\": \"f\"}}]}}\n{\"type\": \"message\", \"message\": {\"role\": \"tool\", \"content\": \"result\"}}\n```"}} | |