Instructions to use karths/binary_classification_train_test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use karths/binary_classification_train_test with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="karths/binary_classification_train_test")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("karths/binary_classification_train_test") model = AutoModelForSequenceClassification.from_pretrained("karths/binary_classification_train_test", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 604 Bytes
b3026a5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | {
"precision": {
"ci_lower": 0.8808203338535413,
"ci_upper": 1.0065061013938232
},
"recall": {
"ci_lower": 0.8574609447764854,
"ci_upper": 0.9990875865252593
},
"f1": {
"ci_lower": 0.8690070658639355,
"ci_upper": 1.0027782483237468
},
"auc": {
"ci_lower": 0.9459169481260807,
"ci_upper": 1.0112991370392894
},
"acc": {
"ci_lower": 0.8742969122459905,
"ci_upper": 1.0024388859895312
},
"mcc": {
"ci_lower": 0.7484630367930185,
"ci_upper": 1.0049218698557676
}
} |