Sailesh Panda commited on
Commit ·
8855871
1
Parent(s): 2433662
Experimenting
Browse files- modeling_hinvec.py +0 -4
modeling_hinvec.py
CHANGED
|
@@ -278,10 +278,6 @@ class HinvecAttention(nn.Module):
|
|
| 278 |
|
| 279 |
attn = (attention_mask < 0)*torch.finfo(query_vectors.dtype).min
|
| 280 |
attn = attn[:, None, :, None].expand(-1, 1, attn.size(1), attn.size(1))
|
| 281 |
-
print(query_vectors.shape)
|
| 282 |
-
print(key_vectors.shape)
|
| 283 |
-
print(value_vectors.shape)
|
| 284 |
-
print("#"*10)
|
| 285 |
attn_output, attn_weights = attention_interface(
|
| 286 |
self,
|
| 287 |
query_vectors,
|
|
|
|
| 278 |
|
| 279 |
attn = (attention_mask < 0)*torch.finfo(query_vectors.dtype).min
|
| 280 |
attn = attn[:, None, :, None].expand(-1, 1, attn.size(1), attn.size(1))
|
|
|
|
|
|
|
|
|
|
|
|
|
| 281 |
attn_output, attn_weights = attention_interface(
|
| 282 |
self,
|
| 283 |
query_vectors,
|