modelzoo.transformers.pytorch.gpt2.utils#

Functions

set_attention_params

Set attention related params :param params: model_params :return:

set_defaults

Update any missing parameters in the params dictionary with default values