Instructions to use Cyber-ThreaD/SecureBERT-APTNER with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Cyber-ThreaD/SecureBERT-APTNER with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Cyber-ThreaD/SecureBERT-APTNER")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Cyber-ThreaD/SecureBERT-APTNER") model = AutoModelForTokenClassification.from_pretrained("Cyber-ThreaD/SecureBERT-APTNER") - Notebooks
- Google Colab
- Kaggle
File size: 324 Bytes
316abfa | 1 2 3 4 5 6 7 8 9 10 | {
"predict_accuracy": 0.9366916094525444,
"predict_f1": 0.6362435803374908,
"predict_loss": 0.2403997778892517,
"predict_precision": 0.6276780544296467,
"predict_recall": 0.6450461172270158,
"predict_runtime": 7.282,
"predict_samples_per_second": 211.617,
"predict_steps_per_second": 26.504
} |