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.08118060998093907, | |
| "recall": 0.07411050012743055, | |
| "f1": 0.07768806307708406, | |
| "auc": 0.04372321488743366, | |
| "acc": 0.07636180202223163, | |
| "mcc": 0.15266022253587036 | |
| } |