From 36864cb3e84f9cdf4b6c1d285b2b7e0174e306e8 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Tue, 29 Aug 2023 13:06:25 -0700 Subject: [PATCH] Use Alpaca as the default instruction template --- modules/shared.py | 2 +- settings-template.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/shared.py b/modules/shared.py index 08e7a881..28481a85 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -55,7 +55,7 @@ settings = { 'name2': 'Assistant', 'context': 'This is a conversation with your Assistant. It is a computer program designed to help you with various tasks such as answering questions, providing recommendations, and helping with decision making. You can ask it anything you want and it will do its best to give you accurate and relevant information.', 'greeting': '', - 'instruction_template': 'None', + 'instruction_template': 'Alpaca', 'chat-instruct_command': 'Continue the chat dialogue below. Write a single reply for the character "<|character|>".\n\n<|prompt|>', 'autoload_model': False, 'default_extensions': ['gallery'], diff --git a/settings-template.yaml b/settings-template.yaml index b2526df1..b819eb39 100644 --- a/settings-template.yaml +++ b/settings-template.yaml @@ -25,7 +25,7 @@ name1: You name2: Assistant context: This is a conversation with your Assistant. It is a computer program designed to help you with various tasks such as answering questions, providing recommendations, and helping with decision making. You can ask it anything you want and it will do its best to give you accurate and relevant information. greeting: '' -instruction_template: None +instruction_template: Alpaca chat-instruct_command: |- Continue the chat dialogue below. Write a single reply for the character "<|character|>".