Instructions to use karths/binary_classification_train_comp with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use karths/binary_classification_train_comp with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="karths/binary_classification_train_comp")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("karths/binary_classification_train_comp") model = AutoModelForSequenceClassification.from_pretrained("karths/binary_classification_train_comp", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download classification_report.json from karths/binary_classification_train_comp: direct link, hf CLI and curl.
- Browser
- Download file 527 Bytes
-
https://huggingface.co/karths/binary_classification_train_comp/resolve/083c005689f36fa69fb72b0d223e4a533aa65e01/classification_report.json
- Command line
-
hf download hf://karths/binary_classification_train_comp@083c005689f36fa69fb72b0d223e4a533aa65e01/classification_report.json
-
curl -L -o classification_report.json https://huggingface.co/karths/binary_classification_train_comp/resolve/083c005689f36fa69fb72b0d223e4a533aa65e01/classification_report.json
527 Bytes
| {"0": {"precision": 0.9986559139784946, "recall": 0.9983204568357407, "f1-score": 0.9984881572316479, "support": 2977}, "1": {"precision": 0.9982853223593965, "recall": 0.9986277873070326, "f1-score": 0.9984565254673299, "support": 2915}, "accuracy": 0.9984725050916496, "macro avg": {"precision": 0.9984706181689456, "recall": 0.9984741220713866, "f1-score": 0.9984723413494889, "support": 5892}, "weighted avg": {"precision": 0.9984725679890731, "recall": 0.9984725050916496, "f1-score": 0.9984725077759473, "support": 5892}} |