Feature Extraction
Transformers
PyTorch
vulfixminer_encoder
code
codebert
security
commit-embeddings
custom_code
Instructions to use andstor/VulFixMiner-encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use andstor/VulFixMiner-encoder with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="andstor/VulFixMiner-encoder", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("andstor/VulFixMiner-encoder", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 379 Bytes
8102a83 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | {
"model_type": "vulfixminer_encoder",
"architectures": ["VulFixMinerEncoderModel"],
"auto_map": {
"AutoConfig": "modeling_vulfixminer_encoder.VulFixMinerEncoderConfig",
"AutoModel": "modeling_vulfixminer_encoder.VulFixMinerEncoderModel"
},
"hidden_size": 768,
"hidden_dropout_prob": 0.1,
"num_labels": 2,
"transformer_model": "microsoft/codebert-base"
}
|