/ Модель

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

Лицензия
Apache 2.0
Архитектура
extractor · dense
Базовая модель
gliner2.5-multi-v1
Библиотека
gliner2
Опубликована
18 окт 2026

gliner2.5-indonesian

Разметка токеновТекст → label7 профессий
171скачиваний за 30 дней0лайковвеса обновлены19 окт 2026

Описание модели

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

GLiNER2.5 Indonesian — дообученная модель для извлечения именованных сущностей произвольных типов из индонезийского текста.

GLiNER2.5 Indonesian — модель извлечения сущностей из текста на индонезийском языке, разработанная AIbnuHibban и дообученная на основе fastino/gliner2.5-multi-v1. В основе — энкодер mDeBERTa-v3-base с архитектурой извлечения границ сущностей; размер базовой модели составляет 287 млн параметров. Модель принимает текст и возвращает найденные фрагменты с метками сущностей по заданной схеме. Она оптимизирована для схемы из 20 типов, включая людей, должности, организации, продукты, события и географические объекты, а также поддерживает извлечение сущностей произвольных типов с нулевым обучением.

Модель предназначена для обработки новостей, энциклопедических текстов, отзывов и разговорного текста на индонезийском: например, для разбора документов, аналитики новостей, анализа отзывов клиентов и поисковой индексации. В тестах на заявленных индонезийских наборах показала exact-match micro-F1 0,862 для 20-меточной схемы, 0,888 на новостных предложениях и 0,821 на неформальных отзывах. Эти результаты следует интерпретировать с учётом того, что обучение включало часть NERGrit, а тест оценивал согласованность с используемыми правилами разметки.

Модель хуже справляется с неформальными упоминаниями продуктов и организаций, неоднозначными частицами имён и различением административных уровней, если они не названы явно. Длинные документы следует обрабатывать частями; модель не оценивалась на региональных языках Индонезии и специализированных клинических корпусах. Репозиторий распространяется по лицензии Apache-2.0.

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

  • извлечение людей, должностей и организаций из индонезийских новостей
  • разметка сущностей в отзывах и неформальных сообщениях на индонезийском
  • извлечение продуктов, брендов и событий по пользовательской схеме
  • структурирование индонезийских документов для поисковой индексации
  • аналитика упоминаний организаций и персон в новостях

Ограничения

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

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

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

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

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

Также подходит для

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

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

Открыть на Hugging Face

GLiNER2.5 Indonesian

GLiNER2.5 Indonesian is a schema-based entity extraction model for Bahasa Indonesia. It is fine-tuned from fastino/gliner2.5-multi-v1, which is an mDeBERTa-v3-base encoder with a boundary-architecture extraction head (287M parameters).

The model targets the main registers of written Indonesian: news, encyclopedic text, and informal reviews and conversation. It keeps the base model's ability to extract arbitrary, user-defined entity types.

Developed byAIbnuHibban
Base modelfastino/gliner2.5-multi-v1
LanguageIndonesian (id)
TaskNamed-entity recognition / span extraction
Parameters287M
LicenseApache-2.0
DemoGLiNER2.5 Indonesian Entity Extraction
BenchmarkAIbnuHibban/indonesian-gliner-benchmark

Quick start

pip install gliner2==2.0.0 peft safetensors
from gliner2 import AutoExtractor

model = AutoExtractor.from_pretrained("AIbnuHibban/gliner2.5-indonesian")

text = (
    "Gubernur Jawa Barat meresmikan Jalan Tol Cisumdawu di Kabupaten Sumedang "
    "pada Selasa, 11 Juli 2023, pukul 10.00 WIB."
)
labels = {
    "person": "Nama individu atau orang.",
    "job_title": "Jabatan, posisi pekerjaan, atau peran profesional.",
    "province": "Nama provinsi.",
    "city_regency": "Nama kota atau kabupaten.",
    "date": "Tanggal atau referensi tanggal.",
    "time": "Waktu atau jam.",
}

result = model.extract_entities(text, labels, threshold=0.65, include_confidence=True)
print(result)

Recommended settings

Use caseThresholdOverlap policy
20-label Indonesian schema (ner-general-v0.1)0.65nested
General / NERGrit-style labels0.75nested

Label descriptions (as in the example above) are optional, but they improve precision for domain-specific labels.

Entity schema

The model is optimized for the 20 labels of ner-general-v0.1:

CategoryLabels
People & rolesperson, job_title
Organizationscompany, government_agency, educational_institution, organization
Products & eventsproduct, brand, event
Locationscountry, province, city_regency, district, village, address
Temporal & numericdate, time, money, percentage
Legallegal_document

Any other label can be supplied at inference time for zero-shot extraction.

Evaluation

All scores are exact-match (span and label) micro-F1. The 20-label benchmark and the scoring script are public: AIbnuHibban/indonesian-gliner-benchmark. Every model, the base model included, had its threshold and overlap policy selected on a development set. Those settings were then applied once to the held-out test set.

BenchmarkBasev2v3 (current)
Indonesian 20-label schema: test (450 real sentences)0.5030.8540.862
   News (NERGrit sentences)0.4730.8740.888
   Informal reviews (NusaX)0.3980.8040.821
   Wikipedia (Indonesian)0.5870.8340.828
