Instructions to use karths/binary_classification_train_test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use karths/binary_classification_train_test with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="karths/binary_classification_train_test")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("karths/binary_classification_train_test") model = AutoModelForSequenceClassification.from_pretrained("karths/binary_classification_train_test") - Notebooks
- Google Colab
- Kaggle
File size: 533 Bytes
b3026a5 | 1 | {"0": {"precision": 0.9804260218767991, "recall": 0.9882585062963034, "f1-score": 0.9843266831716551, "support": 51697}, "1": {"precision": 0.9874775648299053, "recall": 0.9791351307122693, "f1-score": 0.9832886533345659, "support": 48886}, "accuracy": 0.9838243043058966, "macro avg": {"precision": 0.9839517933533521, "recall": 0.9836968185042864, "f1-score": 0.9838076682531105, "support": 100583}, "weighted avg": {"precision": 0.9838532583760639, "recall": 0.9838243043058966, "f1-score": 0.9838221731986383, "support": 100583}} |