의를 던지면서 두 방식의 응답 품질을 비교해 보세요. 어떤 유형의 질의에서 크로스 인코더 방식
이 명확하게 더 나은 성능을 보이나요?
다음으로 몇 가지 고급 리랭커 기법을 살펴보겠습니다.
질의
가능도
모델
(QLM)
질의 가능도 모델
query
likelihood
model
(
QLM
)은 후보 문서를 입력으로 주었을 때 질의가 생성될 확
률을 추정합니다.
LLM
을
QLM
으로 다룰 수 있으며, 제로샷 능력을 활용해 질의 토큰 확률을
기반으로 후보 문서들의 순위를 매길 수 있습니다. 또는
LLM
을 질의 생성 작업에 파인 튜닝해
더 효과적인
QLM
으로 만들 수도 있습니다.
QLM
의 일반적인 프롬프트는 다음과 같습니다.
주어진 문서 <문서 내용>와 가장 관련성이 높은 질문을 생성하세요.
검색 단계에서 질의와 관련된 상위
k
개 문서를 가져와 각 문서를 이 프롬프트와 함께
LLM
에
입력합니다. 다음으로 모델 로짓을 사용해 질의 토큰의 가능도
likelihood
가 계산됩니다. 문서들은
가능도에 따라 정렬되어 관련성 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.
O’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
I wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
I’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
I'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.