Instructions to use karths/binary_classification_train_comp with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use karths/binary_classification_train_comp with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="karths/binary_classification_train_comp")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("karths/binary_classification_train_comp") model = AutoModelForSequenceClassification.from_pretrained("karths/binary_classification_train_comp", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 527 Bytes
083c005 | 1 | {"0": {"precision": 0.9986559139784946, "recall": 0.9983204568357407, "f1-score": 0.9984881572316479, "support": 2977}, "1": {"precision": 0.9982853223593965, "recall": 0.9986277873070326, "f1-score": 0.9984565254673299, "support": 2915}, "accuracy": 0.9984725050916496, "macro avg": {"precision": 0.9984706181689456, "recall": 0.9984741220713866, "f1-score": 0.9984723413494889, "support": 5892}, "weighted avg": {"precision": 0.9984725679890731, "recall": 0.9984725050916496, "f1-score": 0.9984725077759473, "support": 5892}} |