LanguagePerplexity# class composer.metrics.LanguagePerplexity(dist_sync_on_step=False, ignore_index=- 100)[source]# Subclasses LanguageCrossEntropy to implement perplexity. compute()[source]# Returns torch.exp() of the LanguageCrossEntropy.