Run this model with HF Jobs

Run firqaaa/id_core_web_sm on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/firqaaa/id_core_web_sm. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/firqaaa/id_core_web_sm on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
id_core_web_sm / README.md
firqaaa's picture
Rename id_core_news_sm to id_core_web_sm: wheels under the new name (models unchanged); old wheels kept
88254d8 verified
|
Raw History Blame Contribute Delete
26.4 kB
metadata
language:
  - id
license: cc-by-nc-sa-4.0
library_name: spacy
pipeline_tag: token-classification
tags:
  - spacy
  - token-classification
  - dependency-parsing
  - pos-tagging
  - lemmatization
  - ner
model-index:
  - name: id_core_web_sm
    results:
      - task:
          type: token-classification
          name: Tokenization
        dataset:
          type: universal_dependencies
          name: UD Indonesian-GSD r2.19 (test)
        metrics:
          - type: f1
            value: 0.9964
            name: Token F1
      - task:
          type: token-classification
          name: POS (UPOS)
        dataset:
          type: universal_dependencies
          name: UD Indonesian-GSD r2.19 (test)
        metrics:
          - type: accuracy
            value: 0.933
            name: UPOS accuracy
      - task:
          type: token-classification
          name: Morphological features
        dataset:
          type: universal_dependencies
          name: UD Indonesian-GSD r2.19 (test)
        metrics:
          - type: accuracy
            value: 0.9432
            name: Feats accuracy
      - task:
          type: token-classification
          name: Lemmatization
        dataset:
          type: universal_dependencies
          name: UD Indonesian-GSD r2.19 (test)
        metrics:
          - type: accuracy
            value: 0.804
            name: Lemma accuracy
          - type: accuracy
            value: 0.9792
            name: Lemma accuracy (case-insensitive)
      - task:
          type: token-classification
          name: Dependency parsing
        dataset:
          type: universal_dependencies
          name: UD Indonesian-GSD r2.19 (test)
        metrics:
          - type: uas
            value: 0.8427
            name: UAS
          - type: las
            value: 0.754
            name: LAS
      - task:
          type: token-classification
          name: Sentence segmentation
        dataset:
          type: universal_dependencies
          name: UD Indonesian-GSD r2.19 (test)
        metrics:
          - type: f1
            value: 0.8842
            name: Sentence F1
      - task:
          type: token-classification
          name: Tokenization
        dataset:
          type: universal_dependencies
          name: UD Indonesian-CSUI r2.19 (test)
        metrics:
          - type: f1
            value: 0.9899
            name: Token F1
      - task:
          type: token-classification
          name: POS (UPOS)
        dataset:
          type: universal_dependencies
          name: UD Indonesian-CSUI r2.19 (test)
        metrics:
          - type: accuracy
            value: 0.9455
            name: UPOS accuracy
      - task:
          type: token-classification
          name: Morphological features
        dataset:
          type: universal_dependencies
          name: UD Indonesian-CSUI r2.19 (test)
        metrics:
          - type: accuracy
            value: 0.9459
            name: Feats accuracy
      - task:
          type: token-classification
          name: Lemmatization
        dataset:
          type: universal_dependencies
          name: UD Indonesian-CSUI r2.19 (test)
        metrics:
          - type: accuracy
            value: 0.9256
            name: Lemma accuracy
          - type: accuracy
            value: 0.9683
            name: Lemma accuracy (case-insensitive)
      - task:
          type: token-classification
          name: Dependency parsing
        dataset:
          type: universal_dependencies
          name: UD Indonesian-CSUI r2.19 (test)
        metrics:
          - type: uas
            value: 0.7885
            name: UAS
          - type: las
            value: 0.6889
            name: LAS
      - task:
          type: token-classification
          name: Sentence segmentation
        dataset:
          type: universal_dependencies
          name: UD Indonesian-CSUI r2.19 (test)
        metrics:
          - type: f1
            value: 0.8544
            name: Sentence F1
      - task:
          type: token-classification
          name: Tokenization
        dataset:
          type: universal_dependencies
          name: UD Indonesian-PUD r2.19 (test)
        metrics:
          - type: f1
            value: 0.9943
            name: Token F1
      - task:
          type: token-classification
          name: POS (UPOS)
        dataset:
          type: universal_dependencies
          name: UD Indonesian-PUD r2.19 (test)
        metrics:
          - type: accuracy
            value: 0.9316
            name: UPOS accuracy
      - task:
          type: token-classification
          name: Morphological features
        dataset:
          type: universal_dependencies
          name: UD Indonesian-PUD r2.19 (test)
        metrics:
          - type: accuracy
            value: 0.9123
            name: Feats accuracy
      - task:
          type: token-classification
          name: Lemmatization
        dataset:
          type: universal_dependencies
          name: UD Indonesian-PUD r2.19 (test)
        metrics:
          - type: accuracy
            value: 0.9043
            name: Lemma accuracy
          - type: accuracy
            value: 0.9209
            name: Lemma accuracy (case-insensitive)
      - task:
          type: token-classification
          name: Dependency parsing
        dataset:
          type: universal_dependencies
          name: UD Indonesian-PUD r2.19 (test)
        metrics:
          - type: uas
            value: 0.8179
            name: UAS
          - type: las
            value: 0.6682
            name: LAS
      - task:
          type: token-classification
          name: Sentence segmentation
        dataset:
          type: universal_dependencies
          name: UD Indonesian-PUD r2.19 (test)
        metrics:
          - type: f1
            value: 0.9079
            name: Sentence F1
      - task:
          type: token-classification
          name: NER (PERSON/ORG/PLACE)
        dataset:
          type: indolem/nerui
          name: NER UI (IndoLEM, fold 01 test)
        metrics:
          - type: precision
            value: 0.8758
            name: NER precision
          - type: recall
            value: 0.8114
            name: NER recall
          - type: f1
            value: 0.8424
            name: NER F1
      - task:
          type: token-classification
          name: NER (PERSON/ORG/PLACE)
        dataset:
          type: indolem/nerugm
          name: NER UGM (IndoLEM, fold 01 test)
        metrics:
          - type: precision
            value: 0.7275
            name: NER precision
          - type: recall
            value: 0.803
            name: NER recall
          - type: f1
            value: 0.7634
            name: NER F1
      - task:
          type: token-classification
          name: NER (PERSON/ORG/PLACE)
        dataset:
          type: indonlp/indonlu-nergrit
          name: NERGRIT (IndoNLU test)
        metrics:
          - type: precision
            value: 0.695
            name: NER precision
          - type: recall
            value: 0.6657
            name: NER recall
          - type: f1
            value: 0.68
            name: NER F1
      - task:
          type: token-classification
          name: NER (PERSON/ORG/PLACE)
        dataset:
          type: ialfina/ner-dataset-modified-dee
          name: Luthfi et al. (2014) Wikipedia gold standard
        metrics:
          - type: precision
            value: 0.7739
            name: NER precision
          - type: recall
            value: 0.6832
            name: NER recall
          - type: f1
            value: 0.7257
            name: NER F1
      - task:
          type: token-classification
          name: NER (PERSON/ORG/PLACE)
        dataset:
          type: indonlp/indonlu-nerp
          name: NERP (IndoNLU test, truecased)
        metrics:
          - type: precision
            value: 0.7081
            name: NER precision
          - type: recall
            value: 0.7742
            name: NER recall
          - type: f1
            value: 0.7397
            name: NER F1
      - task:
          type: token-classification
          name: >-
            NER, 18 OntoNotes labels (LLM-annotated test set, not
            human-verified)
        dataset:
          type: ner18-test
          name: >-
            NER-18 test: UD Indonesian-GSD and -CSUI r2.19 test sentences (931),
            annotated by an LLM, not human-verified
        metrics:
          - type: precision
            value: 0.7807
            name: NER precision, all labels
          - type: recall
            value: 0.7533
            name: NER recall, all labels
          - type: f1
            value: 0.7667
            name: NER F1, all labels
          - type: f1
            value: 0.7872
            name: PERSON F1
          - type: f1
            value: 0.5417
            name: NORP F1
          - type: f1
            value: 0.5128
            name: FAC F1
          - type: f1
            value: 0.6527
            name: ORG F1
          - type: f1
            value: 0.8042
            name: GPE F1
          - type: f1
            value: 0.5895
            name: LOC F1
          - type: f1
            value: 0.2651
            name: PRODUCT F1
          - type: f1
            value: 0.3944
            name: EVENT F1
          - type: f1
            value: 0.3103
            name: WORK_OF_ART F1
          - type: f1
            value: 0.4167
            name: LAW F1
          - type: f1
            value: 0.7586
            name: LANGUAGE F1
          - type: f1
            value: 0.8683
            name: DATE F1
          - type: f1
            value: 0.6316
            name: TIME F1
          - type: f1
            value: 0.9854
            name: PERCENT F1
          - type: f1
            value: 0.9802
            name: MONEY F1
          - type: f1
            value: 0.7778
            name: QUANTITY F1
          - type: f1
            value: 0.8911
            name: ORDINAL F1
          - type: f1
            value: 0.8578
            name: CARDINAL F1
      - task:
          type: token-classification
          name: >-
            NER, 18 OntoNotes labels (LLM-annotated test set, not
            human-verified)
        dataset:
          type: ner18-test-pud
          name: >-
            NER-18 test, batch 3: UD Indonesian-PUD r2.19 test sentences (1,000,
            translated), annotated by an LLM, not human-verified
        metrics:
          - type: precision
            value: 0.7244
            name: NER precision, all labels
          - type: recall
            value: 0.6878
            name: NER recall, all labels
          - type: f1
            value: 0.7056
            name: NER F1, all labels
          - type: f1
            value: 0.7409
            name: PERSON F1
          - type: f1
            value: 0.507
            name: NORP F1
          - type: f1
            value: 0.381
            name: FAC F1
          - type: f1
            value: 0.45
            name: ORG F1
          - type: f1
            value: 0.7432
            name: GPE F1
          - type: f1
            value: 0.624
            name: LOC F1
          - type: f1
            value: 0.24
            name: PRODUCT F1
          - type: f1
            value: 0.641
            name: EVENT F1
          - type: f1
            value: 0.5111
            name: WORK_OF_ART F1
          - type: f1
            value: 0.9474
            name: LAW F1
          - type: f1
            value: 0.1111
            name: LANGUAGE F1
          - type: f1
            value: 0.8215
            name: DATE F1
          - type: f1
            value: 0.7273
            name: TIME F1
          - type: f1
            value: 0.9565
            name: PERCENT F1
          - type: f1
            value: 0.7407
            name: MONEY F1
          - type: f1
            value: 0.7778
            name: QUANTITY F1
          - type: f1
            value: 0.8085
            name: ORDINAL F1
          - type: f1
            value: 0.8649
            name: CARDINAL F1
      - task:
          type: token-classification
          name: NER, 18 OntoNotes labels (silver dev, not a test set)
        dataset:
          type: silver-dev
          name: >-
            Silver dev set (1,362 sentences): gold PERSON/ORG/place spans plus
            rule and LLM labels, not human-annotated
        metrics:
          - type: precision
            value: 0.7568
            name: NER precision, all labels (silver)
          - type: recall
            value: 0.7766
            name: NER recall, all labels (silver)
          - type: f1
            value: 0.7665
            name: NER F1, all labels (silver)
          - type: f1
            value: 0.7963
            name: PERSON F1 (silver)
          - type: f1
            value: 0.7647
            name: NORP F1 (silver)
          - type: f1
            value: 0.6486
            name: FAC F1 (silver)
          - type: f1
            value: 0.6966
            name: ORG F1 (silver)
          - type: f1
            value: 0.8359
            name: GPE F1 (silver)
          - type: f1
            value: 0.7111
            name: LOC F1 (silver)
          - type: f1
            value: 0.4803
            name: PRODUCT F1 (silver)
          - type: f1
            value: 0.4525
            name: EVENT F1 (silver)
          - type: f1
            value: 0.3924
            name: WORK_OF_ART F1 (silver)
          - type: f1
            value: 0.8
            name: LAW F1 (silver)
          - type: f1
            value: 0.4
            name: LANGUAGE F1 (silver)
          - type: f1
            value: 0.8246
            name: DATE F1 (silver)
          - type: f1
            value: 0.9383
            name: TIME F1 (silver)
          - type: f1
            value: 0.84
            name: PERCENT F1 (silver)
          - type: f1
            value: 0.8108
            name: MONEY F1 (silver)
          - type: f1
            value: 0.7869
            name: QUANTITY F1 (silver)
          - type: f1
            value: 0.8973
            name: ORDINAL F1 (silver)
          - type: f1
            value: 0.8436
            name: CARDINAL F1 (silver)

