From 3dbd5e0b1d613d80fef3b69c5fec17d9d698f296 Mon Sep 17 00:00:00 2001
From: Jannis Vamvas <jannisnikos.vamvas@uzh.ch>
Date: Tue, 14 May 2024 13:03:07 +0200
Subject: [PATCH] Update utils.py

---
 assignment7/utils.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/assignment7/utils.py b/assignment7/utils.py
index e9cdc5e..19b9c4c 100644
--- a/assignment7/utils.py
+++ b/assignment7/utils.py
@@ -3,11 +3,11 @@ from typing import List
 
 def format_as_chat(message: str, history: List[List[str]]) -> str:
     """
-    Given a message and a history of previous messages, return a string that formats the conversation as a chat.
+    Given a message and a history of previous messages, returns a string that formats the conversation as a chat.
     Uses the format expected by Meta Llama 3 Instruct.
 
     :param message: A string containing the user's most recent message
-    :param history: A list of lists of strings, where each sublist is a conversation turn:
+    :param history: A list of lists of previous messages, where each sublist is a conversation turn:
         [[user_message1, assistant_reply1], [user_message2, assistant_reply2], ...]
     """
     ...  # TODO
-- 
GitLab