comp agent commited on
Commit
693db18
·
verified ·
1 Parent(s): 79a73e4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -9
README.md CHANGED
@@ -4,7 +4,7 @@
4
 
5
  ## Dataset Summary
6
 
7
- **CompRealVul_LLVM** is the LLVM IR (Intermediate Representation) version of the [CompRealVul](https://huggingface.co/datasets/compAgent/CompRealVul) dataset. This version is designed specifically for **training and evaluating machine learning models** on the task of **binary vulnerability detection** in a setting that closely mimics how models are used in practice — operating on the compiled representation of code rather than raw source code.
8
 
9
  Each function in this dataset was compiled from C code to LLVM IR, enabling robust training of models on semantically rich, architecture-independent binary representations.
10
 
@@ -16,7 +16,6 @@ This dataset supports research aligned with the methodology described in our pap
16
  - ✅ Includes **train**, **validation**, and **test** splits (see below)
17
  - ✅ Vulnerability labels (`label`) for supervised learning
18
  - ✅ Metadata about original source (`dataset`, `file`, `fun_name`)
19
- - ✅ Structured as **Parquet** files for fast loading and processing
20
 
21
  ## Dataset Structure
22
 
@@ -37,9 +36,6 @@ This dataset is split into **train**, **validation**, and **test** sets, followi
37
  - `validation`: Used for model selection and hyperparameter tuning
38
  - `test`: Used exclusively for final evaluation and benchmarking
39
 
40
- ## Format
41
-
42
- This dataset is provided in [Apache Parquet](https://parquet.apache.org/) format under the `default` configuration. It follows the [Croissant schema](https://mlcommons.org/croissant/) and includes three predefined splits.
43
 
44
  ## Usage
45
 
@@ -55,10 +51,10 @@ print(train_ds[0])
55
  ## Example
56
  ```json
57
  {
58
- "dataset": "Juliet",
59
- "file": "CWE121/s01.c",
60
- "fun_name": "bad_function",
61
- "llvm_ir_function": "define dso_local i32 @bad_function() #0 { ... }",
62
  "label": "1",
63
  "split": "train"
64
  }
 
4
 
5
  ## Dataset Summary
6
 
7
+ **CompRealVul_LLVM** is the LLVM IR (Intermediate Representation) version of the [CompRealVul](https://huggingface.co/datasets/compAgent/CompRealVul_C) dataset. This version is designed specifically for **training and evaluating machine learning models** on the task of **binary vulnerability detection** in a setting that closely mimics how models are used in practice — operating on the compiled representation of code rather than raw source code.
8
 
9
  Each function in this dataset was compiled from C code to LLVM IR, enabling robust training of models on semantically rich, architecture-independent binary representations.
10
 
 
16
  - ✅ Includes **train**, **validation**, and **test** splits (see below)
17
  - ✅ Vulnerability labels (`label`) for supervised learning
18
  - ✅ Metadata about original source (`dataset`, `file`, `fun_name`)
 
19
 
20
  ## Dataset Structure
21
 
 
36
  - `validation`: Used for model selection and hyperparameter tuning
37
  - `test`: Used exclusively for final evaluation and benchmarking
38
 
 
 
 
39
 
40
  ## Usage
41
 
 
51
  ## Example
52
  ```json
53
  {
54
+ "dataset": "CompRealVul",
55
+ "file": "app_122.c",
56
+ "fun_name": "app",
57
+ "llvm_ir_function": "define dso_local i32 @app() #0 { ... }",
58
  "label": "1",
59
  "split": "train"
60
  }