Team Ai
Datasetpublic

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.

sourceHugging Facemitupdated 8mo agoView on Hugging Face
1likes14downloads

Nothing at this path on main. The folder may be empty, or the revision may not exist.

ShwStone/humaneval-leetcode · main · files are served by the source, never re-hosted here