언어 모델을 논의하면서 텍스트를 어떻게 생성할 수 있는지 살펴보았다. 챗봇을 만드는 것 역
시 우리가 대화를 모델링한다는 점을 제외하면 그와 비슷하다. 이는 우리가 문제에 접근하는
방식에 따라 요구 사항이 더 복잡해지거나 실제로 더 단순해지도록 만든다.
15
장에서는 이러한 모델을 모델링할 수 있는 몇 가지 방법을 논의한 뒤에 생성 모델을 사용하
여 응답을 생성하는 프로그램을 구축한다. 그럼 먼저 담화
discourse
가 무엇인지 이야기해보자.
형태론
morphology
과 구문론
syntax
은 형태소가 단어로, 단어가 구와 문장으로 결합되는 방법을 알
려준다. 더 큰 언어 행위로 문장을 결합하는 모델링은 쉽지 않다. 여기 부적절한 문장 조합에
관한 아이디어가 있다고 가정하고 몇 가지 예를 살펴보자.
①
I
went
to
the
doctor
,
yesterday
.
It
is
just
a
sprained
ankle
(나는 어제 의사에게 갔다. 단지 발목을
삐었을 뿐이다).
②
I
went
to
the
doctor
,
yesterday
.
Mosquitoes
have
47
teeth
(나는 어제 의사에게 갔다. 모기는
47
개의 이빨을 가지고 있다).
여기서 ①의 두 번째 문장은 분명히 첫 번째 문장과 관련이 있다. 상식적으로 ...
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.