<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>raishi12</author_name>
  <author_url>https://blog.hatena.ne.jp/raishi12/</author_url>
  <blog_title>raishi12’s diary</blog_title>
  <blog_url>https://raishi12.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>書いてる理由 NLPやるぞー レビューがポジティブかネガティブかを判断する 参考 pytorchによる発展ディープラーニング 概要 IMDbという映画のレビューのテキスト(英語)を使って、テキストがポジティブかネガティブかを判定するためのモデルを作る。ためのデータの準備。 学習するのに必要な形式では入っていないので、学習できるように整形していく。 例えば、レビューには、とかの改行コードや!とか?などの記号が入っているので、これらを削除する前処理をする。 などなど。 ちなみに、前回まで日本語のデータで説明してたのにいきなり英語のデータになるのはすません。日本語のレビューデータ持って来ればいいんだ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fraishi12.hatenablog.com%2Fentry%2F2020%2F03%2F25%2F012134&quot; title=&quot;Pytorchでtransformer(その0 IMBd datasetの準備) - raishi12’s diary&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>2020-03-25 01:21:34</published>
  <title>Pytorchでtransformer(その0 IMBd datasetの準備)</title>
  <type>rich</type>
  <url>https://raishi12.hatenablog.com/entry/2020/03/25/012134</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
