プリンキピア

第15章自然言語処理:事前学習

15.6.4. Exercises15.6.4 練習問題

  1. As an example, there are about 3×108 possible 6-grams in English. What is the issue when there are too many subwords? How to address the issue? Hint: refer to the end of Section 3.2 of the fastText paper (Bojanowski et al., 2017).
    英語のヒント
    たとえば、英語にはおよそ3×108通りの6グラムがありうる。サブワードが多すぎると何が問題になるか。その問題にどう対処すればよいか。ヒント:fastTextの論文(Bojanowski et al., 2017)の3.2節の終わりを参照せよ。
  2. How to design a subword embedding model based on the continuous bag-of-words model?
    英語のヒント
    連続バッグオブワーズモデルにもとづいて、サブワード埋め込みモデルをどう設計すればよいか。
  3. To get a vocabulary of size m, how many merging operations are needed when the initial symbol vocabulary size is n?
    英語のヒント
    記号の語彙の最初の大きさがnのとき、大きさmの語彙を得るには、何回の併合操作が必要か。
  4. How to extend the idea of byte pair encoding to extract phrases?
    英語のヒント
    句を抽出するために、バイト対符号化の考え方をどう拡張すればよいか。