starsofchance commited on
Commit
1e08592
·
verified ·
1 Parent(s): f52a4f8

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +6 -14
README.md CHANGED
@@ -61,12 +61,12 @@ The version of `DiverseVul` hosted on Hugging Face represents an enhanced and mo
61
  - **Test Set:** 52,215 rows
62
 
63
  These samples are derived from **933 unique projects** and cover **155 Common Weakness Enumerations (CWEs)**, including:
64
- Number of target0 in training split: 386305
65
- Number of target1 in training split: 33099
66
- Number of target0 in test_data split: 48072
67
- Number of target1 in test_data split: 4143
68
- Number of target0 in val_data split: 48202
69
- Number of target1 in val_data split: 4135
70
 
71
 
72
 
@@ -191,14 +191,6 @@ The dataset spans a wide range of projects, including but not limited to:
191
 
192
  ---
193
 
194
- ## Dataset Characteristics
195
-
196
- - **Size**: 523,956 functions (41,377 vulnerable, 482,579 non-vulnerable).
197
- - **Languages**: C and C++ exclusively.
198
- - **Diversity**: 933 projects, 155 CWEs, 21,949 commits.
199
- - **Label Noise**: Approximately 40% of labels may be noisy due to multi-function vulnerabilities or irrelevant changes (60% accuracy per manual audit).
200
-
201
- ---
202
 
203
  ## Limitations
204
 
 
61
  - **Test Set:** 52,215 rows
62
 
63
  These samples are derived from **933 unique projects** and cover **155 Common Weakness Enumerations (CWEs)**, including:
64
+ - Number of target0 in training split: 386305
65
+ - Number of target1 in training split: 33099
66
+ - Number of target0 in test_data split: 48072
67
+ - Number of target1 in test_data split: 4143
68
+ - Number of target0 in val_data split: 48202
69
+ - Number of target1 in val_data split: 4135
70
 
71
 
72
 
 
191
 
192
  ---
193
 
 
 
 
 
 
 
 
 
194
 
195
  ## Limitations
196