페이지

2025년 6월 26일 목요일

[트랜스포머 이해] Attention 함수

Attention 함수 정의

3.2Attention

An attention function can be described as mapping a query and a set of key-value pairs to an output, where the query, keys, values, and output are all vectors. The output is computed as a weighted sum of the values, where the weight assigned to each value is computed by a compatibility function of the query with the corresponding key.

Attention 함수 비유



댓글 없음:

댓글 쓰기

[트랜스포머 이해] Attention 함수

Attention 함수 정의 3.2Attention An attention function can be described as mapping a query and a set of key-value pairs to an output, where the ...