h_masked for embedding?
Closed this issue · 1 comments
bryanbocao commented
Hi @dapowan,
One more clarification question: When we only need to generate the embeddings, we set output_embed=True
, and therefore the h_masked
is essentially a h
that is the embedding output without any masking?
Line 171 in a355baa
h
is for masked sequences (which is h_masked
) only when output_embed=False
and masked_pos
is provided.
Line 175 in a355baa
Thanks!
dapowan commented
Yes.