From 466c3f9e20d03db4b61ba88a9bd00bfc6c8131c6 Mon Sep 17 00:00:00 2001 From: Harshit Gupta Date: Thu, 14 Nov 2024 20:27:00 -0800 Subject: [PATCH] correct task instruction --- lotus/templates/task_instructions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lotus/templates/task_instructions.py b/lotus/templates/task_instructions.py index 0d8e6667..381853ee 100644 --- a/lotus/templates/task_instructions.py +++ b/lotus/templates/task_instructions.py @@ -35,7 +35,7 @@ def filter_user_message_formatter( if not image_inputs or len(image_inputs) == 0: return { "role": "user", - "content": f"Claim: {user_instruction}\n\nContext:\n{text}", + "content": f"Context:\n{text}\n\nClaim: {user_instruction}", } return { "role": "user",