Instructions to use textattack/bert-base-uncased-SST-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use textattack/bert-base-uncased-SST-2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="textattack/bert-base-uncased-SST-2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("textattack/bert-base-uncased-SST-2") model = AutoModelForSequenceClassification.from_pretrained("textattack/bert-base-uncased-SST-2", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Create README.md
Verified signature21f909d
-
upload flax model
95f0f6f -
allow flax
798d82d
-
Update pytorch_model.bin
de03cb6 -
Update training_args.bin
5f49f64 -
Update config.json
f35449e -
Update eval_results_sst-2.txt
f63a00b -
Update tokenizer_config.json
00d8532 -
Update vocab.txt
f6f0118 -
Update special_tokens_map.json
0e43e16
-
Update config.json
159537c -
Update eval_results_sst-2.txt
6746dde -
Update tokenizer_config.json
8ac18c4 -
Update vocab.txt
e27d719 -
Update special_tokens_map.json
6f8b47a -
Update config.json
2aba598 -
Update eval_results_sst-2.txt
38de35d -
Update tokenizer_config.json
a6f77a9 -
Update vocab.txt
f63951f -
Update special_tokens_map.json
c948b2a -
initial commit
ec66afd