로짓 마스킹 패턴을 설명하기 위해 몇 가지 예제를 제시하겠다. 첫 예제는 단순히 후속 시퀀스
를 선택하기만 하면 되는 간단한 문제로, [그림
2
-
2
]의 단계
1
~
3
만 필요하다. 그다음 예제는
하나 이상의 생성 시퀀스를 역추적한 후 시퀀스를 재생성하는 더 복잡한 문제를 다룬다(단계
1
~
5
가 모두 필요함).
시퀀스 선택
건강 보조제 제품 마케터가 아마존닷컴 같은 오픈마켓 사이트의 제품 판매 페이지에 올릴 제품
설명을 작성해야 한다고 하자. 그런 사이트들은 ‘수상 경력
award
winning
’ 같은 특정 문구를 거부하
는 경향이 있다(
https
://
oreil
.
ly
/
vhYWn
). 대신, 마케터는 검색 엔진 최적화와 웹사이트
트래픽 분석을 통해 제품에 포함하면 좋을 문구 몇 개를 선정해 두었다.
여기서는 마켓킵
MarketKeep
이 구글 애즈 키워드 플래너
Google
Ads
Keyword
Planner
(
https
://
oreil
.
ly
/
OexGg
)를 이용해서 작성한 인기 영양 관련 키워드 목록(
https
://
oreil
.
ly
/
Gv2aV
)을
사용하겠다. 이 예제의 전체 코드는 원서 깃허브 저장소의
0
_
logits
_
masking
.
ipynb
파일에
있다. 해당 코드를 참조하면서 아래의 설명을 따라오기 바란다.
제로샷 학습은 효과 ...
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.