Instructions to use tzhao3/Bert-M-SST2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tzhao3/Bert-M-SST2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="tzhao3/Bert-M-SST2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("tzhao3/Bert-M-SST2") model = AutoModelForSequenceClassification.from_pretrained("tzhao3/Bert-M-SST2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from tzhao3/Bert-M-SST2: direct link, hf CLI and curl.
- Browser
- Download file 166 MB
-
https://huggingface.co/tzhao3/Bert-M-SST2/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://tzhao3/Bert-M-SST2/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/tzhao3/Bert-M-SST2/resolve/main/pytorch_model.bin
166 MB
- Xet hash:
- f71c7c9773fae3b68852c68bdfab2383c5bccc954acd08ca6dac8cb1268a6085
- Size of remote file:
- 166 MB
- SHA256:
- 369bbc07573f343106c6bf80691376196253fc7fac81d7a57397aaf60bea86d9
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.