<?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>LLM</anon>
    <anon>Colab</anon>
    <anon>Python</anon>
    <anon>自然言語処理</anon>
  </categories>
  <description>GoogleがOSSとして発表したlangextract。非構造化なテキストから構造化情報を得ることができます。structured outputとかでうまく収得することもできるので、敢えて必要なのかな・・・と思いつつ試してみました。Colabで試してみます。LLMは「Qwen3-4B-Instruct-2507-gguf」を利用します。4Bモデルだとエラー続発・・・なんてことになるのでしょうか。 github.com 少し悩ませたのが、ollamaで利用すると、長文を処理させるとtimeout起因エラーが起きます。調べると、今時点の実装では現状ソースコード弄るしかありませんでした。そこで、m…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbwgift.hatenadiary.jp%2Fentry%2F2025%2F08%2F09%2F232433&quot; title=&quot;Colabとollamaでlangextractをためしてみます。 - 地平線まで行ってくる。&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>2025-08-09 23:24:33</published>
  <title>Colabとollamaでlangextractをためしてみます。</title>
  <type>rich</type>
  <url>https://bwgift.hatenadiary.jp/entry/2025/08/09/232433</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
