MCPcopy Create free account
hub / github.com/MorvanZhou/NLP-Tutorials / __init__

Method __init__

pytorch/GPT.py:14–34  ·  view source on GitHub ↗
(self, model_dim, max_len, num_layer, num_head, n_vocab, lr, max_seg=3, drop_rate=0.2,padding_idx=0)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

EncoderClass · 0.90

Tested by

no test coverage detected