id_core_web_sm

A small Indonesian spaCy pipeline built the way en_core_web_sm is: CPU-only, no word vectors, about 17k words/s. Since 0.3.0, its tok2vec layers start from weights pretrained on about 200M words of raw Indonesian text.

Components:

  • a tokenizer that follows Universal Dependencies word segmentation;
  • a morphologizer (UPOS + morphological features);
  • a lemmatizer and a dependency parser;
  • named entity recognition with the 18 OntoNotes labels;
  • a sentence segmenter, included but disabled, as in English. The parser sets sentence boundaries.

Research use only. Training data includes the IDN Tagged Corpus (CC BY-NC-SA 4.0). This model is licensed CC BY-NC-SA 4.0 and must not be used commercially. Several of the NER training sets have no stated licence (details).

Version 0.6.1 (replaces 0.6.0)
spaCy ≥ 3.8, < 3.9
Size 14.0 MB wheel
Speed ~17k words/s on an Apple M3 Pro CPU

Install and use

pip install https://huggingface.co/firqaaa/id_core_web_sm/resolve/main/id_core_web_sm-0.6.1-py3-none-any.whl

Renamed on 2026-12-04 from id_core_news_sm to id_core_web_sm, to match the en_core_web_* models it follows. The models are unchanged. The old wheels (id_core_news_sm-*-py3-none-any.whl) are still in this repo, and the old repo address redirects here, so existing install links and spacy.load("id_core_news_sm") keep working.

