Closed prabha-git closed 8 months ago
What is the purpose of the Question & Answer pair in the prompt?
This looks like the main question. What do you mean by it?
Do you mean the first half?
Yes, Q&A pairs in the first half. Not sure about the purpose of these
Question: At My Window was released by which American singer-songwriter?
Answer: John Townes Van Zandt
Question: "Everything Has Changed" is a song from an album released under which record label ?
Answer: Big Machine Records
.....
They teach the model the what form the answers should take. You can disable these by setting max_labeled_demos=0
Ah okay, Thanks for explaining it.
I compiled the module with BootstrapFewshot
I grabbed the final prompt to LM from phoenix trace. What is the purpose of the Question & Answer pair in the prompt? It feels like Q&A pairs in the first half of the prompt should be there. I understand few shot examples in the second half that are coming from the Optimization step.
Final Prompt