Instructions to use karths/binary_classification_train_main with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use karths/binary_classification_train_main with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="karths/binary_classification_train_main")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("karths/binary_classification_train_main") model = AutoModelForSequenceClassification.from_pretrained("karths/binary_classification_train_main", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download metrics.json from karths/binary_classification_train_main: direct link, hf CLI and curl.
- Browser
- Download file 160 Bytes
-
https://huggingface.co/karths/binary_classification_train_main/resolve/main/metrics.json
- Command line
-
hf download hf://karths/binary_classification_train_main/metrics.json
-
curl -L -o metrics.json https://huggingface.co/karths/binary_classification_train_main/resolve/main/metrics.json
160 Bytes
| {"precision": 0.9953125, "recall": 0.9710365853658537, "acc": 0.984352773826458, "mcc": 0.9687708987244389, "f1": 0.9830246913580247, "auc": 0.9988922764227641} |