Text Classification
Transformers
PyTorch
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use neuralsentry/vulnfixClassification-DistilBERT-DCMB with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use neuralsentry/vulnfixClassification-DistilBERT-DCMB with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="neuralsentry/vulnfixClassification-DistilBERT-DCMB")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("neuralsentry/vulnfixClassification-DistilBERT-DCMB") model = AutoModelForSequenceClassification.from_pretrained("neuralsentry/vulnfixClassification-DistilBERT-DCMB", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 197 Bytes
b32141a | 1 2 3 4 5 6 7 8 | {
"epoch": 10.0,
"train_loss": 0.04638458222828128,
"train_runtime": 631.2261,
"train_samples": 27992,
"train_samples_per_second": 443.454,
"train_steps_per_second": 1.743
} |