欢迎使用MindFormers
特性
开发实践
模型
任务
API
FAQ
mindformers.models.glm.
GLMChatModel
Provide glm chat capability through network. :param config: The config of GLMModel. :type config: GLMConfig
Tensor, the probability distribution of network loss.
sample
Convert the log_probs to probability