arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.20189cs.CL
收藏

TaskComplexity:一个用于任务复杂度分类的数据集,附基于上下文学习、FLAN-T5 与 GPT-4o 的基准测试

TaskComplexity: A Dataset for Task Complexity Classification with In-Context Learning, FLAN-T5 and GPT-4o Benchmarks

College of Information Engineering, Al-Nahrain University(阿尔-奈赖因大学信息工程学院);Al-Rasheed University College(拉希德大学学院)

Areeg Fahad Rasheed, M. Zarkoosh, Safa F. Abbas, Sana Sabah Al-Azzawi

AI总结:

本文构建了包含 4,112 个编程任务的 TaskComplexity 数据集,并通过微调 FLAN-T5 与 GPT-4o 上下文学习进行基准测试,证明 GPT-4o-mini 在任务复杂度分类上表现更优。

摘要:

本文针对将编程任务分类并分配给专家这一通常需要大量精力、时间和成本的问题展开研究。为解决该问题,作者通过从多个网站提取任务,构建了一个包含 4,112 个编程任务的新数据集。研究采用网络爬虫技术系统性地收集这些编程问题数据,并跟踪特定 HTML 标签以提取每个问题的关键要素,包括标题、问题描述、输入输出、示例、问题类别和复杂度评分。附录中提供了数据集示例,以说明所包含任务的多样性和复杂度。该数据集的有效性通过两种方法进行了评估和基准测试:第一种方法是在该数据集上微调 FLAN-T5 small 模型,第二种方法使用 GPT-4o mini 进行上下文学习(ICL)。性能评估采用标准指标:准确率、召回率、精确率和 F1 分数。结果表明,使用 GPT-4o-mini 的上下文学习方法优于 FLAN-T5 模型。

英文摘要:

This paper addresses the challenge of classifying and assigning programming tasks to experts, a process that typically requires significant effort, time, and cost. To tackle this issue, a novel dataset containing a total of 4,112 programming tasks was created by extracting tasks from various websites. Web scraping techniques were employed to collect this dataset of programming problems systematically. Specific HTML tags were tracked to extract key elements of each issue, including the title, problem description, input-output, examples, problem class, and complexity score. Examples from the dataset are provided in the appendix to illustrate the variety and complexity of tasks included. The dataset's effectiveness has been evaluated and benchmarked using two approaches; the first approach involved fine-tuning the FLAN-T5 small model on the dataset, while the second approach used in-context learning (ICL) with the GPT-4o mini. The performance was assessed using standard metrics: accuracy, recall, precision, and F1-score. The results indicated that in-context learning with GPT-4o-mini outperformed the FLAN-T5 model.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