Instructions to use karths/binary_classification_train_main with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use karths/binary_classification_train_main with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="karths/binary_classification_train_main")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("karths/binary_classification_train_main") model = AutoModelForSequenceClassification.from_pretrained("karths/binary_classification_train_main", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 953 Bytes
09f123b | 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 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | {
"precision": [
0.6926952141057935,
0.8751793400286944,
0.9932088285229203,
0.9435600578871202,
0.9953125
],
"recall": [
0.837138508371385,
0.9298780487804879,
0.8917682926829268,
0.9939024390243902,
0.9710365853658537
],
"f1": [
0.7580978635423846,
0.9016999260901699,
0.9397590361445783,
0.9680772086117299,
0.9830246913580247
],
"auc": [
0.8575513165194383,
0.9676483739837398,
0.9953231707317073,
0.9986036585365854,
0.9988922764227641
],
"acc": [
0.7503556187766715,
0.9054054054054054,
0.9466571834992887,
0.9694167852062588,
0.984352773826458
],
"mcc": [
0.5146044913291433,
0.8120866665305855,
0.8963151789984785,
0.9399319845688894,
0.9687708987244389
]
} |