Instructions to use neuralsentry/vulnerabilityDetection-StarEncoder-Devign with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use neuralsentry/vulnerabilityDetection-StarEncoder-Devign with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="neuralsentry/vulnerabilityDetection-StarEncoder-Devign")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("neuralsentry/vulnerabilityDetection-StarEncoder-Devign") model = AutoModelForSequenceClassification.from_pretrained("neuralsentry/vulnerabilityDetection-StarEncoder-Devign", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Edison commited on
Commit ·
b3f1299
1
Parent(s): 175def9
Training in progress, epoch 4
Browse files123version https://git-lfs.github.com/spec/v1oid sha256:b6fc400a42bfd8bcca9488d4e249b3ed35baf13ccc7ae9498cd4f80066139ebasize 496820462123version https://git-lfs.github.com/spec/v1oid sha256:875f32b3d987a88193080c17474a82813f8a2a807f9b364e7f9818e74484983bsize 496820462
pytorch_model.bin+1-1