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