opencompass icon indicating copy to clipboard operation
opencompass copied to clipboard

[Feature] 'Add_special_tokens' parameter is needed

Open SefaZeng opened this issue 1 year ago • 1 comments

Describe the feature

As the base models (pre-trained models without sft) do not predict after the EOS token during the pre-train stage, setting the add_special_tokens=True by default is not the right way to evaluate these models' performance. So adding a parameter for this would be good?

Will you implement it?

  • [ ] I would like to implement this feature and create a PR!

SefaZeng avatar Nov 01 '23 09:11 SefaZeng

Good one, but we did not conduct each experiment to compare the differences, it is better that you have some evaluation results that substantiate your issue. BTW, you are welcomed to implement this feature to support add_special_tokens option in model.

yingfhu avatar Nov 01 '23 09:11 yingfhu

Feel free to reopen it if needed

bittersweet1999 avatar Apr 28 '24 16:04 bittersweet1999