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")# 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") - Notebooks
- Google Colab
- Kaggle
| {"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}} |