airockchip / rknn-llm

Other
258 stars 26 forks source link

LLM models have bad output #46

Open kalous12 opened 2 months ago

kalous12 commented 2 months ago

This is my models Qwen1.5-0.5B the models website is https://huggingface.co/Qwen/Qwen1.5-0.5B

图片

I have to use this to convert rkllm,the convert output is : 图片

my program printf is 图片

when i run the model it give me so werid answer,such as : 图片 图片 图片 图片 图片 图片

fydeos-alex commented 2 months ago

Reasonable output. It's a 0.5B model!!! 😆

kalous12 commented 2 months ago

Reasonable output. It's a 0.5B model!!! 😆

no i have tried Qwen 1.8B MiniCPM 2B and TinyLLAMA 1.1B They all have bad output. such a sad thing

lzz773751548 commented 2 months ago

Are you using the correct prompt?

fydeos-alex commented 2 months ago

Well, there could be something wrong with your model convert because Qwen 1.8B's response is much better and fluent. However, you should not count on the small language model to answer your question as GPT does.

kalous12 commented 2 months ago

Are you using the correct prompt?

I use the default prompt,i have no chage in main.cpp , but there have some werid thing when i first use main.cpp. I complie main.cpp and I run it,It can not run and it print the env have no opencl library(the defaullt set "use_gpu=false") I download the libmali library and soft link to the opencl library.main.cpp can run and have some werid output. I have tried rknn-llm(v1.0.0) and it can run so well.So that make me so werid!!

kalous12 commented 2 months ago

Well, there could be something wrong with your model convert because Qwen 1.8B's response is much better and fluent. However, you should not count on the small language model to answer your question as GPT does.

can you try to convert qwen_0.5 and run it or share the Qwen 1.8B which you convert with me

fydeos-alex commented 2 months ago

I am sorry, but I am still using the version v1.0.0. I will try the new version later and share the latest information with you.

kalous12 commented 2 months ago

thank you, waiting for your good news

SunAriesCN commented 2 months ago

The latest version Qwen-1.8B can output right answer with the example codes. image