NERGrit: test (human-annotated, 19 types)0.4820.8090.818
Zero-shot retention: 6 NERGrit types unseen in training0.0850.0980.092
Name-ambiguity challenge: pair accuracy (200 minimal pairs)0.4000.6100.720

On the 20-label schema, macro-F1 is 0.794 (v2: 0.789, base: 0.440). Per-label F1:

LabelBasev2v3
person–0.930.94
brand0.000.860.86
product0.060.730.82
job_title0.260.800.81
organization0.220.800.80
event0.310.840.84
government_agency0.340.760.79
date0.510.920.92
address–0.770.67

address is rare in the test set, so its score has high variance. Even so, it is the one label that got worse in v3.

Name-ambiguity challenge set

This is a targeted robustness test. It has 200 minimal pairs in which the same word is a person's name in one sentence and an ordinary word in the other, for example "bunga pergi ke pasar" against "bunga mawar sudah mekar". It covers short and often lower-case text. Scoring:

  • A pair counts as correct only if both sentences are right: the name is found with its exact span, and no name is invented.
  • Every word in the challenge set was held out of the iteration-3 training data.
CategoryBasev2v3
A. Given names that are also common words (Bunga, Indah, Budi, …)0.510.610.79
B. Honorifics and kinship terms without a name (mas, ibu, kak, …)0.130.330.65
C. Name particles in non-name use (ibnu, bin, wa, cut, …)0.300.600.47
D. Heroes vs. streets, airports and universities named after them0.630.800.77
E. Lower-case chat nicknames0.370.800.87
Overall pair accuracy0.400.610.72
Name recall0.560.680.83
Ordinary words wrongly tagged as names32%12%15%

Category C regressed in v3: "wa aja ya" (WhatsApp) and "cut scene" are now more often tagged as names.

Evaluation protocol and caveats

  • Indonesian 20-label schema. 450 real sentences from news, Indonesian Wikipedia and informal reviews. They were annotated under a written guideline in two passes: model-assisted annotation, then independent adjudication. The training data follows the same guideline, so part of the improvement reflects consistent span conventions, not only better language understanding.
  • NERGrit. Human-annotated. The NERGrit training split was used during fine-tuning, so this result is in-domain supervised, not zero-shot.
  • Zero-shot retention. Six NERGrit types (quantity, ordinal, facility, religion, work of art, language) were removed from fine-tuning entirely and evaluated only at test time. This row checks that fine-tuning did not degrade open-label extraction. Absolute scores are low for both models because of NERGrit's annotation conventions for these types.
  • The training data, development sets and test sets have no text overlap.

Training

Data~2.6k real Indonesian sentences (news, Wikipedia, reviews) annotated with the 20-label schema (upsampled ×2); NERGrit train, 12.5k sentences, with six types held out; 104 curated rows from the author's Indonesian GLiNER dataset (forthcoming)
Label augmentationLabel-set dropout (p = 0.5): each example sees a random subset of negative labels, which preserves open-label behaviour
Hyperparameters3 epochs · batch size 8 · encoder LR 2e-5 · head LR 1e-4 · linear schedule, 10% warm-up · fp32
SelectionBest mean F1 across the two development sets (20-label schema and NERGrit)
HardwareSingle NVIDIA GPU (Kaggle)

Iteration 3 (current). Training continued from v2 for 2 epochs (encoder LR 1e-5, head LR 5e-5, fp32, one RTX 4090) on:

  • the v2 training mix;
  • 4,000 person-only contrastive examples: lower-case chat nicknames, given names that are also common words, honorifics without a name, and proper nouns that are not people. 1,136 of them contain no person.

Only the person label is queried in those examples, so unannotated entities of other types are never treated as negatives. The checkpoint was selected with the same dev-set protocol as v2.

Versions

RevisionDescription
main (v3)Iteration 3: contrastive person-name data
v2Iteration 2. Load it with AutoExtractor.from_pretrained("AIbnuHibban/gliner2.5-indonesian", revision="v2")

Intended use and limitations

Intended use: information extraction from Indonesian text, for example document processing, news analytics, customer-feedback mining, and search indexing.

Known limitations:

  • Informal product and institution mentions (e.g. lower-case product names in chat or slang) are the weakest area.
  • Name particles used as ordinary words ("wa" for WhatsApp, "cut" in film jargon) are sometimes tagged as person. This is category C of the challenge set, and it is worse in v3 than in v2.
  • Indonesian administrative levels (district, village) are hard to tell apart when the text does not state the level explicitly.
  • Texts longer than the encoder window should be processed in chunks.
  • The model has not been evaluated on regional languages (Javanese, Sundanese, etc.) or on domain-specific corpora such as clinical text.

License

Apache-2.0, following the base model. NERGrit is distributed under its own BSD-style license; NusaX under Apache-2.0; Wikipedia text under CC BY-SA.

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

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

GPU в ailist

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

Нельзя запустить

Модели GLiNER требуют отдельного рантайма.

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

0 моделей