第15章自然言語処理:事前学習
15.4.5. Exercises15.4.5 練習問題
- Using the trained model, find semantically similar words for other input words. Can you improve the results by tuning hyperparameters?
英語のヒント
訓練したモデルを使って、ほかの入力単語に意味の似た単語を見つけよ。ハイパーパラメータを調整して結果を改善できるか。 - When a training corpus is huge, we often sample context words and noise words for the center words in the current minibatch when updating model parameters. In other words, the same center word may have different context words or noise words in different training epochs. What are the benefits of this method? Try to implement this training method.
英語のヒント
訓練コーパスがとても大きいときは、モデルのパラメータを更新するときに、現在のミニバッチの中心語について文脈語とノイズ語を抜き出すことが多い。言い換えると、同じ中心語でも、訓練のエポックが違えば文脈語やノイズ語が異なることがある。この方法の利点は何か。この訓練方法を実装してみよ。