Generation parameters problem

#3
by hxypqr - opened

Hi there, thanks for your demo first! I'm having difficulty reproducing such good results with these settings. Could you please explain the purpose of these parameters and how they are used?

My parameters are:

gen_params = {
"max_new_tokens": 512,
"temperature": 0.7,
"top_k": 50,
"top_p": 0.95
}

However, the results are not very good. Generally speaking, the center of the bounding box is not as accurate as yours, and the bounding box is often larger. Thank you in advance.

Owner

Hi, Im using the default values which seem to be
"temperature": 0.1,
"top_p": 0.001,
"top_k": 1,
and have been updated recently to
"temperature": 0.01,
"top_p": 0.001,
"top_k": 1,
see https://huggingface.co/Qwen/Qwen2-VL-7B-Instruct/blob/main/generation_config.json

Have you tried with similar values?

Sign up or log in to comment