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")# 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
File size: 134 Bytes
d93383a | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:51392f7dc41360eb50986e73a0d812395799a57e777121710f78da5560eafbcd
size 503749208
|