プリンキピア

第16章自然言語処理:応用

16.6.6. Exercises16.6.6 練習問題

  1. Let’s design a search engine algorithm for news articles. When the system receives an query (e.g., “oil industry during the coronavirus outbreak”), it should return a ranked list of news articles that are most relevant to the query. Suppose that we have a huge pool of news articles and a large number of queries. To simplify the problem, suppose that the most relevant article has been labeled for each query. How can we apply negative sampling (see Section 15.2.1) and BERT in the algorithm design?
    英語のヒント
    ニュース記事のための検索エンジンのアルゴリズムを設計しよう。システムがクエリ(たとえば「oil industry during the coronavirus outbreak」(コロナウイルス流行期の石油産業))を受け取ったら、そのクエリに最も関連するニュース記事を順位づけしたリストを返すべきである。ニュース記事の巨大な蓄積と多数のクエリがあるとしよう。問題を簡単にするため、各クエリについて最も関連する記事にラベルがつけられているとする。アルゴリズムの設計で、負例サンプリング(15.2.1節を参照)とBERTをどう当てはめられるか。
  2. How can we leverage BERT in training language models?
    英語のヒント
    言語モデルの訓練にBERTをどう活用できるか。
  3. Can we leverage BERT in machine translation?
    英語のヒント
    機械翻訳にBERTを活用できるか。