Instructions to use karths/binary_classification_train_TD with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use karths/binary_classification_train_TD with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="karths/binary_classification_train_TD")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("karths/binary_classification_train_TD") model = AutoModelForSequenceClassification.from_pretrained("karths/binary_classification_train_TD") - Notebooks
- Google Colab
- Kaggle
| {"0": {"precision": 0.9954283624394258, "recall": 0.9968867319842505, "f1-score": 0.9961570134504529, "support": 10921}, "1": {"precision": 0.9955601984852442, "recall": 0.9934844930935627, "f1-score": 0.9945212627184973, "support": 7674}, "accuracy": 0.9954826566281259, "macro avg": {"precision": 0.995494280462335, "recall": 0.9951856125389066, "f1-score": 0.9953391380844752, "support": 18595}, "weighted avg": {"precision": 0.9954827700659713, "recall": 0.9954826566281259, "f1-score": 0.9954819528902471, "support": 18595}} |