Instructions to use karths/binary_classification_train_design with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use karths/binary_classification_train_design with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="karths/binary_classification_train_design")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("karths/binary_classification_train_design") model = AutoModelForSequenceClassification.from_pretrained("karths/binary_classification_train_design", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download classification_report.json from karths/binary_classification_train_design: direct link, hf CLI and curl.
- Browser
- Download file 527 Bytes
-
https://huggingface.co/karths/binary_classification_train_design/resolve/main/classification_report.json
- Command line
-
hf download hf://karths/binary_classification_train_design/classification_report.json
-
curl -L -o classification_report.json https://huggingface.co/karths/binary_classification_train_design/resolve/main/classification_report.json
527 Bytes
| {"0": {"precision": 0.996199829205807, "recall": 0.9945012787723785, "f1-score": 0.9953498293515357, "support": 23460}, "1": {"precision": 0.9943944726893496, "recall": 0.9961258869107212, "f1-score": 0.9952594267820642, "support": 22973}, "accuracy": 0.9953050632093554, "macro avg": {"precision": 0.9952971509475783, "recall": 0.9953135828415498, "f1-score": 0.9953046280668, "support": 46433}, "weighted avg": {"precision": 0.9953066184450855, "recall": 0.9953050632093554, "f1-score": 0.9953051021482866, "support": 46433}} |