Instructions to use karths/binary_classification_train_infrastructure with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use karths/binary_classification_train_infrastructure with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="karths/binary_classification_train_infrastructure")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("karths/binary_classification_train_infrastructure") model = AutoModelForSequenceClassification.from_pretrained("karths/binary_classification_train_infrastructure") - Notebooks
- Google Colab
- Kaggle
| {"0": {"precision": 0.9946598101265823, "recall": 0.9958415841584158, "f1-score": 0.9952503463289136, "support": 5050}, "1": {"precision": 0.9956557716177079, "recall": 0.9944214876033057, "f1-score": 0.9950382468472193, "support": 4840}, "accuracy": 0.9951466127401416, "macro avg": {"precision": 0.9951577908721452, "recall": 0.9951315358808608, "f1-score": 0.9951442965880665, "support": 9890}, "weighted avg": {"precision": 0.9951472169634931, "recall": 0.9951466127401416, "f1-score": 0.9951465484025839, "support": 9890}} |