mirror of
https://github.com/deepseek-ai/Janus.git
synced 2025-02-23 06:08:59 -05:00
Fix: correct typos and formatting issues in README
- Removed duplicate closing </a> tag in the introduction section. - Fixed extra space in the link reference to VLMEvalKit. - Cleaned up redundant hash symbols in code comments. - Added missing periods at the end of sentences for consistency.
This commit is contained in:
parent
a42ad6dab3
commit
45680ae127
@ -17,7 +17,6 @@
|
|||||||
<a href="https://www.deepseek.com/" target="_blank">
|
<a href="https://www.deepseek.com/" target="_blank">
|
||||||
<img alt="Homepage" src="images/badge.svg" />
|
<img alt="Homepage" src="images/badge.svg" />
|
||||||
</a>
|
</a>
|
||||||
</a>
|
|
||||||
<a href="https://huggingface.co/deepseek-ai" target="_blank">
|
<a href="https://huggingface.co/deepseek-ai" target="_blank">
|
||||||
<img alt="Hugging Face" src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-DeepSeek%20AI-ffc107?color=ffc107&logoColor=white" />
|
<img alt="Hugging Face" src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-DeepSeek%20AI-ffc107?color=ffc107&logoColor=white" />
|
||||||
</a>
|
</a>
|
||||||
@ -165,10 +164,10 @@ prepare_inputs = vl_chat_processor(
|
|||||||
conversations=conversation, images=pil_images, force_batchify=True
|
conversations=conversation, images=pil_images, force_batchify=True
|
||||||
).to(vl_gpt.device)
|
).to(vl_gpt.device)
|
||||||
|
|
||||||
# # run image encoder to get the image embeddings
|
# run image encoder to get the image embeddings
|
||||||
inputs_embeds = vl_gpt.prepare_inputs_embeds(**prepare_inputs)
|
inputs_embeds = vl_gpt.prepare_inputs_embeds(**prepare_inputs)
|
||||||
|
|
||||||
# # run the model to get the response
|
# run the model to get the response
|
||||||
outputs = vl_gpt.language_model.generate(
|
outputs = vl_gpt.language_model.generate(
|
||||||
inputs_embeds=inputs_embeds,
|
inputs_embeds=inputs_embeds,
|
||||||
attention_mask=prepare_inputs.attention_mask,
|
attention_mask=prepare_inputs.attention_mask,
|
||||||
|
Loading…
Reference in New Issue
Block a user