ShwStone/humaneval-leetcode
HumanEval-LeetCode Input-Only 本数据集由 LeetCode 题目自动转换而来,目标是生成 HumanEval 风格的 Input-Only 提示(prompt)。每条样本包含题目描述与函数签名,描述中的 Input/Output 被转换成 >>> func(...) / >>> output 的交互式示例,便于直接用于代码生成评测或训练。 数据格式 每行是一个 JSON 对象(JSONL): task_id:题目唯一标识 prompt:包含函数签名与 docstring 的完整提示 示例字段: task_id: string prompt: string 生成流程(概述) 读取 LeetCode 题目(题目描述 + starter code)。 提取函数名。 将题目描述中的 Input/Output 转为: >>> func(inputs...) >>> output 输出为 JSONL。 数据划分… See the full description on the dataset page: https://huggingface.co/datasets/ShwStone/humaneval-leetcode.
Upload README.md with huggingface_hub
Upload README.md with huggingface_hub
Upload test.jsonl with huggingface_hub
Upload train.jsonl with huggingface_hub
initial commit
