Instructions to use karths/binary_classification_train_main with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use karths/binary_classification_train_main with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="karths/binary_classification_train_main")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("karths/binary_classification_train_main") model = AutoModelForSequenceClassification.from_pretrained("karths/binary_classification_train_main") - Notebooks
- Google Colab
- Kaggle
| {"0": {"precision": 0.9751958224543081, "recall": 0.996, "f1-score": 0.9854881266490766, "support": 750}, "1": {"precision": 0.9953125, "recall": 0.9710365853658537, "f1-score": 0.9830246913580247, "support": 656}, "accuracy": 0.984352773826458, "macro avg": {"precision": 0.9852541612271541, "recall": 0.9835182926829269, "f1-score": 0.9842564090035506, "support": 1406}, "weighted avg": {"precision": 0.9845816976107619, "recall": 0.984352773826458, "f1-score": 0.9843387571249442, "support": 1406}} |