LLaVA icon indicating copy to clipboard operation
LLaVA copied to clipboard

repetition penalty

Open SuXuping opened this issue 1 year ago • 2 comments

Question

when i try to use repetition_penalty to avoid repeat answer, i met this error "cuda error:device-side assert triggered". After my debug, i found that the input_ids include -200 which is default image token. i guess this is the reason of this " cuda error:device-side assert triggered". can you fix this error?

SuXuping avatar Nov 21 '23 08:11 SuXuping

Hello,have you solved this problem? I also encountered the problem of repeated responses after fine-tuning the model.

Jeckinchen avatar Mar 19 '24 02:03 Jeckinchen

I had the same error after set repetition_penalty > 0

redscv avatar May 12 '24 06:05 redscv

I have also encountered this issue. Who can solve it?

LanYu4qz avatar Jun 03 '24 00:06 LanYu4qz

I have also encountered this issue. Who can solve it? change -200 to a new positive num

SuXuping avatar Jun 03 '24 01:06 SuXuping

I have also encountered this issue. Who can solve it? change -200 to a new positive num

Could you give me some guidance on how to do it specifically?

LanYu4qz avatar Jun 03 '24 07:06 LanYu4qz

same here

zhangsha1024 avatar Jun 11 '24 06:06 zhangsha1024