Instructions to use mahdin70/CodeBERT-VulnCWE with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mahdin70/CodeBERT-VulnCWE with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="mahdin70/CodeBERT-VulnCWE", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mahdin70/CodeBERT-VulnCWE", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signature2809053 -
Rename modelling_multi_task_codebert.py to modeling_multi_task_codebert.py
Verified signatureb599947 -
Create modelling_multi_task_codebert.py
Verified signaturebe1449b -
Update config.json
Verified signatureeb09767 -
Upload 3 files
Verified signature99d5301 -
initial commit
Verified signature227e1e2