How to use this model directly from the
from transformers import AutoTokenizer, AutoModelWithLMHead tokenizer = AutoTokenizer.from_pretrained("textattack/facebook-bart-base-glue-RTE") model = AutoModelWithLMHead.from_pretrained("textattack/facebook-bart-base-glue-RTE")
Since this was a classification task, the model was trained with a cross-entropy loss function. The best score the model achieved on this task was 0.7256317689530686, as measured by the eval set accuracy, found after 4 epochs.
For more information, check out TextAttack on Github.