Instructions to use mahdin70/unixcoder-code-vulnerability-detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mahdin70/unixcoder-code-vulnerability-detector with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mahdin70/unixcoder-code-vulnerability-detector")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mahdin70/unixcoder-code-vulnerability-detector") model = AutoModelForSequenceClassification.from_pretrained("mahdin70/unixcoder-code-vulnerability-detector", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signature39ca55e -
Update README.md
Verified signature93e4fcb -
Update README.md
Verified signaturea1d3a07
-
Update README.md
Verified signature6b41909 -
Update README.md
Verified signature07056c5 -
Update README.md
Verified signature8fc8fb1 -
Update README.md
Verified signature436bcbb -
Update README.md
Verified signature1b7fc03 -
Update README.md
Verified signature7839753 -
Update README.md
Verified signature7114df1 -
Update README.md
Verified signature03ce0dc -
Upload RobertaForSequenceClassification
Verified signatured93383a -
initial commit
Verified signature4343742