mindspore_gs.ptq.MFLlama2Helper

View Source On Gitee
class mindspore_gs.ptq.MFLlama2Helper(config: MindFormerConfig = None)[source]

Derived from 'NetworkHelper', a utility class for the MindFormers framework Llama2 network.

Parameters

config (MindFormerConfig) – MindFormerConfig for network.

Raises

TypeError – If input config is not an instance of MindFormerConfig.