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

agentSystem.forward is not working in MMLU task #10

Open
kwangje opened this issue Aug 26, 2024 · 1 comment
Open

agentSystem.forward is not working in MMLU task #10

kwangje opened this issue Aug 26, 2024 · 1 comment

Comments

@kwangje
Copy link

kwangje commented Aug 26, 2024

I'm having an issue where the content of the results is coming out empty. Here is a snippet of the code and result:

The result for task_queue[99] is:

Info(name='task', author='User', content='Answer the following multiple choice question.\n\nWhen a fusion reaction converts a pair of hydrogen isotopes to an alpha particle and a neutron most of the energy released is in the form of\n\n(A) gamma radiation.\n(B) kinetic energy of the alpha particle.\n(C) kinetic energy of the neutron.\n(D) All of these about equally.', iteration_idx=-1)
agentSystem = AgentSystem()

acc_list = []
with ThreadPoolExecutor(max_workers=max_workers) as executor:
    results = list(tqdm(executor.map(agentSystem.forward, task_queue), total=len(task_queue)))

The result for results[0] is:

Info(name='final_answer', author='Self-Critique Agent', content=Info(name='answer', author='Answer Generator y5Cv', content='', iteration_idx=-1), iteration_idx=-1)

The results of the code always show that the content is empty. I am not sure why this is happening.

Could it be that the issue arises because the code implementations for MMLU and other tasks are missing, whereas the AgentSystem class works fine for ARC tasks?

I would appreciate any help you can provide.

@ShengranHu
Copy link
Owner

Hello. Could you provide more context on when this error occurred? If it only happens occasionally during the evaluation of generated agents, this is expected, as generated agents often have bugs.​

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

No branches or pull requests

4 participants
@kwangje @ShengranHu and others