Instructions to use karths/binary_classification_train_infrastructure with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use karths/binary_classification_train_infrastructure with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="karths/binary_classification_train_infrastructure")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("karths/binary_classification_train_infrastructure") model = AutoModelForSequenceClassification.from_pretrained("karths/binary_classification_train_infrastructure", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "precision": [ | |
| 0.8071514664523906, | |
| 0.9200890147683592, | |
| 0.9790080263428689, | |
| 0.9913276894486889, | |
| 0.9956557716177079 | |
| ], | |
| "recall": [ | |
| 0.8299938029332783, | |
| 0.9394753150175583, | |
| 0.9826482131790952, | |
| 0.9917372443709978, | |
| 0.9944214876033057 | |
| ], | |
| "f1": [ | |
| 0.8184132803747837, | |
| 0.9296811120196239, | |
| 0.9808247422680412, | |
| 0.9915324246179266, | |
| 0.9950382468472193 | |
| ], | |
| "auc": [ | |
| 0.8944352386075212, | |
| 0.9787842295900733, | |
| 0.9977456993788617, | |
| 0.9996454582454734, | |
| 0.9996905122330415 | |
| ], | |
| "acc": [ | |
| 0.8197351127287433, | |
| 0.9304418157921343, | |
| 0.981195025781013, | |
| 0.9917096350217369, | |
| 0.9951466127401416 | |
| ], | |
| "mcc": [ | |
| 0.6397657383445139, | |
| 0.8610653101668877, | |
| 0.9623825256052116, | |
| 0.9834120858983001, | |
| 0.9902893264049639 | |
| ] | |
| } |