where \(g_{\theta}:\mathcal{X}^{N}\rightarrow\mathbf{R}^{h}\) is another parameterized model that computes hidden states, \(\mathbf{W}\) is an \(l\times h\) dimensional matrix (the _embedding projection matrix_), and \(\mathsf{softmax}:\mathbf{R}^{l}\rightarrow[0,1]^{l}\) is the softmax function applied to the resulting _logits_: