Instructions to use karths/binary_classification_train_defect with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use karths/binary_classification_train_defect with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="karths/binary_classification_train_defect")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("karths/binary_classification_train_defect") model = AutoModelForSequenceClassification.from_pretrained("karths/binary_classification_train_defect", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 962 Bytes
a6166ad | 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.9286116700201207,
0.9784399224806202,
0.9940253325898192,
0.9972912683237731,
0.9980114540248171
],
"recall": [
0.917680744452398,
0.9638084632516704,
0.9925230671333122,
0.9957047406936048,
0.9980114540248171
],
"f1": [
0.9231138491079286,
0.9710690815835872,
0.993273631840796,
0.9964973730297723,
0.9980114540248171
],
"auc": [
0.9777264564543487,
0.9959390566219378,
0.9996784268717986,
0.9998726037699277,
0.9999709850955988
],
"acc": [
0.9256824684865826,
0.9720815127025251,
0.9934650632226132,
0.9965971926839643,
0.9980665867522525
],
"mcc": [
0.8512596171356405,
0.9441975563000122,
0.9869206059875473,
0.9931900476424383,
0.9961301988513653
]
} |