mindformers.models.DeepseekV4ForCausalLM

class mindformers.models.DeepseekV4ForCausalLM[源代码]

Provide DeepseekV4 Model for training and inference. :param config: The config of DeepseekV4 model. :type config: DeepseekV4Config

返回:

Tensor, the loss or logits of the network.

__init__()

Methods

__init__()