/ Модель

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

Лицензия
Apache 2.0
Базовая модель
gliner_multi-v2.1
Библиотека
gliner
Опубликована
10 сен 2026

neonredact-tr-model

Разметка токеновТекст → label5 профессий

Модель выделяет персональные данные в турецких текстах, чтобы подготовить документы к редактированию или псевдонимизации.

57скачиваний за 30 дней1лайквеса обновлены23 сен 2026

Бенчмарки

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

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

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

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

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

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

NeonRedact-TR — модель GLiNER, разработанная Neon Dijital и дообученная на базе urchade/gliner_multi-v2.1 для поиска персональных данных в текстах на турецком языке. Она принимает текст и заданные пользователем названия типов данных и возвращает символьные границы найденных фрагментов; сама текст не изменяет. Модель предназначена для обнаружения персональных данных перед редактированием или псевдонимизацией документов, в том числе турецких идентификаторов, имён, адресов, телефонов и электронных адресов.

В независимом тесте NeonRedact-TR Bench сочетание модели с правилами проверки контрольных сумм показало micro F1 0,790; сама модель — 0,730. Она учитывает турецкие окончания при выделении имён и названий учреждений, однако может чрезмерно часто отмечать данные в текстах без персональных сведений. Модель обучалась на синтетических шаблонных текстах; она может пропускать телефонные номера без контекстных подсказок, аффиксы профессий искажать границы фрагментов, а качество на реальных документах и текстах с OCR-шумом ограничено. Рекомендуется сочетать её с детерминированными проверками идентификаторов и проверкой человеком. Лицензия — Apache-2.0.

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

  • поиск имён и адресов в турецких документах
  • обнаружение турецких национальных и налоговых идентификаторов
  • выделение телефонов и электронных адресов для редактирования
  • поиск IBAN и номеров банковских карт в турецком тексте
  • обнаружение персональных данных перед передачей документов внешним системам

Ограничения

Модель может отмечать персональные данные в тексте без них и пропускать телефонные номера стационарной связи без контекстной подсказки; обучающие данные синтетические, поэтому реальные документы, OCR-шум и диалектные написания могут ухудшить результат. Для проверки идентификаторов нужны отдельные алгоритмы, а удаление найденных фрагментов само по себе не гарантирует анонимность.

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

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

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

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

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

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

Открыть на Hugging Face

NeonRedact-TR

Turkish PII detection. A GLiNER model fine-tuned to find personal data in Turkish text so documents can be redacted or pseudonymised before they are sent anywhere else.

Open multilingual PII models now list Turkish among many languages, but they are not built for it. On the independent NeonRedact-TR Bench, this model combined with a checksum-validated rule layer scores 0.790 micro F1, against 0.356 for OpenMed v2 and 0.348 for OpenAI Privacy Filter.

Benchmark

Held-out test split of NeonRedact-TR Bench v1: 300 Turkish documents, 1,206 entities, micro F1 with 95% bootstrap CI.

This model + rulesThis model aloneOpenMed v2OpenAI PF
All labels0.790 [0.766, 0.814]0.7300.3560.348
Person, address, phone, email, date of birth0.8340.8040.3380.347
Suffix leakage0.0%0.0%1.4%18.4%
False alarms on PII-free text72.6%79.0%69.4%37.1%

Weaknesses are reported as found: this model over-flags PII-free text, and has no label for secrets or event dates. Full results, caveats and code: RESULTS.md.

What it does

Give it Turkish text and a list of what to look for; it returns character spans. It does not modify the text — what you do with the spans is up to you.

from gliner import GLiNER

model = GLiNER.from_pretrained("neondijital/neonredact-tr-model")

etiketler = [
    "kişi adı", "adres", "T.C. kimlik numarası", "vergi kimlik numarası",
    "IBAN", "kredi kartı numarası", "cep telefonu", "sabit telefon",
    "e-posta adresi", "araç plakası", "doğum tarihi", "kurum adı",
    "meslek", "akrabalık", "sağlık durumu", "taraf sıfatı",
]

metin = ("Müvekkilim Ayşe Öztürk'ün T.C. kimlik numarası 85592807206 olup, "
         "Konak'taki dairesi kardeşi Mehmet Yılmaz'a devredilmiştir.")

for v in model.predict_entities(metin, etiketler, threshold=0.5):
    print(v["label"], "->", v["text"])

Use the label strings above as written. GLiNER reads labels as text, and the model was tuned against these exact phrasings.

Why Turkish needs its own model

Suffixes stay outside the span. Turkish attaches case endings to proper nouns with an apostrophe. A model that swallows the suffix produces spans that break redaction: replace Ayşe Öztürk'ün wholesale and the sentence loses its grammar. This model returns Ayşe Öztürk and leaves 'ün alone. The same holds for the pronominal buffer in institution names — Ege Üniversitesi out of Ege Üniversitesi'nden.

Turkey-specific identifiers. T.C. national ID, tax number, Turkish IBAN and licence plates have no equivalent in EU-oriented datasets, so EU-oriented models do not look for them.

People named by role. In Turkish legal and clinical writing the subject is often a role rather than a name — müvekkilim, davalı, hastam.

Base model vs fine-tuned

Same sentence, same labels, threshold 0.5.

gliner_multi-v2.1this model
Ayşe Öztürkfoundfound
85592807206 (T.C. ID)missedfound
0532 111 22 33missedfound
kardeşi (kinship)missedfound
IBAN spanIBAN TR3300… (label included)TR3300…

The base model finds names and little else in Turkish, and does not know any Turkish identifier format.

Training

Fine-tuned from urchade/gliner_multi-v2.1 (mDeBERTa backbone) on neondijital/neonredact-tr — 10,000 synthetic records, 36 document templates, 16 labels. Three epochs on a single T4, ~14 minutes.

Three rounds were needed. Round one confused identifier labels with their preceding keywords; round two fixed that but started reading national ID numbers as IBANs; round three separated the identifier types into their own sentence contexts and placed document reference numbers next to real IBANs so the model learns which long number is which. Round three produced no false positives on the held-out probes.

Known limitations

Stated plainly, because they matter in practice.

  • Bare landline numbers are missed. A landline sitting mid-sentence with no keyword before it (… 0232 445 67 89 numarasından …) is often not found. Keep a regex check for landlines alongside this model.
  • Inflected occupations keep their suffix. eczacıymış comes back whole rather than as eczacı. Unlike case endings, these suffixes are not set off by an apostrophe, and three rounds of training did not resolve it.
  • taraf sıfatı is the weakest label — it has the fewest training examples.
  • Trained on synthetic, template-generated text. Real documents are messier. Validation scores on a held-out split of the training data are optimistic and are not reported here for that reason.
  • No OCR noise, no layout artefacts, no dialectal spelling.

Recommended use

Pair it with deterministic checks. Checksum-verifiable identifiers — T.C. ID, tax number, IBAN, card number — should be validated by their own algorithms, which are exact where a model only guesses. Use the model for what rules cannot reach: names, addresses, kinship, occupations, roles.

Detection is not compliance. Removing direct identifiers does not make a document anonymous under KVKK or GDPR — a residual combination of attributes (birth year, district, occupation) can still single out one person. Keep a human in the loop before anything leaves the building.

Citation

@misc{neonredact_tr_model_2026,
  title  = {NeonRedact-TR: Turkish PII Detection},
  author = {Kömürcü, Aykan},
  year   = {2026},
  url    = {https://huggingface.co/neondijital/neonredact-tr-model}
}

Built by NeonDijital.

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

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

GPU в ailist

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

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

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

Ревизия весов
08ac6c5

0 моделей