Deductive Verification of Chain-of-Thought Reasoning: More Details on Answer Extraction | HackerNoon
Briefly

Firstly, we use a list of regular expressions to identify 'No-Answer' patterns within the text, such as 'we cannot answer (this|the) question'. This process helps us ascertain whether the model can provide a conclusive answer.
If any 'Answer-Split' patterns are found in the text, we divide the text into several blocks using the identified pattern. The last block of text is then utilized for extracting the answer.
Lastly, we use regular expressions to scan the remaining text for possible final answers. If multiple matches are found for the pattern, we select the first match as the final answer.
Read at Hackernoon
[
|
]