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.9231986399799977, | |
| "recall": 0.9319830152838409, | |
| "f1": 0.9275538962829184, | |
| "auc": 0.9707398772432219, | |
| "acc": 0.929115336114075, | |
| "mcc": 0.8582331237546406 | |
| } |