Open wotulong opened 2 years ago
GPT2 推理怎么使用beam_search,并同时输出多个结果呢?有参考代码么?谢谢!
Lightseq doesn't support gpt2 with beam search currently, you can try topk sampling and topp sampling.
GPT2 推理怎么使用beam_search,并同时输出多个结果呢?有参考代码么?谢谢!