Instructions to use textattack/albert-base-v2-rotten-tomatoes with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use textattack/albert-base-v2-rotten-tomatoes with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="textattack/albert-base-v2-rotten-tomatoes")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("textattack/albert-base-v2-rotten-tomatoes") model = AutoModelForSequenceClassification.from_pretrained("textattack/albert-base-v2-rotten-tomatoes", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update pytorch_model.bin
b19b7cd -
Update config.json
b3eabe5 -
Update log.txt
ac9a80d -
Update special_tokens_map.json
b0c1a8d -
Update spiece.model
cc7502e -
Update README.md
7d4528b -
Update tokenizer_config.json
1279dbb -
Update train_args.json
194cd3b
-
Update log.txt
c87e40f -
Update special_tokens_map.json
c6e13b1 -
Update spiece.model
071a2bb -
Update config.json
cef5d53 -
Update README.md
d55b02e -
Update tokenizer_config.json
cd55f2b -
Update train_args.json
3fff5ec -
initial commit
eded2d6