fast-LayerNorm-TF
fast-LayerNorm-TF copied to clipboard
Language Modelling
Hi, I'm interested in using this for a language model, which will need more than 5120 in the last dimension, how would I go about expanding this limit?
You can change the hyper parameters of the model. They currently are:
embedding_dimension = 1024 num_layers = 3 rnn_dim = 2048
Just increase the values and that should do it. Note however that the memory of your graphic card may be the bottleneck.
Do you mean in the model that I perform the layer norm on, so I don't need to change any of this code?
Sorry @hoagy-davis-digges I confused your message, I thought you were asking about one language model that I built.
On the layernorm model, unfortunately, cannot comment.