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
Download model.onnx from karths/binary_classification_train_code: direct link, hf CLI and curl.
- Browser
- Download file 331 MB
-
https://huggingface.co/karths/binary_classification_train_code/resolve/main/model.onnx
- Command line
-
hf download hf://karths/binary_classification_train_code/model.onnx
-
curl -L -o model.onnx https://huggingface.co/karths/binary_classification_train_code/resolve/main/model.onnx
331 MB
- Xet hash:
- 6e374345cf16cacc550018c10777991ad220ec5d654f5113e943b95dfb3071b5
- Size of remote file:
- 331 MB
- SHA256:
- ca15ab86929dd3ca03b625e142a8554531f390778bc2ed678fae182661fbf101
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.