microsoft / LLaVA-Med

Large Language-and-Vision Assistant for Biomedicine, built towards multimodal GPT-4 level capabilities.
Other
1.58k stars 201 forks source link

Update conversation.py #89

Open Rickylht opened 3 months ago

Rickylht commented 3 months ago

Replace sep="" as sep="<s>" Otherwise, the model will wrongly process the seperation token. It will regard the blank space as stop token and only output one token each time during inferece. After change, the model outputs correctly. image