<?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>BERT</anon>
    <anon>Python</anon>
    <anon>お勉強</anon>
    <anon>自然言語処理</anon>
  </categories>
  <description>固有表現抽出(NER)タスクを続けていきます。gpt-5.xやgemini xにやらせればいいといわれますが、その通りです。一方で、ローカルLLMモデルを利用してLoRAで学習させても思いの他、精度を上げるのは大変でした。 という訳で、modernBERTという優秀でお手軽なencoder系モデルを引き続き取り扱います。 以前の検討と今回の流れ bwgift.hatenadiary.jp この検討の時には後はTokenizerとしてsudachiを入れていけば良いのかなと漠然と思っていました。現に味見の時にはそういう印象を持つ結果となっていました。しかし、意外とうまく行きません。そこで、仮想境…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbwgift.hatenadiary.jp%2Fentry%2F2026%2F02%2F07%2F152904&quot; title=&quot;modernBERTでNER。境界意識型学習とSpanを入れ込んでみる。 - 地平線まで行ってくる。&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>2026-02-07 15:29:04</published>
  <title>modernBERTでNER。境界意識型学習とSpanを入れ込んでみる。</title>
  <type>rich</type>
  <url>https://bwgift.hatenadiary.jp/entry/2026/02/07/152904</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
