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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 196 Bytes
762647e | 1 2 3 4 5 6 7 8 | {
"precision": 0.9648893591827296,
"recall": 0.9633946087452504,
"f1": 0.9641410089340431,
"auc": 0.9896954709644303,
"acc": 0.9658738211601794,
"mcc": 0.9315896634972471
} |