five

LukasSonn/DoxygenStrings-Short

收藏
Hugging Face2023-11-06 更新2024-03-04 收录
下载链接:
https://hf-mirror.com/datasets/LukasSonn/DoxygenStrings-Short
下载链接
链接失效反馈
官方服务:
资源简介:
--- license: apache-2.0 --- # Dataset Info C++ + Natural Description -> Doxygen Documentation This dataset was created for my bachelors thesis investigating how LLMs can be fine-tuned to generate doxygen documentation. It was created by using the “Source code analysis dataset” by Gelman, Banjo Obayomi, Jessica Moore und David Slater (doi: 10.1016/j.dib.2019.104712). The following SQL-Statement was used to grab raw data from the dataset: ``` SELECT * FROM all_data WHERE LENGTH(comment) < 350 AND LENGTH(comment) > 10 AND LENGTH(code) > 100 AND LENGTH(code) < 800 AND code NOT LIKE '%//%' AND code NOT LIKE '%/*%' AND code NOT LIKE '%*/%' AND filename LIKE '%.cpp%' LIMIT 12000 ``` After selecting the Data Code LLaMa Instruct 34B is tasked to combine the human-written description of the functionality with the function code into a Doxygen-Comment. Any results which included the sample doxygen string or no doxygen string at all where filtered from the set.
提供机构:
LukasSonn
原始信息汇总

数据集信息:C++代码与自然描述生成Doxygen文档

数据集来源

  • 数据集基于Gelman, Banjo Obayomi, Jessica Moore和David Slater的“源代码分析数据集”(doi: 10.1016/j.dib.2019.104712)创建。

数据筛选条件

  • 使用以下SQL语句从原始数据集中筛选数据: sql SELECT * FROM all_data WHERE LENGTH(comment) < 350 AND LENGTH(comment) > 10 AND LENGTH(code) > 100 AND LENGTH(code) < 800
    AND code NOT LIKE %//% AND code NOT LIKE %/% AND code NOT LIKE %/% AND filename LIKE %.cpp% LIMIT 12000

数据处理

  • 筛选后的数据由Code LLaMa Instruct 34B模型处理,将人工编写的功能描述与函数代码结合生成Doxygen注释。
  • 过滤掉包含示例Doxygen字符串或无Doxygen字符串的结果。
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作