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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 130 Bytes
6cc4b2d | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:7b776737e1e6d31f9e734e4f1e3f4d7f487d6e54fa570b12ee6db23810f2bfc6
size 14244
|