이야기의 다음 문장을 추천할 시스템을 원한다. 또한 텍스트 생성 기술의 한계를 인식해야 한
다. 사용자 또한 이 시스템에 포함시켜야 한다.관련 텍스트를 생성하는 모델과 출력을 검토하
는 시스템이 필요하다.
15.1.2
제약 조건
먼저, 이전 문장과 현재 문장이라는 문맥의 두 가지 개념을 가지는 모델이 필요하다. 사람과 상
호작용을 하므로 성능에 크게 신경 쓸 필요는 없다. 대부분의 대화형 시스템은 대기 시간
latency
이 상당히 짧은 만큼 직관적으로 보이지 않을 수 있다. 그러나 이 프로그램이 생성하는 내용을
고려한다면
1
~
3
초 정도 응답을 기다려야 한다.
15.1.3
문제 해결
4
장과
8
장에서 논의한 바와 같이 텍스트, 특히
RNN
을 생성하는 신경망을 구축할 것이다. 이
모델에서 단어 임베딩을 학습할 수도 있지만, 대신 미리 구축된
임베딩
을 사용할 수도 있다. 이
렇게 하면 모델을 더 빨리 학습할 수 있다.
15.2
프로젝트 계획
이 프로젝트의 대부분 작업은 모델을 개발하는 일이다. 모델이 생성되면 그림 스타일
Grimm
-
style
의 동화를 작성하는 데 쓸 수 있는 간단한 스크립트를 작성한다. 일단 이 스크립트를 개발
하고 나면 이 모델은 잠재적으로 트위터봇
Twitter
bot
이나 슬랙봇
Slackbot
을 구동하는 데 쓰일 수
있다.
텍스트 생성을 위한 실제 환경 설정에서 생성된 텍스트의 품질을 모니터링하고자 한다. 이렇게
하면 시간이 지남에 따라 더 많은 대상 학습 데이터를 개발함으로써 ...
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.