Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -134,6 +134,13 @@ tags:
|
|
134 |
# D2A: A Dataset Built for AI-Based Vulnerability Detection Methods Using Differential Analysis
|
135 |
This is an unofficial HuggingFace upload of the D2A dataset from "[D2A: A Dataset Built for AI-Based Vulnerability Detection Methods Using Differential Analysis](https://arxiv.org/abs/2102.07995)". "Test" splits have all labels as -1 as they are not provided.
|
136 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
137 |
***
|
138 |
|
139 |
# D2A Leaderboard Data
|
|
|
134 |
# D2A: A Dataset Built for AI-Based Vulnerability Detection Methods Using Differential Analysis
|
135 |
This is an unofficial HuggingFace upload of the D2A dataset from "[D2A: A Dataset Built for AI-Based Vulnerability Detection Methods Using Differential Analysis](https://arxiv.org/abs/2102.07995)". "Test" splits have all labels as -1 as they are not provided.
|
136 |
|
137 |
+
Usage:
|
138 |
+
```python
|
139 |
+
from datasets import load_dataset
|
140 |
+
|
141 |
+
# Use "code", "code_trace", "function", or "trace" to load the different variants.
|
142 |
+
dataset = load_dataset("claudios/D2A", "code")
|
143 |
+
```
|
144 |
***
|
145 |
|
146 |
# D2A Leaderboard Data
|