Solidity Smart Contract Vulnerability Detection
Collection
A collection of experimental fine-tuned models fine-tuned for vulnerability detection for Solidity smart contracts. • 5 items • Updated • 2
How to use angusleung100/CodeT5-Base-Solidity-Vulnerability with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="angusleung100/CodeT5-Base-Solidity-Vulnerability") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("angusleung100/CodeT5-Base-Solidity-Vulnerability")
model = AutoModelForSequenceClassification.from_pretrained("angusleung100/CodeT5-Base-Solidity-Vulnerability")This model is a fine-tuned version of Salesforce/codet5-base on an unknown dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
Base model
Salesforce/codet5-base