CogVideo icon indicating copy to clipboard operation
CogVideo copied to clipboard

About details for evaluation

Open DZY-irene opened this issue 1 year ago • 2 comments

Thanks for your wonderful work! I have two questions about the evaluation:

  1. if I want to directly utilize the pre-trained model for inference, do I need to do a prompt optimization before running cli_demo.py? I checked the pipe.encode_prompt function in cli_demo.py and it doesn't seem to do optimization.
  2. When using VBench for evaluation, do you use a similar prompt optimization function for prompts from VBench?

DZY-irene avatar Aug 14 '24 05:08 DZY-irene

Our prompt optimization is implemented in convert_demo.py, not in cli_demo.py. You can refer to our Gradio demo for guidance on how to operate it. and for VBench yes the optimization is same as convert_demo.py(tested using GLM-4-0520)

zRzRzRzRzRzRzR avatar Aug 14 '24 10:08 zRzRzRzRzRzRzR

Thanks for your reply! I also want to confirm that you use the SAT version for evaluation right?

DZY-irene avatar Aug 15 '24 10:08 DZY-irene

yes

zRzRzRzRzRzRzR avatar Aug 21 '24 16:08 zRzRzRzRzRzRzR

yes

Thanks a lot!

DZY-irene avatar Aug 23 '24 09:08 DZY-irene