Instructions to use karths/binary_classification_train_comp with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use karths/binary_classification_train_comp with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="karths/binary_classification_train_comp")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("karths/binary_classification_train_comp") model = AutoModelForSequenceClassification.from_pretrained("karths/binary_classification_train_comp", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from karths/binary_classification_train_comp: direct link, hf CLI and curl.
- Browser
- Download file 3.56 MB
-
https://huggingface.co/karths/binary_classification_train_comp/resolve/514c3fc22dcd02da05ab3d3536f7dae99f42a16e/tokenizer.json
- Command line
-
hf download hf://karths/binary_classification_train_comp@514c3fc22dcd02da05ab3d3536f7dae99f42a16e/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/karths/binary_classification_train_comp/resolve/514c3fc22dcd02da05ab3d3536f7dae99f42a16e/tokenizer.json
3.56 MB
File too large to display, you can check the raw version instead.