Instructions to use karths/binary_classification_train_service with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use karths/binary_classification_train_service with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="karths/binary_classification_train_service")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("karths/binary_classification_train_service") model = AutoModelForSequenceClassification.from_pretrained("karths/binary_classification_train_service") - Notebooks
- Google Colab
- Kaggle
File size: 529 Bytes
762647e | 1 | {"0": {"precision": 0.9977459201154089, "recall": 0.9973862100045066, "f1-score": 0.9975660326331921, "support": 11095}, "1": {"precision": 0.9971287128712871, "recall": 0.9975237717908082, "f1-score": 0.9973262032085561, "support": 10096}, "accuracy": 0.9974517483837478, "macro avg": {"precision": 0.997437316493348, "recall": 0.9974549908976573, "f1-score": 0.9974461179208741, "support": 21191}, "weighted avg": {"precision": 0.997451864887404, "recall": 0.9974517483837478, "f1-score": 0.9974517710187744, "support": 21191}} |