Instructions to use karths/binary_classification_train_TD with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use karths/binary_classification_train_TD with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="karths/binary_classification_train_TD")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("karths/binary_classification_train_TD") model = AutoModelForSequenceClassification.from_pretrained("karths/binary_classification_train_TD", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download classification_report.json from karths/binary_classification_train_TD: direct link, hf CLI and curl.
- Browser
- Download file 529 Bytes
-
https://huggingface.co/karths/binary_classification_train_TD/resolve/9cbfedb686fdfc6ed201403aa6579facfb8984e1/classification_report.json
- Command line
-
hf download hf://karths/binary_classification_train_TD@9cbfedb686fdfc6ed201403aa6579facfb8984e1/classification_report.json
-
curl -L -o classification_report.json https://huggingface.co/karths/binary_classification_train_TD/resolve/9cbfedb686fdfc6ed201403aa6579facfb8984e1/classification_report.json
529 Bytes
| {"0": {"precision": 0.9954283624394258, "recall": 0.9968867319842505, "f1-score": 0.9961570134504529, "support": 10921}, "1": {"precision": 0.9955601984852442, "recall": 0.9934844930935627, "f1-score": 0.9945212627184973, "support": 7674}, "accuracy": 0.9954826566281259, "macro avg": {"precision": 0.995494280462335, "recall": 0.9951856125389066, "f1-score": 0.9953391380844752, "support": 18595}, "weighted avg": {"precision": 0.9954827700659713, "recall": 0.9954826566281259, "f1-score": 0.9954819528902471, "support": 18595}} |