Instructions to use textattack/roberta-base-imdb with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use textattack/roberta-base-imdb with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="textattack/roberta-base-imdb")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("textattack/roberta-base-imdb") model = AutoModelForSequenceClassification.from_pretrained("textattack/roberta-base-imdb", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
upload flax model
006b34e -
allow flax
047ff5d
-
Update special_tokens_map.json
92835f4 -
Update config.json
31a6404 -
Update pytorch_model.bin
193f037 -
Update log.txt
1adeebe -
Update train_args.json
7cc028b -
Update README.md
30ae129 -
Update merges.txt
a1fd981 -
Update tokenizer_config.json
e098e6d -
Update vocab.json
6cdd888 -
initial commit
4162d1b