Update README.md
Browse files
README.md
CHANGED
|
@@ -29,6 +29,7 @@ This dataset comprises vulnerable `Solidity` functions audited by 5 auditing com
|
|
| 29 |
from datasets import load_dataset
|
| 30 |
dataset = load_dataset(
|
| 31 |
"msc-smart-contract-audition/vulnerable-functions-base",
|
|
|
|
| 32 |
escapechar='\\',
|
| 33 |
)
|
| 34 |
```
|
|
@@ -53,6 +54,7 @@ from datasets import load_dataset
|
|
| 53 |
dataset = load_dataset(
|
| 54 |
"msc-smart-contract-audition/vulnerable-functions-base",
|
| 55 |
name="verified-functions",
|
|
|
|
| 56 |
escapechar='\\',
|
| 57 |
)
|
| 58 |
```
|
|
@@ -63,3 +65,4 @@ dataset = load_dataset(
|
|
| 63 |
|
| 64 |
# Additional Info
|
| 65 |
- The newline characters are escaped (i.e. `\\n`)
|
|
|
|
|
|
| 29 |
from datasets import load_dataset
|
| 30 |
dataset = load_dataset(
|
| 31 |
"msc-smart-contract-audition/vulnerable-functions-base",
|
| 32 |
+
split='train',
|
| 33 |
escapechar='\\',
|
| 34 |
)
|
| 35 |
```
|
|
|
|
| 54 |
dataset = load_dataset(
|
| 55 |
"msc-smart-contract-audition/vulnerable-functions-base",
|
| 56 |
name="verified-functions",
|
| 57 |
+
split='train',
|
| 58 |
escapechar='\\',
|
| 59 |
)
|
| 60 |
```
|
|
|
|
| 65 |
|
| 66 |
# Additional Info
|
| 67 |
- The newline characters are escaped (i.e. `\\n`)
|
| 68 |
+
- The dataset has a single split `train` (hence the adjusted loading isntructions).
|