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
Commit History
-
Rename epoch_4_pytorch_model.bin to pytorch_model.bin
fd530bd -
Upload epoch_4_pytorch_model.bin
eb80398 -
Delete pytorch_model.bin
e60f7e0
-
Upload 11 files
0fbe06d
-
Upload 11 files
b99cf91 -
Upload 11 files
a966ede
-
Upload 11 files
3da3748 -
initial commit
917deda