一些研究表明perplexity并不是一个好的指标,所以一般我用coherence来评价模型并选择最优主题,但下面代码两种方法我都用了。 #计算困惑度 def perplexity ...
確定! 回上一頁