Earlier wheels are still in this repo: id_core_web_sm-0.6.0-py3-none-any.whl, id_core_web_sm-0.5.0-py3-none-any.whl, id_core_web_sm-0.4.1-py3-none-any.whl, id_core_web_sm-0.4.0-py3-none-any.whl, id_core_web_sm-0.3.0-py3-none-any.whl and id_core_web_sm-0.2.0-py3-none-any.whl.

import spacy

nlp = spacy.load("id_core_web_sm")
doc = nlp("Presiden Joko Widodo meresmikan Bandara Yogyakarta di Kabupaten Kulon Progo "
          "pada 28 Agustus 2020 dengan biaya Rp 11 triliun. Bukunya dibaca warga Tionghoa.")

print([(e.text, e.label_) for e in doc.ents])
# [('Joko Widodo', 'PERSON'), ('Bandara Yogyakarta', 'FAC'), ('Kabupaten Kulon Progo', 'GPE'),
#  ('28 Agustus 2020', 'DATE'), ('Rp 11 triliun', 'MONEY'), ('Tionghoa', 'NORP')]
print([(t.text, t.pos_, t.lemma_, t.dep_) for t in doc][:4])
# [('Presiden', 'PROPN', 'Presiden', 'nsubj'), ('Joko', 'PROPN', 'Joko', 'flat:name'), ...]

