Instructions to use ShengdingHu/sst2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ShengdingHu/sst2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="ShengdingHu/sst2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("ShengdingHu/sst2") model = AutoModelForMaskedLM.from_pretrained("ShengdingHu/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.35768bf
-
Training in progress, step 400
894b64b -
Training in progress, step 200
b81d89e
-
Training in progress, step 400
b3adb23 -
Training in progress, step 200
7b22bf5
-
Training in progress, step 2000
34b5ed3 -
Training in progress, step 1800
e5fda26 -
Training in progress, step 1600
5faef46 -
Training in progress, step 1400
c658c44 -
Training in progress, step 1200
28330bd -
Training in progress, step 1000
147affd -
Training in progress, step 800
9a7e5fd -
Training in progress, step 600
aafed81 -
Training in progress, step 400
193e373 -
Training in progress, step 200
a9caf40 -
Training in progress, step 25200
a773a88 -
Training in progress, step 25000
562b609 -
Training in progress, step 24800
7042afb -
Training in progress, step 24600
cc08b2a -
Training in progress, step 24400
668a05b -
Training in progress, step 24200
87a75a0 -
Training in progress, step 24000
5f18ab5 -
Training in progress, step 23800
1c034a9 -
Training in progress, step 23600
cf73e34 -
Training in progress, step 23400
70b1bde -
Training in progress, step 23200
aa6df29 -
Training in progress, step 23000
622b106 -
Training in progress, step 22800
bdad5dd -
Training in progress, step 22600
ae80886 -
Training in progress, step 22400
1e98a03 -
Training in progress, step 22200
b9ee472 -
Training in progress, step 22000
1ac8b53 -
Training in progress, step 21800
1023174 -
Training in progress, step 21600
2227e0d -
Training in progress, step 21400
6fcd8df -
Training in progress, step 21200
45fac95 -
Training in progress, step 21000
e4bec63 -
Training in progress, step 20800
18a1de3 -
Training in progress, step 20600
d20eb3a -
Training in progress, step 20400
1678c02 -
Training in progress, step 20200
cc48a6f -
Training in progress, step 20000
20e9e1d -
Training in progress, step 19800
e7bf718 -
Training in progress, step 19600
4e67ddf -
Training in progress, step 19400
e221af6 -
Training in progress, step 19200
e5b83b7 -
Training in progress, step 19000
f9237ef -
Training in progress, step 18800
cf8dca4 -
Training in progress, step 18600
f2f98a6 -
Training in progress, step 18400
4507e74