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.9968763371844245, "recall": 0.9978370275190063, "acc": 0.9973645180909294, "mcc": 0.9947294469751415, "f1": 0.9973564510087226, "auc": 0.9998922058125905} |