The wheel bundles the custom components: the tokenizer (id_ud_tokenizer.v1), the lemma fallback (id_lemma_fallback) and the rule entity component (id_rule_ner). To load the files in this repo directly instead of the wheel, import id_tokenizer.py, id_lemma.py and id_rules.py first.

What it does

Component Notes
tok2vec Pretrained with spacy pretrain (character objective) on Indonesian Wikipedia plus a truecased sample of Indo4B, then trained with each component.
Tokenizer UD-style segmentation. Clitics are split off (bukunya → buku nya, apakah → apa kah) only when a word list confirms the rest is a word, so hanya and punya stay whole. Hyphenated words stay whole (anak-anak, ke-3, 1990-an).
morphologizer UPOS + UD features (not XPOS: the UD Indonesian treebanks use different XPOS tagsets).
trainable_lemmatizer UD Indonesian lemmas, with affixes stripped (meresmikan → resmi).
id_lemma_fallback For words not seen in training: spaCy's Indonesian lemma lookup table, reduplication (anjing-anjing → anjing) and a verb affix stripper checked against a root list. For all words: full reduplications get the lemma of their half (toko-toko → toko) unless training keeps them whole. Sets one casing convention: proper-noun lemmas keep their case (Jakarta), all others are lowercase.
parser UD dependency relations; also sets sentence boundaries.
ner All 18 OntoNotes labels: PERSON, NORP, FAC, ORG, GPE, LOC, PRODUCT, EVENT, WORK_OF_ART, LAW, LANGUAGE, DATE, TIME, PERCENT, MONEY, QUANTITY, ORDINAL, CARDINAL.
id_rule_ner Rules for dates, times, money, percentages, quantities, ordinals, numbers, laws (UU No. 11 Tahun 2008), NORP, LANGUAGE, EVENT and WORK_OF_ART. It fills gaps left by ner, and fixes split date, number and law spans; it never overrides names.

