histiry -> history
Browse files
README.md
CHANGED
@@ -82,7 +82,7 @@ model = LlavaForConditionalGeneration.from_pretrained(
|
|
82 |
|
83 |
processor = AutoProcessor.from_pretrained(model_id)
|
84 |
|
85 |
-
# Define a chat
|
86 |
# Each value in "content" has to be a list of dicts with types ("text", "image")
|
87 |
conversation = [
|
88 |
{
|
|
|
82 |
|
83 |
processor = AutoProcessor.from_pretrained(model_id)
|
84 |
|
85 |
+
# Define a chat history and use `apply_chat_template` to get correctly formatted prompt
|
86 |
# Each value in "content" has to be a list of dicts with types ("text", "image")
|
87 |
conversation = [
|
88 |
{
|