[Llama] remove prompt and fix prefix finetuning (#25565)
* nit * update * make sure use_default_system_prompt is saved * update checkpointing * consistency * use_default_system_prompt for test
This commit is contained in:
@@ -220,7 +220,7 @@ class ConversationalPipelineTests(unittest.TestCase):
|
||||
@require_torch
|
||||
@slow
|
||||
def test_integration_torch_conversation_llama2_input_ids(self):
|
||||
tokenizer = AutoTokenizer.from_pretrained("meta-llama/Llama-2-7b-chat-hf")
|
||||
tokenizer = AutoTokenizer.from_pretrained("meta-llama/Llama-2-7b-chat-hf", use_default_system_prompt=True)
|
||||
|
||||
conversation = Conversation(
|
||||
"What is so great about #1?",
|
||||
|
||||
Reference in New Issue
Block a user