Instructions to use textattack/roberta-base-WNLI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use textattack/roberta-base-WNLI with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="textattack/roberta-base-WNLI")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("textattack/roberta-base-WNLI") model = AutoModelForSequenceClassification.from_pretrained("textattack/roberta-base-WNLI", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update config.json
2f0bddf -
Update eval_results_wnli.txt
3a376d5 -
Update special_tokens_map.json
ed3ff82 -
Update tokenizer_config.json
6808f21
-
Update merges.txt
cf7bf1b -
Update vocab.json
2973215 -
Update config.json
50ef521 -
Update eval_results_wnli.txt
f62712d -
Update special_tokens_map.json
e2cfcd6 -
Update tokenizer_config.json
deda344 -
Update merges.txt
eaec460 -
Update vocab.json
3b62371 -
Update config.json
6012c04 -
Update eval_results_wnli.txt
b12e255 -
Update tokenizer_config.json
5b496be -
Update special_tokens_map.json
db7cb61 -
initial commit
c928d9c