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
Add metadata
Browse files
README.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# VulFixMiner Encoder
|
| 2 |
|
| 3 |
A CodeBERT-based encoder for commit-diff embeddings.
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
pipeline_tag: feature-extraction
|
| 4 |
+
datasets:
|
| 5 |
+
- andstor/cvevc_commits
|
| 6 |
+
tags:
|
| 7 |
+
- code
|
| 8 |
+
- codebert
|
| 9 |
+
- security
|
| 10 |
+
- commit-embeddings
|
| 11 |
+
- custom_code
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
# VulFixMiner Encoder
|
| 15 |
|
| 16 |
A CodeBERT-based encoder for commit-diff embeddings.
|