Open EricPaul03 opened 6 months ago
Hello, can you tell me a detailed representation of introducing a mask into the attention mechanism, which can be understood as (QK ^ T mask) V? Can mask be directly multiplied with K or V first?
Hello, can you tell me a detailed representation of introducing a mask into the attention mechanism, which can be understood as (QK ^ T mask) V? Can mask be directly multiplied with K or V first?