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
Download config.json from andstor/VulFixMiner-encoder: direct link, hf CLI and curl.
- Browser
- Download file 379 Bytes
-
https://huggingface.co/andstor/VulFixMiner-encoder/resolve/main/config.json
- Command line
-
hf download hf://andstor/VulFixMiner-encoder/config.json
-
curl -L -o config.json https://huggingface.co/andstor/VulFixMiner-encoder/resolve/main/config.json
379 Bytes
| { | |
| "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" | |
| } | |