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("text-classification", model="textattack/bert-base-uncased-rotten-tomatoes")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("textattack/bert-base-uncased-rotten-tomatoes") model = AutoModelForSequenceClassification.from_pretrained("textattack/bert-base-uncased-rotten-tomatoes", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
38c2182 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:0fedd630c05b94824e639d7be57f6761611bfe620870249e419cd086d2292c9b
size 437985387
|