Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to add tasks with requests based on the answers for the previous requests? #1432

Open
artemorloff opened this issue Feb 16, 2024 · 1 comment · May be fixed by #1571
Open

how to add tasks with requests based on the answers for the previous requests? #1432

artemorloff opened this issue Feb 16, 2024 · 1 comment · May be fixed by #1571

Comments

@artemorloff
Copy link
Contributor

I have a task that I want to add. The task is about answering binary questions. The only difference from other tasks is that the second question requires knowing the response for the first one. I use loglikelihood strategy, so I pass two possible continuations and for question 1 I decide on the answer of the model based on output log-probs of these continuations. Then a put this question and the model answer into the prompt for the next question. Like storing history of model answering on questions. Each time I pass into the model the question and all previously answered questions with answers the model considered more probable.

Is there a way to implement such a task without adding any code outside task.py or task.yaml?

@uanu2002
Copy link
Contributor

I have similar problem when i implement GPQA with CoT.In the paper, CoT needs to obtain the output of the first model first and add it to the prompt as the final prompt. The details are as follows:
1

@artemorloff artemorloff linked a pull request Mar 13, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants