Instructions to use karths/binary_classification_train_infrastructure with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use karths/binary_classification_train_infrastructure with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="karths/binary_classification_train_infrastructure")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("karths/binary_classification_train_infrastructure") model = AutoModelForSequenceClassification.from_pretrained("karths/binary_classification_train_infrastructure", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download classification_report.json from karths/binary_classification_train_infrastructure: direct link, hf CLI and curl.
- Browser
- Download file 527 Bytes
-
https://huggingface.co/karths/binary_classification_train_infrastructure/resolve/main/classification_report.json
- Command line
-
hf download hf://karths/binary_classification_train_infrastructure/classification_report.json
-
curl -L -o classification_report.json https://huggingface.co/karths/binary_classification_train_infrastructure/resolve/main/classification_report.json
527 Bytes
| {"0": {"precision": 0.9946598101265823, "recall": 0.9958415841584158, "f1-score": 0.9952503463289136, "support": 5050}, "1": {"precision": 0.9956557716177079, "recall": 0.9944214876033057, "f1-score": 0.9950382468472193, "support": 4840}, "accuracy": 0.9951466127401416, "macro avg": {"precision": 0.9951577908721452, "recall": 0.9951315358808608, "f1-score": 0.9951442965880665, "support": 9890}, "weighted avg": {"precision": 0.9951472169634931, "recall": 0.9951466127401416, "f1-score": 0.9951465484025839, "support": 9890}} |