Instructions to use karths/binary_classification_train_requirement with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use karths/binary_classification_train_requirement with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="karths/binary_classification_train_requirement")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("karths/binary_classification_train_requirement") model = AutoModelForSequenceClassification.from_pretrained("karths/binary_classification_train_requirement", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download classification_report.json from karths/binary_classification_train_requirement: direct link, hf CLI and curl.
- Browser
- Download file 526 Bytes
-
https://huggingface.co/karths/binary_classification_train_requirement/resolve/main/classification_report.json
- Command line
-
hf download hf://karths/binary_classification_train_requirement/classification_report.json
-
curl -L -o classification_report.json https://huggingface.co/karths/binary_classification_train_requirement/resolve/main/classification_report.json
526 Bytes
| {"0": {"precision": 0.995985727029438, "recall": 0.9942119323241317, "f1-score": 0.9950980392156862, "support": 2246}, "1": {"precision": 0.9931470743278862, "recall": 0.9952456418383518, "f1-score": 0.9941952506596307, "support": 1893}, "accuracy": 0.9946847064508335, "macro avg": {"precision": 0.9945664006786621, "recall": 0.9947287870812418, "f1-score": 0.9946466449376584, "support": 4139}, "weighted avg": {"precision": 0.9946874497730868, "recall": 0.9946847064508335, "f1-score": 0.9946851426859417, "support": 4139}} |