 model prediction question_answer_pairs = model.generate_qa("William Turner was an English painter who specialised in watercolour landscapes")  ```  - With `transformers` ```python from transformers import pipeline  pipe = pipeline("text2text-generation", "lmqg/t5-base-squad-qg-ae")  