Instructions to use Sayan01/Bert-sst2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Sayan01/Bert-sst2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Sayan01/Bert-sst2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Sayan01/Bert-sst2") model = AutoModelForSequenceClassification.from_pretrained("Sayan01/Bert-sst2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.c21987c
-
Training in progress, epoch 10
6e487c0 -
Training in progress, epoch 9
61b25d8 -
Training in progress, epoch 8
326624d -
Training in progress, epoch 7
81a5e84 -
Training in progress, epoch 6
1eaf1a3 -
Training in progress, epoch 5
075b4c0 -
Training in progress, epoch 4
1e1a5fd -
Training in progress, epoch 3
1c9f582 -
Training in progress, epoch 2
5e986f3 -
Training in progress, epoch 1
d2f167c -
Training in progress, epoch 15
b439692 -
Training in progress, epoch 14
b770b80 -
Training in progress, epoch 13
b4edad1 -
Training in progress, epoch 12
64568f3 -
Training in progress, epoch 11
1f33d03 -
Training in progress, epoch 10
13e6ca0 -
Training in progress, epoch 9
68efcba -
Training in progress, epoch 8
853ade0 -
Training in progress, epoch 7
dec3182 -
Training in progress, epoch 6
71c45e7 -
Training in progress, epoch 5
7a81f16 -
Training in progress, epoch 4
f19624b -
Training in progress, epoch 3
c888d48 -
Training in progress, epoch 2
bedfe3c -
Training in progress, epoch 1
e3237fb -
Training in progress, epoch 1
af562f3 -
initial commit
e755872