Instructions to use Cyber-ThreaD/SecureBERT-DNRTI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Cyber-ThreaD/SecureBERT-DNRTI with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Cyber-ThreaD/SecureBERT-DNRTI")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Cyber-ThreaD/SecureBERT-DNRTI") model = AutoModelForTokenClassification.from_pretrained("Cyber-ThreaD/SecureBERT-DNRTI", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "epoch": 10.0, | |
| "train_loss": 0.20224008327931212, | |
| "train_runtime": 907.9488, | |
| "train_samples": 5250, | |
| "train_samples_per_second": 57.823, | |
| "train_steps_per_second": 7.236 | |
| } |