<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kitanokumo</author_name>
  <author_url>https://blog.hatena.ne.jp/kitanokumo/</author_url>
  <blog_title>studylog/北の雲</blog_title>
  <blog_url>https://studylog.hateblo.jp/</blog_url>
  <categories>
    <anon>nlp</anon>
    <anon>chainer</anon>
  </categories>
  <description>低火力ディープラーニングにつきまとう問題として第一にGPUのメモリ問題がある。 個人で用意できるレベルのハードではとにかく足りない。以下言語モデル構築の話。 wikipediaの1/50コーパスをneologdで分かち書きしたときに語彙は25万ぐらい。 これを全部語彙として採用してChainerのEmbedに投げると6G~8GクラスのGPUだとメモリ不足で学習できない。なので低頻度語として一部を切り捨てる必要がある。 仮に10万を語彙として採用し、それ以外の15万は低頻度として切り捨ててそれらを「低頻度単語()」としてEmbedに専用のIDを一つ付与して学習すると、文出力の時にこうなる。 これ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fstudylog.hateblo.jp%2Fentry%2F2016%2F09%2F26%2F162028&quot; title=&quot;NN言語モデルの低頻度単語とメモリ問題 - studylog/北の雲&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-09-26 16:20:28</published>
  <title>NN言語モデルの低頻度単語とメモリ問題</title>
  <type>rich</type>
  <url>https://studylog.hateblo.jp/entry/2016/09/26/162028</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
