Instructions to use karths/binary_classification_train_automation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use karths/binary_classification_train_automation with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="karths/binary_classification_train_automation")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("karths/binary_classification_train_automation") model = AutoModelForSequenceClassification.from_pretrained("karths/binary_classification_train_automation", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download classification_report.json from karths/binary_classification_train_automation: direct link, hf CLI and curl.
- Browser
- Download file 525 Bytes
-
https://huggingface.co/karths/binary_classification_train_automation/resolve/main/classification_report.json
- Command line
-
hf download hf://karths/binary_classification_train_automation/classification_report.json
-
curl -L -o classification_report.json https://huggingface.co/karths/binary_classification_train_automation/resolve/main/classification_report.json
525 Bytes
| {"0": {"precision": 0.9938162544169611, "recall": 0.9911894273127754, "f1-score": 0.9925011027790032, "support": 1135}, "1": {"precision": 0.990791896869245, "recall": 0.9935364727608494, "f1-score": 0.9921622867680958, "support": 1083}, "accuracy": 0.9923354373309288, "macro avg": {"precision": 0.992304075643103, "recall": 0.9923629500368124, "f1-score": 0.9923316947735494, "support": 2218}, "weighted avg": {"precision": 0.9923395279858627, "recall": 0.9923354373309288, "f1-score": 0.9923356664670948, "support": 2218}} |