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:
戴福生 2025-01-28 00:49:28 +07:00 committed by GitHub
parent a42ad6dab3
commit 45680ae127
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,