You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Excuse me, why self.word_embedding_c = nn.Embedding(10, hidden_size)? I do not really understand why is 10.
Thanks for your answering : )
Thanks for asking!
That number actually should be the size of the value set. We map the value to its corresponding index in line 353 of wmseg_model.py. The range of the value index should be [0, 4]. So, using 10 here will be enough to map the index to its embedding.
Excuse me, why self.word_embedding_c = nn.Embedding(10, hidden_size)? I do not really understand why is 10.
Thanks for your answering : )
The text was updated successfully, but these errors were encountered: