Skip to content

Commit

Permalink
Update docs/source/en/model_doc/llava_next.md
Browse files Browse the repository at this point in the history
Co-authored-by: amyeroberts <[email protected]>
  • Loading branch information
zucchini-nlp and amyeroberts authored Jul 17, 2024
1 parent 97b227c commit 0809d57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/en/model_doc/llava_next.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ text_prompt = processor.apply_chat_template(conversation, add_generation_prompt=

# Note that the template simply formats your prompt, you still have to tokenize it and obtain pixel values for your images
print(text_prompt)
>>> "[INST] <image>\nWhat's shown in this image? [/INST] This image shows a red stop sign. [INST] Decsribe the image in more details. [/INST]"
>>> "[INST] <image>\nWhat's shown in this image? [/INST] This image shows a red stop sign. [INST] Describe the image in more details. [/INST]"
```

- If you want to construct a chat prompt yourself, below is a list of possible formats
Expand Down

0 comments on commit 0809d57

Please sign in to comment.