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")# pip install -U transformers accelerate # 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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Add ONNX export for CPU inference (no GPU required)
Verified signatureae04d68
-
Add ONNX export for CPU inference (no GPU required)
Verified signaturea4a50c9
-
Upload 5 files
Verified signature7bf67c5
-
Upload folder using huggingface_hub
Verified signature6cc4b2d -
initial commit
Verified signature17e67f1