Instructions to use karths/binary_classification_train_build with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use karths/binary_classification_train_build with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="karths/binary_classification_train_build")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("karths/binary_classification_train_build") model = AutoModelForSequenceClassification.from_pretrained("karths/binary_classification_train_build", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download classification_report.json from karths/binary_classification_train_build: direct link, hf CLI and curl.
- Browser
- Download file 529 Bytes
-
https://huggingface.co/karths/binary_classification_train_build/resolve/main/classification_report.json
- Command line
-
hf download hf://karths/binary_classification_train_build/classification_report.json
-
curl -L -o classification_report.json https://huggingface.co/karths/binary_classification_train_build/resolve/main/classification_report.json
529 Bytes
| {"0": {"precision": 0.9945378666993986, "recall": 0.9946599558065308, "f1-score": 0.994598907506291, "support": 16292}, "1": {"precision": 0.994482496194825, "recall": 0.9943563728598604, "f1-score": 0.9944194305282515, "support": 15770}, "accuracy": 0.9945106356434409, "macro avg": {"precision": 0.9945101814471118, "recall": 0.9945081643331957, "f1-score": 0.9945091690172713, "support": 32062}, "weighted avg": {"precision": 0.9945106321894764, "recall": 0.9945106356434409, "f1-score": 0.9945106300456309, "support": 32062}} |