<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bwgift</author_name>
  <author_url>https://blog.hatena.ne.jp/bwgift/</author_url>
  <blog_title>地平線まで行ってくる。</blog_title>
  <blog_url>https://bwgift.hatenadiary.jp/</blog_url>
  <categories>
    <anon>Colaboratory</anon>
    <anon>LLM</anon>
    <anon>Python</anon>
    <anon>自然言語処理</anon>
  </categories>
  <description>長文生成が可能で9Bの動作させやすいモデルのlongwriter-glm4-9bをColab有料のL4で動作をさせました。１万文字以上となれば、もう本や論文が一気に生成できるレベルですね。 huggingface.co github.com 例に倣って日本語の観光案内を書かせました。これが一気に出力できるというのは楽しいです。長文だとColabL4環境だと1時間半かかったりします。試しに、wikipediaの三国志（吉川英治）の目次を使ってストーリーを生成しました。他の要素を盛り込んでプロンプトを挙げても途中、三国志の本来のストーリーと世界観が強くなりました。学習データにも入っていると思われま…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbwgift.hatenadiary.jp%2Fentry%2F2024%2F08%2F16%2F112103&quot; title=&quot;長文生成が可能なlongwriter-glm4-9bをColabで - 地平線まで行ってくる。&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>2024-08-16 11:21:03</published>
  <title>長文生成が可能なlongwriter-glm4-9bをColabで</title>
  <type>rich</type>
  <url>https://bwgift.hatenadiary.jp/entry/2024/08/16/112103</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
