Text Classification
Transformers
Safetensors
English
roberta
code
solidity
smart-contracts
vulnerability-detection
graphcodebert
Eval Results (legacy)
Instructions to use tanaymitra01/graphcodebert-vulnerability-detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tanaymitra01/graphcodebert-vulnerability-detector with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="tanaymitra01/graphcodebert-vulnerability-detector")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("tanaymitra01/graphcodebert-vulnerability-detector") model = AutoModelForSequenceClassification.from_pretrained("tanaymitra01/graphcodebert-vulnerability-detector", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from tanaymitra01/graphcodebert-vulnerability-detector: direct link, hf CLI and curl.
- Browser
- Download file 499 MB
-
https://huggingface.co/tanaymitra01/graphcodebert-vulnerability-detector/resolve/main/model.safetensors
- Command line
-
hf download hf://tanaymitra01/graphcodebert-vulnerability-detector/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/tanaymitra01/graphcodebert-vulnerability-detector/resolve/main/model.safetensors
499 MB
- Xet hash:
- 6dda93ec9cfa2bf2282b40ede9cfc68f94856124e07a6b06d93c80be637c0040
- Size of remote file:
- 499 MB
- SHA256:
- abade38beac60146616d8e09142b18d2ff8123909446f217a3e52141ded3d814
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.