amazon-science / mm-cot

Official implementation for "Multimodal Chain-of-Thought Reasoning in Language Models" (stay tuned and more will be updated)
https://arxiv.org/abs/2302.00923
Apache License 2.0
3.77k stars 309 forks source link

typo in utils.prompt line 104 and 106 #53

Open canornot opened 1 year ago

canornot commented 1 year ago

Original code: elif output_format == 'AL': output = f"Answer: The answer is {answer}. BECAUSE: {solution}" elif output_format == 'AE': output = f"Answer: The answer is {answer}. BECAUSE: {lecture}"

Shall be modified to: elif output_format == 'AL': output = f"Answer: The answer is {answer}. BECAUSE: {lecture}" elif output_format == 'AE': output = f"Answer: The answer is {answer}. BECAUSE: {solution}"

If L means {lecture} and E means {solution}

cooelf commented 11 months ago

Thanks for the revision! That's cool.