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:
# 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 tokenizer_config.json from textattack/facebook-bart-base-RTE: direct link, hf CLI and curl.
- Browser
- Download file 26 Bytes
-
https://huggingface.co/textattack/facebook-bart-base-RTE/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://textattack/facebook-bart-base-RTE/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/textattack/facebook-bart-base-RTE/resolve/main/tokenizer_config.json
26 Bytes
| {"model_max_length": 1024} |