Instructions to use angusleung100/PolyCoder-Solidity-Vulnerability with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use angusleung100/PolyCoder-Solidity-Vulnerability with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="angusleung100/PolyCoder-Solidity-Vulnerability")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("angusleung100/PolyCoder-Solidity-Vulnerability") model = AutoModelForSequenceClassification.from_pretrained("angusleung100/PolyCoder-Solidity-Vulnerability", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
bf48723 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:80742630328b6430f0dc19c7cdd086908e6ecb9d243453cfe9188d319272e994
size 5240
|