Instructions to use textattack/bert-base-uncased-rotten_tomatoes with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use textattack/bert-base-uncased-rotten_tomatoes with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="textattack/bert-base-uncased-rotten_tomatoes")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("textattack/bert-base-uncased-rotten_tomatoes") model = AutoModelForMaskedLM.from_pretrained("textattack/bert-base-uncased-rotten_tomatoes", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
0e38551 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:c31c2aa729a6d0558b500b342042c4d233e2a8e2e57c6ad2bb9734bfbb549704
size 437985387
|