from sentence_transformers import SentenceTransformer from transformers import pipeline model = SentenceTransformer("paraphrase-MiniLM-L6-v2") qa_pipeline = pipeline("question-answering", model="deepset/roberta-base-squad2")