/ Модель

Характеристики

Контекст
4 096 токенов
Параметры
345 млн
Лицензия
Apache 2.0
Архитектура
llama · dense
Базовая модель
llm-jp-3-440m
Библиотека
transformers
Опубликована
27 сен 2026

llm-jp-3-440m-jp-gov-v0.2

Генерация текстаТекст → текст3 профессии

Компактная японская модель продолжения текста, дообученная для определения префектуры по названию муниципалитета Японии.

852скачиваний за 30 дней0лайковвеса обновлены28 сен 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

yuiseki/llm-jp-3-440m-jp-gov-v0.2 — компактная авторегрессионная модель семейства Llama, дообученная yuiseki на базе llm-jp/llm-jp-3-440m. Она предназначена для короткого японского продолжения названия муниципалитета, чтобы определить, в какой префектуре Японии он находится. Модель содержит 345,2 млн параметров, использует Transformers и принимает контекст до 4096 токенов.

По описанным испытаниям, после подсказки вида «当別町は» модель верно завершала 71,5% названий муниципалитетов, отложенных из обучающего корпуса; на примере обученных названий точность составила 97,2%. Она также справляется с формулировками, прямо спрашивающими о префектуре, но создана для завершения текста, а не для диалога.

Модель лучше работает с японскими названиями: для тех же названий в романизации README сообщает точность лишь 16%. Она плохо подходит для длинных инструкций и структурированных ответов; на описанном тесте такого формата не выдала требуемой строки ни в одном из 36 случаев. Лицензия — Apache-2.0.

Сценарии применения

  • определение префектуры Японии по японскому названию муниципалитета
  • автодополнение фразы с названием японского населённого пункта
  • сопоставление японских муниципалитетов с префектурами в геоданных

Ограничения

Модель рассчитана на короткие японские продолжения: романизированные названия распознаёт значительно хуже, а длинные инструкции и структурированные ответы обрабатывает плохо. Это не чат-модель и не модель с инструкционной настройкой.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

llm-jp-3-440m-jp-gov-v0.2

llm-jp-3-440m, continued on 1,632 facts about which prefecture each of Japan's municipalities is in, each said eight ways. 106,948 tokens, six passes, 41 seconds on an A100.

The base model already answers 91% of these when asked as a question, and 86% when the sentence names what it wants. What it could not do was answer a bare 「当別町は」, which invites a paragraph about the town's population rather than its prefecture. This model completes that sentence, and it does so for the one municipality in ten that was held out of the corpus entirely.

from transformers import AutoModelForCausalLM, AutoTokenizer

name = "yuiseki/llm-jp-3-440m-jp-gov-v0.2"
tok = AutoTokenizer.from_pretrained(name)
model = AutoModelForCausalLM.from_pretrained(name)

ids = tok("当別町は", return_tensors="pt")
print(tok.decode(model.generate(**ids, max_new_tokens=16, do_sample=False)[0]))
# 当別町は北海道に含まれる。

A completion, not a chat.

What six passes did

Chance is 2.1%: the answer is one of 47 prefectures. The held-out half is one municipality in ten, chosen by the sha256 of its own code, and written nowhere in the corpus.

askedbasethis
「当別町は」, taught half26.0%97.2%
「当別町は」, held-out half29.1%71.5%
「当別町が属する都道府県は」72.5%96.5%
「当別町の位置する都道府県名は」86.0%96.5%
「Q: 当別町は何県にありますか。A:」, taught91.5%98.0%
「Q: 当別町は何県にありますか。A:」, held-out90.5%83.5%
「Tobetsu-choは」7.0%16.0%
「北海道の市区町村のひとつが」95.7%100.0%

Rows three, four and seven are wordings that appear nowhere in the corpus. Row eight asks for the mapping backwards, and all 47 prefectures now get a municipality that is really in them.

Two things in this table are worth reading carefully.

The base was never short of the knowledge, and was not even short of a way to say it: given a sentence that names what it wants, it manages 86%. What it could not do was treat a bare 「Xは」 as that question. Six passes make the bare form work and raise the already-working forms into the high nineties.

