문제 해결을 위해 여러 가지 임베딩 모델을 테스트해보다가 구글의 임 베딩 모델은 작업 유형을 선택할 수 있다는 걸 알게 되었습니다. 임베딩 모델을 호출할 때 문서의 경우 [task_Uype: RETRIEVAL_DOCUMENT, 쿼리 의 경우 task_ype: RETRIEVAL_QUBRY과 같은 형태로 옵션을 넘겨 해당 작업에 최적화된 형태로 임베딩을 만들어냈습니다. 위 옵션을 지정하고 다른 임베딩 모델들과 비교하자 훨씬 좋은 결과를 얻었습니다.

요즘 당근 AI 개발

0

If you have a fediverse account, you can quote this note from your own instance. Search https://social.long-echo.net/@ysh/019a0756-9412-75f6-bf88-c45dfa1a6aa8 on your instance and quote it. (Note that quoting is not supported in Mastodon.)