Comments (2)
@kimjisung78 님 날카로운 지적 감사합니다. 검토 결과 해당 부분은 오타가 맞습니다. 다음은 검토 결과입니다.
우선 8-3절 전체를 관통하는 예제는 다음과 같습니다(그림 8-5).
이를 바탕으로 한다면 그림 8-8과 237페이지 설명은 다음과 같이 정정되어야 할 것 같습니다(그림은 이미 수정된 결과이며 텍스트 수정 내용은 볼드 표시)
그런데 샘플링(sampling)이라는 방식도 있습니다. 샘플링 방식 예를 든 다음 그림을 보면 그라는 컨텍스트를 입력했을 때 모델은 다음 토큰으로 책(0.5), 집(0.4), 사람(0.1)이 그럴듯하다고 예측했습니다. 여기에서 다음 토큰을 확률적으로 선택합니다. 책이 선택될 가능성이 50%로 제일 크고 사람이 선택될 가능성도 10%로 작지만 없지 않습니다. 복권 당첨 확률이 아주 낮지만 당첨되는 사람이 나오는 것과 비슷합니다.
말씀주신 그림 8-11과 240페이지 설명은 다음과 같이 정정되어야 합니다(그림은 이미 수정된 결과이며 텍스트 수정은 없음)
다음 그림은 그림 8-5에서 템퍼러처 스케일링을 적용한 예시입니다. 원래대로(그림 8-5)라면 그 다음 토큰 확률은 각각 책(0.5), 집(0.4), 사람(0.1)이었습니다. 템퍼러처 스케일링을 적용한 결과 그 확률이 책(0.75), 집(0.23), 사람(0.02)으로 바뀌었습니다. 마찬가지로 그 책 다음 토큰 확률도 각각 이(0.4), 을(0.3), 읽(0.3)에서 이(0.6), 을(0.2), 읽(0.2)으로 바뀌었습니다. 순위는 변하지 않았지만 원래 컸던 확률은 더 커지고, 작았던 확률은 더 작아져 확률 분포의 모양이 뾰족(sharp)해졌음을 알 수 있습니다.
from nlpbook.
제가 순간 잘못 이해한 줄 알았습니다. 해당 부분은 다음 쇄에 반영해주시면 좋을 것 같습니다. 집필하신 블로그와 책 덕분에 많이 공부 해왔고, 덕분에 많은 부분 이해가 되어 감사합니다.
from nlpbook.
Related Issues (20)
- Question Answering - ratsgo's NLPBOOK
- Inference - ratsgo's NLPBOOK
- ↗️ Customization - ratsgo's NLPBOOK
- 4-3 마지막 웹서비스 개시에서 실행이 되지 않습니다 HOT 3
- Inference (1) - ratsgo's NLPBOOK
- Deep NLP - ratsgo's NLPBOOK
- 6장 단어에 꼬리표 달기에 대해서 질문 있습니다.
- 1장 kcbert 관련 오류 문의드립니다.
- Environment - ratsgo's NLPBOOK
- Training Pipeline - ratsgo's NLPBOOK
- 4-3 웹서비스 시작하기 HOT 2
- 5-3 학습 마친 모델 실전 투입에서 웹서비스 실행시 ERR_NGROK_6022 이 뜨네요.ㅠ.ㅠ HOT 2
- ratsnlp 라이브러리를 설치하지 않고 일반적인 패키지를 설치하는 방법은 없을까요? HOT 1
- Home - ratsgo's NLPBOOK
- Named Entity Recognition - ratsgo's NLPBOOK
- removal request
- P150 웹 서비스 시작하기가 (기존 해결책대로 했는데도) 에러가 납니다.
- 커스텀 데이터_분류_레이블별 성능체크 방법
- Vocab Tutorial - ratsgo's NLPBOOK
- 4장 5단계 웹서비스 시작하기 관련 질문 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nlpbook.