The held-out half of the bare form rose 42 points, from 29.1% to 71.5%. Those place names are written nowhere in the corpus. What transferred is the reading of the prompt, not the facts, because the facts were already there.

The question form did not have to be traded away. On the taught half it improved. On the held-out half it cost 7 points, the model moving toward what it read.

What it cannot do

It knows this in Japanese only. The same name in romaji goes from 7.0% to 16.0%, which is a corpus of Japanese sentences doing nothing for a Latin spelling that never appears in it.

It cannot write a long structured answer any more, and this is the important limitation. Measured on TRIDENT's inner layer, which asks for a six-line block after about 1,400 tokens of instructions and worked examples, over 36 cases:

llm-jp-3-440mthis
all six labels present21/260/26
the area line correct12/260/26
replies containing the line the task is about23/260/36

It writes 592 characters every time, the first line and then newlines. Its base is not good at that task either, but it has material in it; this has none. Six epochs of short declarative sentences make a model that writes short declarative sentences and stops.

Use it for what the table above it measures: recovering a prefecture from a municipality, in a short completion. Do not put it behind a long prompt.

It is a 440m base model and it is still one. It has no instruction tuning, it is not a chat model, and the register of its Japanese moved toward the corpus: the loss on held-out Japanese Wikipedia rose by 0.473 during training. That number is the limitation above, seen from inside the training run.

The facts it gets wrong are few and are not the ones you would predict. Over all 1,632, 31 are wrong. Name length does not predict them: 1.0% wrong for names of one token, 3.3% for two, 0.8% for three.

Why not sixty passes

Because that was tried. The same notebook at EPOCHS = 60 is run 3, and it took the question form from 91.5% to 19.8% while emitting a clean single prefecture every time: it had stopped applying the three worked examples and started repeating the nearest one. The held-out sentence form reached only 61.4%, below this run's 71.5%. Ten times the training was worse on every axis.

One exception, and it is instructive. On the 116 facts the base model could answer in neither form, sixty passes beat six, 5 wrong against 15, p = 0.033. A fact a model does not have must be written in, and that takes passes. A fact it has and cannot phrase needs only the phrasing. This corpus was 93% phrasing work for this model, and sixty passes charged the whole corpus for the 7%.

How it was made

The facts come from yuiseki/geo-triples-jp-gov, computed from two frozen Japanese government registers by a Docker-pinned GeoSPARQL endpoint, with every step from a DE-9IM matrix to a predicate proved by a Lean development. The addresses come from yuiseki/jp-admin-2026-09, where the two registers were joined. Nothing in either was written by a language model.

Each fact is said eight ways. Six are sentences and two are addresses:

当別町は北海道に含まれる。
北海道は当別町を含む。
当別町は北海道にある。
当別町の所在する都道府県は北海道である。
北海道の市区町村のひとつが当別町である。
当別町は北海道の市区町村である。
住所:北海道石狩郡当別町
北海道石狩郡当別町

The addresses are why a register is worth using: 当別町 is in 石狩郡 and its own name does not say so. 770 of the 1,632 have a 郡.

Every fact is written exactly once. An earlier experiment on a different base wrote short names more often, and the bands it did not touch got worse although their own exposure had not changed, because what fell was their share of the corpus.

30% of each batch is replayed from Japanese Wikipedia, and the half used for replay is not the half the control loss is measured on.

The notebook that produced this, the corpus builder and every measurement are in YuisekinAI-CPT. result.json here is the run's own log and scores.

Attribution and licence

Apache-2.0, following llm-jp/llm-jp-3-440m. What went into it, so a reader can judge for themselves:

  • The facts and addresses are CC BY 4.0. 「アドレス・ベース・レジストリ」(デジタル庁)and 「令和2年国勢調査 小地域(町丁・字等別)境界データ」(総務省統計局).
  • The replay text is Japanese Wikipedia, CC BY-SA 4.0.
  • The base model is Apache-2.0.

Whether a model's weights are a derivative of its training text is unsettled, and this card does not pretend otherwise. What is not unsettled is where the content came from, which is named above.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Можно запустить

Подбираем GPU…

Класс архитектуры
LlamaForCausalLM
Ревизия весов
f695ac3

0 моделей