Instructions to use karths/binary_classification_train_documentation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use karths/binary_classification_train_documentation with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="karths/binary_classification_train_documentation")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("karths/binary_classification_train_documentation") model = AutoModelForSequenceClassification.from_pretrained("karths/binary_classification_train_documentation") - Notebooks
- Google Colab
- Kaggle
| {"0": {"precision": 0.9926258416159025, "recall": 0.9910212704662217, "f1-score": 0.9918229070726647, "support": 62481}, "1": {"precision": 0.9910204081632653, "recall": 0.9926251322666496, "f1-score": 0.9918221211223158, "support": 62374}, "accuracy": 0.991822514116375, "macro avg": {"precision": 0.9918231248895839, "recall": 0.9918232013664356, "f1-score": 0.9918225140974903, "support": 124855}, "weighted avg": {"precision": 0.9918238128130928, "recall": 0.991822514116375, "f1-score": 0.9918225144342677, "support": 124855}} |