minGPT icon indicating copy to clipboard operation
minGPT copied to clipboard

Stop words?

Open BoyuanJackChen opened this issue 2 years ago • 0 comments

I realize that there isn't an implementation of stop words in the code yet, so the generation will go all the way till it reaches max length. Any idea how to add stop words in the generation process without fine-tuning the pretrained models?

BoyuanJackChen avatar Jan 11 '23 16:01 BoyuanJackChen