MCPcopy Create free account
hub / github.com/YunwenTechnology/QueryGeneration / __init__

Method __init__

train/modeling.py:17–60  ·  view source on GitHub ↗

Constructs NewsConfig. Args: vocab_size: Vocabulary size of `inputs_ids` in `GroverModel`. hidden_size: Size of the layers num_hidden_layers: Number of hidden layers in the Transformer encoder. num_attention_heads: Number of attention heads for each a

(self,
                 vocab_size,
                 hidden_size=768,
                 num_hidden_layers=12,
                 num_attention_heads=12,
                 intermediate_size=3072,
                 hidden_act="gelu",
                 hidden_dropout_prob=0.1,
                 attention_probs_dropout_prob=0.1,
                 max_position_embeddings=512,
                 initializer_range=0.02)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected