tinycodinglm / lang /lang-0048.jsonl
winapiadmin's picture
Upload folder using huggingface_hub (part 15)
b27bfb3 verified
|
Raw History Blame Contribute Delete
1.25 kB
deepseek-harness trace
System 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 c...

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.

User

Explain the session-based JSONL format used in this conversation.

Assistant

This dataset uses session-based JSONL:

Session header: {"type": "session", "harness": "h", "id": "abc", "name": "Name"}

Messages: {"type": "message", "message": {"role": "user/assistant/tool/system", "content": "..."}}

Tool calls: "tool_calls": [{"tool": "Read", "args": {"filePath": "f"}}]

Tool response: "role": "tool", "content": "result"

Format trains agentic AI models that can use tools in multi-turn conversations.