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