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
-
Adding `safetensors` variant of this model
This 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.0c393ac
-
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