claudios/DiverseVul
收藏资源简介:
--- arxiv: 2304.00409 dataset_info: features: - name: func dtype: string - name: target dtype: int64 - name: cwe sequence: string - name: project dtype: string - name: commit_id dtype: string - name: hash dtype: float64 - name: size dtype: int64 - name: message dtype: string splits: - name: test num_bytes: 670935965 num_examples: 330492 download_size: 170891799 dataset_size: 670935965 configs: - config_name: default data_files: - split: test path: data/test-* --- # DiverseVul: A New Vulnerable Source Code Dataset for Deep Learning Based Vulnerability Detection This is an **unofficial** HuggingFace upload of the DiverseVul dataset from "[DiverseVul: A New Vulnerable Source Code Dataset for Deep Learning Based Vulnerability Detection](https://dl.acm.org/doi/10.1145/3607199.3607242)". Usage: ```python from datasets import load_dataset dataset = load_dataset("claudios/DiverseVul") ``` *** ## Citation ``` @article{Chen2023DiverseVulAN, title={DiverseVul: A New Vulnerable Source Code Dataset for Deep Learning Based Vulnerability Detection}, author={Yizheng Chen and Zhoujie Ding and Lamya Alowain and Xinyun Chen and David A. Wagner}, journal={Proceedings of the 26th International Symposium on Research in Attacks, Intrusions and Defenses}, year={2023}, url={https://dl.acm.org/doi/10.1145/3607199.3607242} } ```
--- arXiv: 2304.00409 数据集信息: 特征字段: - 字段名:func,数据类型:字符串 - 字段名:target,数据类型:int64 - 字段名:cwe,数据类型:字符串序列 - 字段名:project,数据类型:字符串 - 字段名:commit_id,数据类型:字符串 - 字段名:hash,数据类型:float64 - 字段名:size,数据类型:int64 - 字段名:message,数据类型:字符串 数据集划分: - 划分名称:test,总字节数:670935965,样本数:330492 下载大小:170891799 数据集总大小:670935965 配置项: - 配置名称:default,数据文件: - 划分:test,路径:data/test-* --- # DiverseVul:一款面向基于深度学习的漏洞检测的新型存在漏洞源代码数据集 本仓库为**非官方**的HuggingFace上传版本,对应论文《DiverseVul: A New Vulnerable Source Code Dataset for Deep Learning Based Vulnerability Detection》(链接:https://dl.acm.org/doi/10.1145/3607199.3607242)中的DiverseVul数据集。 ## 使用方法 python from datasets import load_dataset dataset = load_dataset("claudios/DiverseVul") *** ## 引用格式 @article{Chen2023DiverseVulAN, title={DiverseVul: A New Vulnerable Source Code Dataset for Deep Learning Based Vulnerability Detection}, author={Yizheng Chen and Zhoujie Ding and Lamya Alowain and Xinyun Chen and David A. Wagner}, journal={Proceedings of the 26th International Symposium on Research in Attacks, Intrusions and Defenses}, year={2023}, url={https://dl.acm.org/doi/10.1145/3607199.3607242} }
DiverseVul 数据集概述
数据集信息
特征
- func: 字符串类型
- target: 64位整数类型
- cwe: 字符串序列
- project: 字符串类型
- commit_id: 字符串类型
- hash: 64位浮点数类型
- size: 64位整数类型
- message: 字符串类型
数据分割
- test: 包含330492个样本,总字节数为670935965
数据大小
- 下载大小: 170891799字节
- 数据集大小: 670935965字节
配置
- default: 包含测试数据,路径为
data/test-*




