Instructions to use textattack/facebook-bart-base-RTE with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use textattack/facebook-bart-base-RTE with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("textattack/facebook-bart-base-RTE") model = AutoModelForSeq2SeqLM.from_pretrained("textattack/facebook-bart-base-RTE", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download vocab.json from textattack/facebook-bart-base-RTE: direct link, hf CLI and curl.
- Browser
- Download file 899 kB
-
https://huggingface.co/textattack/facebook-bart-base-RTE/resolve/refs%2Fpr%2F1/vocab.json
- Command line
-
hf download hf://textattack/facebook-bart-base-RTE@refs/pr/1/vocab.json
-
curl -L -o vocab.json https://huggingface.co/textattack/facebook-bart-base-RTE/resolve/refs%2Fpr%2F1/vocab.json
899 kB
File too large to display, you can check the raw version instead.