Instructions to use textattack/roberta-base-RTE with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use textattack/roberta-base-RTE with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="textattack/roberta-base-RTE")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("textattack/roberta-base-RTE") model = AutoModelForSequenceClassification.from_pretrained("textattack/roberta-base-RTE", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download eval_results_rte.txt from textattack/roberta-base-RTE: direct link, hf CLI and curl.
- Browser
- Download file 73 Bytes
-
https://huggingface.co/textattack/roberta-base-RTE/resolve/5f174004f4797332683eeca57976b1fbb291448c/eval_results_rte.txt
- Command line
-
hf download hf://textattack/roberta-base-RTE@5f174004f4797332683eeca57976b1fbb291448c/eval_results_rte.txt
-
curl -L -o eval_results_rte.txt https://huggingface.co/textattack/roberta-base-RTE/resolve/5f174004f4797332683eeca57976b1fbb291448c/eval_results_rte.txt
73 Bytes
| eval_loss = 0.5666599154472352 | |
| eval_acc = 0.6750902527075813 | |
| epoch = 3.0 | |