Instructions to use karths/binary_classification_train_defect with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use karths/binary_classification_train_defect with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="karths/binary_classification_train_defect")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("karths/binary_classification_train_defect") model = AutoModelForSequenceClassification.from_pretrained("karths/binary_classification_train_defect") - Notebooks
- Google Colab
- Kaggle
| {"0": {"precision": 0.9981187448265483, "recall": 0.9981187448265483, "f1-score": 0.9981187448265483, "support": 13289}, "1": {"precision": 0.9980114540248171, "recall": 0.9980114540248171, "f1-score": 0.9980114540248171, "support": 12572}, "accuracy": 0.9980665867522525, "macro avg": {"precision": 0.9980650994256827, "recall": 0.9980650994256827, "f1-score": 0.9980650994256827, "support": 25861}, "weighted avg": {"precision": 0.9980665867522525, "recall": 0.9980665867522525, "f1-score": 0.9980665867522525, "support": 25861}} |