Instructions to use textattack/distilbert-base-uncased-rotten-tomatoes with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use textattack/distilbert-base-uncased-rotten-tomatoes with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="textattack/distilbert-base-uncased-rotten-tomatoes")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("textattack/distilbert-base-uncased-rotten-tomatoes") model = AutoModelForSequenceClassification.from_pretrained("textattack/distilbert-base-uncased-rotten-tomatoes", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update tokenizer_config.json
2f33048 -
Update train_args.json
ac1a947 -
Update special_tokens_map.json
796ac0c -
Update pytorch_model.bin
b7afac9 -
Update vocab.txt
7207cb7 -
Update README.md
c655fc7 -
Update config.json
1a98471 -
Update log.txt
bb1391c -
initial commit
33e2878