Update README.md
Browse files
README.md
CHANGED
@@ -65,8 +65,8 @@ def generate_response(role_instruction, conversation_history, new_conversation):
|
|
65 |
if n + MAX_ASSISTANT_LENGTH <= MAX_INPUT_LENGTH:
|
66 |
break
|
67 |
else:
|
68 |
-
conversation_history.pop()
|
69 |
-
conversation_history.pop()
|
70 |
|
71 |
with torch.no_grad():
|
72 |
output_ids = model.generate(
|
|
|
65 |
if n + MAX_ASSISTANT_LENGTH <= MAX_INPUT_LENGTH:
|
66 |
break
|
67 |
else:
|
68 |
+
conversation_history.pop(0)
|
69 |
+
conversation_history.pop(0)
|
70 |
|
71 |
with torch.no_grad():
|
72 |
output_ids = model.generate(
|