Results

All scores are in % on frozen test sets that were never used for training or model selection (NER models are chosen on an LLM-annotated dev set and the human-annotated dev splits of the NER sets below). Evaluation is on raw text, so the pipeline's own tokenizer is included, which is how en_core_web_sm is reported.

Tagging, lemmas and parsing (UD r2.19 test sets):

Test set Token F UPOS Feats Lemma Lemma (case-insensitive) UAS LAS Sentence F
GSD 99.64 93.30 94.32 80.40 97.92 84.27 75.40 88.42
CSUI 98.99 94.55 94.59 92.56 96.83 78.85 68.89 85.44
PUD 99.43 93.16 91.23 90.43 92.09 81.79 66.82 90.79

These are the released pipeline's scores. Lemma casing differs between treebanks. GSD lowercases every lemma; CSUI and PUD keep the case of proper nouns, as this pipeline does. So GSD's case-sensitive lemma score is low for reasons of convention only. The case-insensitive column measures the lemmatization itself. Over 3 seeds, compared with 0.3.0's recipe, case-insensitive lemma accuracy is up +0.7 (GSD), +0.6 (CSUI) and +1.4 (PUD), and PUD's case-sensitive score rose from 80.0 to 90.1. 0.4.1's reduplication rule adds +0.3 (GSD), +0.1 (CSUI) and +0.3 (PUD) case-insensitive. Against 0.2.0's recipe, LAS is up about +1 on average.

For comparison, en_core_web_sm 3.8 reports LAS 89.9 on OntoNotes. It has about 13 times more training data than the ~116k words of UD Indonesian.

NER on existing Indonesian test sets. These annotate only persons, organisations and places, so GPE, LOC and FAC are scored together as PLACE, and other labels are ignored:

Test set F1
NER UI (IndoLEM, fold 01) 84.24
NER UGM (IndoLEM, fold 01) 76.34
NERGRIT (IndoNLU) 68.00
Luthfi et al. (2014) Wikipedia gold 72.57
NERP (IndoNLU), truecased 73.97

