Text Classification
Transformers
Safetensors
roberta
codebert
vulnerability-detection
php
javascript
detecode
text-embeddings-inference
Instructions to use dunguasli/detecode-model-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dunguasli/detecode-model-v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="dunguasli/detecode-model-v1")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("dunguasli/detecode-model-v1") model = AutoModelForSequenceClassification.from_pretrained("dunguasli/detecode-model-v1") - Notebooks
- Google Colab
- Kaggle
DeteCode Model v1
Fine-tuned CodeBERT checkpoint for the optional AI engine in DeteCode.
This model is experimental and should be used as an assistive semantic layer, not as the only source of truth. DeteCode's local rules and taint analysis are recommended for stable CLI scanning.
Usage
Download or clone this repository into:
models/codebert-webvuln
Then run:
python -m detecode scan .\tests\samples --engine hybrid --model-path .\models\codebert-webvuln --format table
Training Data
The model was fine-tuned using the DeteCode training script with PHP/JavaScript vulnerability data, primarily CrossVul (hitoshura25/crossvul).
- Downloads last month
- 10