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": { | |
| "ci_lower": 0.8223995992144444, | |
| "ci_upper": 1.023997680745551 | |
| }, | |
| "recall": { | |
| "ci_lower": 0.8399626753867347, | |
| "ci_upper": 1.024003355180947 | |
| }, | |
| "f1": { | |
| "ci_lower": 0.8310914252699197, | |
| "ci_upper": 1.024016367295917 | |
| }, | |
| "auc": { | |
| "ci_lower": 0.9164503354317686, | |
| "ci_upper": 1.0250294190546752 | |
| }, | |
| "acc": { | |
| "ci_lower": 0.8342996357051065, | |
| "ci_upper": 1.0239310365230436 | |
| }, | |
| "mcc": { | |
| "ci_lower": 0.668680421474075, | |
| "ci_upper": 1.0477858260352062 | |
| } | |
| } |