modelzoo.transformers.pytorch.gptj.model.GptjModel#

class modelzoo.transformers.pytorch.gptj.model.GptjModel[source]#

Bases: torch.nn.Module

GPT-2 models

Methods

build_model

forward

__call__(*args: Any, **kwargs: Any) Any#

Call self as a function.

__init__(params)[source]#
static __new__(cls, *args: Any, **kwargs: Any) Any#