Instructions to use karths/binary_classification_train_secu with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use karths/binary_classification_train_secu with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="karths/binary_classification_train_secu")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("karths/binary_classification_train_secu") model = AutoModelForSequenceClassification.from_pretrained("karths/binary_classification_train_secu", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "precision": 0.9897325363820132, | |
| "recall": 0.988611200342649, | |
| "f1": 0.9891707962245109, | |
| "auc": 0.9985494517813583, | |
| "acc": 0.9892234424457824, | |
| "mcc": 0.978448482766734 | |
| } |