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