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
Can we speed up the construction of poly_code_embeddings by using nn.Parameters? In this way, we don't need to create poly_ids and move it to GPU in every batches.
Thanks for your reply!
The text was updated successfully, but these errors were encountered:
Hi @chijames, thanks so much for this wonderful project!
After digging into the code, I have two questions:
Is there any special reason why masking is not implemented in this section?
Poly-Encoder/encoder.py
Lines 72 to 78 in e5299e3
Can we speed up the construction of
poly_code_embeddings
by usingnn.Parameters
? In this way, we don't need to createpoly_ids
and move it to GPU in every batches.Thanks for your reply!
The text was updated successfully, but these errors were encountered: