Instructions to use karths/binary_classification_train_people with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use karths/binary_classification_train_people with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="karths/binary_classification_train_people")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("karths/binary_classification_train_people") model = AutoModelForSequenceClassification.from_pretrained("karths/binary_classification_train_people", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download classification_report.json from karths/binary_classification_train_people: direct link, hf CLI and curl.
- Browser
- Download file 499 Bytes
-
https://huggingface.co/karths/binary_classification_train_people/resolve/main/classification_report.json
- Command line
-
hf download hf://karths/binary_classification_train_people/classification_report.json
-
curl -L -o classification_report.json https://huggingface.co/karths/binary_classification_train_people/resolve/main/classification_report.json
499 Bytes
| {"0": {"precision": 0.9877300613496932, "recall": 0.9415204678362573, "f1-score": 0.9640718562874252, "support": 171}, "1": {"precision": 0.9363057324840764, "recall": 0.9865771812080537, "f1-score": 0.9607843137254902, "support": 149}, "accuracy": 0.9625, "macro avg": {"precision": 0.9620178969168849, "recall": 0.9640488245221555, "f1-score": 0.9624280850064577, "support": 320}, "weighted avg": {"precision": 0.9637856082216404, "recall": 0.9625, "f1-score": 0.9625410942820242, "support": 320}} |