Single-run NER scores vary by about ±1–2 F. Over 3 seeds the recipe averages NER UI 84.64, NER UGM 77.12, NERGRIT 67.43, Luthfi 72.34 and NERP 73.00 (0.4.1's recipe: 83.18, 76.55, 65.38, 69.32, 73.56).

All 18 labels: the NER-18 test set. 931 sentences from the UD Indonesian-GSD and -CSUI test sets, 2,675 entities. It was annotated by an LLM, not by humans: independent first passes, a blind second pass on 200 sentences (exact-match agreement 0.963), and a review of every sentence against the guideline. No human has verified it yet, so read these as provisional.

F1
All labels 76.67 (precision 78.07, recall 75.33; 3 seeds of this recipe: 76.80; 0.6.0: 75.50; 0.4.1: 65.75)
PERCENT, MONEY, ORDINAL, DATE, CARDINAL 98.5, 98.0, 89.1, 86.8, 85.8
GPE, PERSON, LANGUAGE, QUANTITY, ORG, TIME 80.4, 78.7, 75.9, 77.8, 65.3, 63.2
LOC, NORP, FAC 58.9, 54.2, 51.3
LAW, EVENT, WORK_OF_ART, PRODUCT 41.7, 39.4, 31.0, 26.5: unreliable

Batch 3, translated text (UD Indonesian-PUD test, 1,000 sentences, 1,976 entities, annotated the same way): 70.56 F (3 seeds of this recipe: 71.31; 0.6.0: 69.69; 0.4.1's recipe: 61.21). It is reported separately, so the numbers above stay comparable with earlier versions.

LANGUAGE, LAW and TIME have fewer than 20 mentions each.

Silver dev set (development only, listed separately in the evaluation results). It has gold person, organisation and place spans plus rule and LLM labels, made the same way as the training data. It scored 0.4.1 at 80.8 overall, 15 points above the NER-18 test, and overstated the rare labels most (LAW and LANGUAGE 100, NORP 88). For 0.6.1 it gives 76.7, against 76.7 on the NER-18 test. Don't read its numbers as accuracy.

Training data and licences

Data Used for Licence
UD Indonesian-GSD and -CSUI r2.19 (train) Tokenizer word list, tagging, lemmas, parsing CC BY-SA 4.0
IDN Tagged Corpus (Dinakaramani et al. 2014), mapped to UPOS Extra POS data CC BY-NC-SA 4.0
NERGRIT, NERP (IndoNLU); NER UI, NER UGM (IndoLEM) NER (NERP truecased) Not stated by the authors
Wikidata place names Splitting PLACE into GPE / LOC / FAC in the training data CC0
spaCy lookup tables (spacy-lookups-data) Tokenizer word list; lemma fallback (Indonesian lemma lookup table) MIT
Indonesian Wikipedia, 2023-11-01 dump (105M words, filtered) tok2vec pretraining (raw text, no labels) CC BY-SA 3.0 / GFDL
Indo4B (IndoNLU): 99M words sampled from web, news and subtitle text, truecased tok2vec pretraining (raw text, no labels) Stated CC0 by SEACrowd; the texts themselves are third-party
4,675 UD Indonesian-GSD and -CSUI train sentences, annotated with the 18 labels by an LLM, not human-verified NER training (2,000 since 0.5.0, all since 0.6.0) CC BY-SA 4.0 (the UD text's licence)
2,000 Indonesian Wikipedia sentences picked for rare labels, annotated the same way NER training (since 0.6.0) CC BY-SA 3.0 / 4.0
Qwen3 8B (local, via Ollama) Classified ~3,000 span types already marked in NERP as ORG / PRODUCT / EVENT / WORK_OF_ART / DATE Labels only; no model text is in the pipeline

Test sentences from every frozen test set were removed from all training data, including the pretraining text.

Limitations

  • PRODUCT, WORK_OF_ART, EVENT and LAW are unreliable (26.5–41.7 F on the NER-18 test), and NORP and FAC are weak (54.2, 51.3). ORG (65.3) is the weakest of the frequent labels.
  • The NER-18 test and dev sets, and 6,675 training sentences, were annotated by an LLM, not by humans. The human-annotated 3-label test sets improved too, but the 18-label scores are provisional.
  • Merging GPE, LOC and FAC back into one place label costs some place recall compared with a single PLACE label. 15–30% of training place mentions could not be typed, so they were left out of training.
  • Mostly formal written Indonesian (news, Wikipedia). Expect lower accuracy on social media, informal or regional-language text.
  • The two UD treebanks segment some words differently (e.g. hyphenated ranges, Tbk.); the tokenizer follows GSD.

Changes in 0.6.1

  • The rule component now follows guideline v0.2 span conventions (conventions="v0.2"). Approximators are inside number spans (sekitar Rp 9.000, lebih dari 20 persen), lalu / mendatang are inside full dates (14 Maret 2007 lalu), date ranges are one span, and a weekday with a time of day is TIME. The NER and UD models are those of 0.6.0.
  • NER-18 test: 76.67 F (0.6.0: 75.50); 3 seeds of the recipe: 76.80 (0.6.0's: 75.89). The new batch 3 (PUD, translated text) gives 70.56 (0.6.0: 69.69). The change was chosen on the LLM-annotated dev set: +1.0 over 3 seeds.
  • The human-annotated 3-label test sets are unchanged, because they score names only.

Changes in 0.6.0

  • The NER model is retrained with 4,675 more LLM-annotated sentences: the remaining UD GSD training sentences, and 2,000 Wikipedia sentences picked for PRODUCT, EVENT, WORK_OF_ART, LAW and FAC. That makes 6,675 LLM-annotated sentences alongside the older NER datasets.
  • NER-18 test: 75.50 F (0.5.0: 72.67); 3 seeds of the recipe: 75.89 ± 0.50 (0.5.0's recipe: 73.13). EVENT, LANGUAGE, NORP, WORK_OF_ART, PERSON and GPE gain most. LAW does not improve.
  • The human-annotated 3-label test sets hold or improve. NERGRIT +1.7 and Luthfi +0.7 against 0.5.0; NER UI, NER UGM and NERP are level (3-seed recipe means: +1.0, +1.4, −0.3, +0.4, −0.4).
  • Model selection now also uses the human-annotated NER dev splits: training on the LLM-annotated data alone scored higher on the LLM-annotated dev set but lost 8–22 points on human-annotated data.
  • Tagging, lemmas and parsing are unchanged.

Changes in 0.5.0

  • The NER model is retrained with 2,000 UD training sentences annotated with all 18 labels by an LLM, and its checkpoint is chosen on an LLM-annotated dev set (740 sentences) instead of the silver dev set.
  • NER-18 test: 72.67 F (0.4.1: 65.75); 3 seeds of the recipe 73.13 ± 0.58 (0.4.1's recipe: 65.09). The largest gains are in the rare labels: LAW, LANGUAGE, PRODUCT, WORK_OF_ART and NORP.
  • The human-annotated 3-label test sets hold or improve: NERGRIT +3.1, NER UI +1.1, NER UGM +0.5, Luthfi +2.1, NERP +1.2 against 0.4.1 (3-seed recipe means: +1.1, +1.7, +0.1, +1.6, −0.2).
  • Tagging, lemmas and parsing are unchanged (same UD model as 0.4.1).

Changes in 0.4.1

  • id_lemma_fallback now also lemmatizes full reduplications seen in training (toko-toko → toko, hak-hak → hak), which the trained lemmatizer often left whole. Forms that training lemmatizes whole more often than as the half are kept.
  • Case-insensitive lemma accuracy +0.28 (GSD), +0.09 (CSUI) and +0.34 (PUD), the same on each of 3 seeds. All other scores, including NER, are identical to 0.4.0.

Changes in 0.4.0

  • Lemma casing follows one convention (UD/spaCy style): proper nouns keep their case, everything else is lowercase. The training lemmas were rewritten to it, because GSD and CSUI disagree.
  • New id_lemma_fallback for words not seen in training: lookup table, reduplication, and a verb affix stripper.
  • Case-insensitive lemma accuracy is up on all three UD test sets (+0.6 to +1.4 over 3 seeds); PUD's lemma score is up from 80 to 90. GSD's case-sensitive lemma score drops (to ~80) because its gold lemmas are all lowercase.
  • NER is unchanged from 0.3.0.

Changes in 0.3.0

  • tok2vec pretraining on Indonesian Wikipedia plus a truecased Indo4B sample (spacy pretrain, one pass over ~245M tokens).
  • NER training data: rules now run on the pipeline's own tokenization, so bracketed news dates (Senin (23/3/2016)) are labelled whole, and standalone (22/3) dates no longer include the brackets.
  • Scores are backed by 3-seed runs. Average LAS +0.9 and UPOS +0.3 over the three UD test sets, GSD sentence F +2.4; NER is flat to +1.7 F across the five test sets, except NER UI (−1.2).

Changes in 0.2.0 (from 0.0.4)

  • spaCy 3.8, and a new tokenizer that follows UD word segmentation (token F about 96 → 99.0–99.6 against UD).
  • A rule entity component, and the tagger (XPOS) removed.
  • Retrained on UD r2.19, with IDN POS data and truecased NERP added.
  • All scores are now reported on documented frozen test sets.

Source

The full code, data pipeline and reports are in the project repository under id-core-web-sm/: the data inventory, conventions, NER guideline, phase reports, the 3-seed noise study (docs/07), the pretraining report (docs/08) and the lemmatizer report (docs/09).