Ahmadzei's picture
added 3 more tables for large emb model
5fa1a76
Question answering
For question answering task we can structure the prompt into the following logical components: instructions, context, question, and
the leading word or phrase ("Answer:") to nudge the model to start generating the answer:
thon
torch.manual_seed(4) # doctest: +IGNORE_RESULT
prompt = """Answer the question using the context below.