Project

General

Profile

Task #3711

Tweaks to Question Answering Colab

Added by Ram Kordale 3 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Urgent
Assignee:
Start date:
08/22/2024
Due date:
% Done:

100%

Estimated time:
1.20 h

Description

Colab: https://colab.research.google.com/drive/14N0bH9RBm9lO28EuLXegA1BUzh4hDfXX

Fixes should work for all exercise problems in chapter 1. So, it does not need support for figures in question and answer.
o detailed questions and answers are obtained in the following format: \n %%---%%---%%%###Question: <Detailed Question 1>\n ###Answer: <Detailed Question 1's Answer>###Concept:<Concept in provided text>\n ###Question: <Detailed Question 2> \n ###Answer: <Detailed Question 2's Answer> ###Concept:<Concept in provided text>\n...\n%%%---%%%---%%%
o Construct DetailedQNAs by ignoring delimiters and Concept field
o Construct Detailed Answer field as “Question: <Detailed Question 1>\nAnswer: <Detailed Question 1's Answer>\n\n Question: <Detailed Question 2> \n Answer: <Detailed Question 2's Answer> and so on.
o If we do not get at least 4 detailed questions, try again. if the same thing happens, try one more time. If the same thing happens, stop execution.
o if we get text containing $$$-$$$, try just one more time. If the same thing happens, stop execution.

Also available in: Atom PDF