Instructions to use karths/binary_classification_train_requirement with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use karths/binary_classification_train_requirement with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="karths/binary_classification_train_requirement")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("karths/binary_classification_train_requirement") model = AutoModelForSequenceClassification.from_pretrained("karths/binary_classification_train_requirement") - Notebooks
- Google Colab
- Kaggle
| {"0": {"precision": 0.995985727029438, "recall": 0.9942119323241317, "f1-score": 0.9950980392156862, "support": 2246}, "1": {"precision": 0.9931470743278862, "recall": 0.9952456418383518, "f1-score": 0.9941952506596307, "support": 1893}, "accuracy": 0.9946847064508335, "macro avg": {"precision": 0.9945664006786621, "recall": 0.9947287870812418, "f1-score": 0.9946466449376584, "support": 4139}, "weighted avg": {"precision": 0.9946874497730868, "recall": 0.9946847064508335, "f1-score": 0.9946851426859417, "support": 4139}} |