Feature Extraction
Transformers
PyTorch
vulfixminer_classifier
code
security
vulnerability-fix-detection
commit-classification
custom_code
Instructions to use andstor/VulFixMiner-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use andstor/VulFixMiner-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="andstor/VulFixMiner-classifier", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("andstor/VulFixMiner-classifier", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from andstor/VulFixMiner-classifier: direct link, hf CLI and curl.
- Browser
- Download file 347 Bytes
-
https://huggingface.co/andstor/VulFixMiner-classifier/resolve/main/config.json
- Command line
-
hf download hf://andstor/VulFixMiner-classifier/config.json
-
curl -L -o config.json https://huggingface.co/andstor/VulFixMiner-classifier/resolve/main/config.json
347 Bytes
| { | |
| "model_type": "vulfixminer_classifier", | |
| "architectures": ["VulFixMinerClassifierModel"], | |
| "auto_map": { | |
| "AutoConfig": "modeling_vulfixminer_classifier.VulFixMinerClassifierConfig", | |
| "AutoModel": "modeling_vulfixminer_classifier.VulFixMinerClassifierModel" | |
| }, | |
| "hidden_size": 768, | |
| "hidden_dropout_prob": 0.1, | |
| "num_labels": 2 | |
| } | |