Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# CodeBERT for Solidity Vulnerability Detection
|
| 2 |
|
| 3 |
Fine-tuned version of microsoft/codebert-base for binary classification of Solidity smart contracts as vulnerable (1) or safe (0).
|
|
@@ -20,8 +33,6 @@ Fine-tuned version of microsoft/codebert-base for binary classification of Solid
|
|
| 20 |
|
| 21 |
Install: pip install transformers torch
|
| 22 |
|
| 23 |
-
Then run:
|
| 24 |
-
|
| 25 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
| 26 |
import torch
|
| 27 |
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
tags:
|
| 6 |
+
- smart-contracts
|
| 7 |
+
- vulnerability-detection
|
| 8 |
+
- solidity
|
| 9 |
+
- security
|
| 10 |
+
base_model: microsoft/codebert-base
|
| 11 |
+
pipeline_tag: text-classification
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
# CodeBERT for Solidity Vulnerability Detection
|
| 15 |
|
| 16 |
Fine-tuned version of microsoft/codebert-base for binary classification of Solidity smart contracts as vulnerable (1) or safe (0).
|
|
|
|
| 33 |
|
| 34 |
Install: pip install transformers torch
|
| 35 |
|
|
|
|
|
|
|
| 36 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
| 37 |
import torch
|
| 38 |
|