Instructions to use zgotter/bert_two_sent_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zgotter/bert_two_sent_classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="zgotter/bert_two_sent_classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("zgotter/bert_two_sent_classifier") model = AutoModelForSequenceClassification.from_pretrained("zgotter/bert_two_sent_classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download training_args.bin from zgotter/bert_two_sent_classifier: direct link, hf CLI and curl.
- Browser
- Download file 2.8 kB
-
https://huggingface.co/zgotter/bert_two_sent_classifier/resolve/refs%2Fpr%2F1/training_args.bin
- Command line
-
hf download hf://zgotter/bert_two_sent_classifier@refs/pr/1/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/zgotter/bert_two_sent_classifier/resolve/refs%2Fpr%2F1/training_args.bin
2.8 kB
- Xet hash:
- 26392c76a1c69ac12564b8ab80a16549ae6217a43f29822f4244b7e3dcd95d8a
- Size of remote file:
- 2.8 kB
- SHA256:
- 6094517a1a99d70f036d986a9403006ac3e3416e48a5e94fdd4e4da6d670b0c7
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.