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 __init__.py from andstor/VulFixMiner-encoder: direct link, hf CLI and curl.
- Browser
- Download file 159 Bytes
-
https://huggingface.co/andstor/VulFixMiner-encoder/resolve/main/__init__.py
- Command line
-
hf download hf://andstor/VulFixMiner-encoder/__init__.py
-
curl -L -o __init__.py https://huggingface.co/andstor/VulFixMiner-encoder/resolve/main/__init__.py
159 Bytes
| from .modeling_vulfixminer_encoder import VulFixMinerEncoderConfig, VulFixMinerEncoderModel | |
| __all__ = ["VulFixMinerEncoderConfig", "VulFixMinerEncoderModel"] | |