matthewlyleolson
commited on
Commit
•
53252a4
1
Parent(s):
4b76d8b
fix bug in conversation
Browse files
README.md
CHANGED
@@ -54,7 +54,7 @@ processor = LlavaGemmaProcessor(
|
|
54 |
# Prepare inputs
|
55 |
# Use gemma chat template
|
56 |
prompt = processor.tokenizer.apply_chat_template(
|
57 |
-
[{'role': 'user', 'content': "
|
58 |
tokenize=False,
|
59 |
add_generation_prompt=True
|
60 |
)
|
|
|
54 |
# Prepare inputs
|
55 |
# Use gemma chat template
|
56 |
prompt = processor.tokenizer.apply_chat_template(
|
57 |
+
[{'role': 'user', 'content': "<image>\nWhat's the content of the image?"}],
|
58 |
tokenize=False,
|
59 |
add_generation_prompt=True
|
60 |
)
|