histiry -> history (#45)
Browse files- histiry -> history (cf998cf29fc27c537a92661b28cfca3bd8324be8)
Co-authored-by: ben <yahya007@users.noreply.huggingface.co>
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 |
{
|