Update README.md
Browse files
README.md
CHANGED
|
@@ -44,6 +44,13 @@ Specifically, the functions are a part of the top 500 auditted contracts holding
|
|
| 44 |
## Fields
|
| 45 |
1. `function` - Raw solidity code
|
| 46 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
# Additional Info
|
| 48 |
|
| 49 |
This dataset serves as basis for the other datasets in this family which are built for tasks s.a. Classification or Seq2Seq generation.
|
|
|
|
| 44 |
## Fields
|
| 45 |
1. `function` - Raw solidity code
|
| 46 |
|
| 47 |
+
# Usage
|
| 48 |
+
|
| 49 |
+
```python
|
| 50 |
+
from datasets import load_dataset
|
| 51 |
+
dataset = load_dataset("msc-smart-contract-audition/vulnerable-functions-base", escapechar='\\')
|
| 52 |
+
```
|
| 53 |
+
|
| 54 |
# Additional Info
|
| 55 |
|
| 56 |
This dataset serves as basis for the other datasets in this family which are built for tasks s.a. Classification or Seq2Seq generation.
|