bnsapa/cybersecurity-ner
Viewer โข Updated โข 4.17k โข 663 โข 3
How to use bnsapa/cybersecurity-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="bnsapa/cybersecurity-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("bnsapa/cybersecurity-ner")
model = AutoModelForTokenClassification.from_pretrained("bnsapa/cybersecurity-ner")This model is a fine-tuned version of distilbert-base-uncased on the cybersecurity-ner dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| No log | 1.0 | 167 | 0.2492 | 0.6870 | 0.7406 | 0.7128 | 0.9293 |
| No log | 2.0 | 334 | 0.2026 | 0.7733 | 0.7346 | 0.7534 | 0.9420 |
| 0.2118 | 3.0 | 501 | 0.1895 | 0.7735 | 0.7934 | 0.7833 | 0.9493 |
| 0.2118 | 4.0 | 668 | 0.1834 | 0.7785 | 0.8189 | 0.7982 | 0.9511 |
| 0.2118 | 5.0 | 835 | 0.2060 | 0.8113 | 0.7965 | 0.8039 | 0.9522 |
| 0.0507 | 6.0 | 1002 | 0.2153 | 0.7692 | 0.8226 | 0.7950 | 0.9511 |
| 0.0507 | 7.0 | 1169 | 0.2141 | 0.7866 | 0.7962 | 0.7914 | 0.9507 |
| 0.0507 | 8.0 | 1336 | 0.2196 | 0.7942 | 0.7925 | 0.7933 | 0.9508 |
Base model
distilbert/distilbert-base-uncased