Instructions to use karths/binary_classification_train_code with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use karths/binary_classification_train_code with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="karths/binary_classification_train_code")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("karths/binary_classification_train_code") model = AutoModelForSequenceClassification.from_pretrained("karths/binary_classification_train_code") - Notebooks
- Google Colab
- Kaggle
| {"precision": 0.9871385842472582, "recall": 0.9904466563297154, "acc": 0.9891114560093123, "mcc": 0.978210204972689, "f1": 0.9887898534441865, "auc": 0.9990561329520928} |