Instructions to use textattack/roberta-base-rotten-tomatoes with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use textattack/roberta-base-rotten-tomatoes with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="textattack/roberta-base-rotten-tomatoes")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("textattack/roberta-base-rotten-tomatoes") model = AutoModelForSequenceClassification.from_pretrained("textattack/roberta-base-rotten-tomatoes", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
upload flax model
3fd7729 -
allow flax
97b99a1
-
Update pytorch_model.bin
3a03f9d -
Update README.md
413892e -
Update train_args.json
a50af6b -
Update config.json
3d50630 -
Update log.txt
06b68c8 -
Update special_tokens_map.json
4bcd2ac -
Update tokenizer_config.json
399ae93 -
Update merges.txt
a6c96ae -
Update vocab.json
6dee4f7
-
Update README.md
dc93d32 -
Update config.json
457b6f2 -
Update train_args.json
04d1140 -
Update log.txt
282e865 -
Update merges.txt
a2daf3a -
Update special_tokens_map.json
53c35ff -
Update tokenizer_config.json
6540182 -
Update vocab.json
a5bc451 -
initial commit
723a7c5