ah so that notebook is about T5 which does support question-answering via it’s special text2text formulation. perhaps a better question from me would be: what specific task are you trying to solve?
if you want to use BART, my suggestion would to see if one of the checkpoints on the hub is compatible with the tutorial i linked to earlier