Skip to content

Releases

v0.2.1

Choose a tag to compare

@lgessler lgessler released this 12 Oct 00:27
d580345

Housekeeping release that finishes the rename from IUDEX to Dipo.

Removed

  • The deprecated iudex command alias is gone. The command is dipo.
  • Model cards no longer carry the old iudex tag, and their reproducibility config block leaves out the training machine's local checkpoint directory.

Added

  • The Dipo logo (docs/logo.svg, docs/logo-square.svg, generated by scripts/make_logo.py) at the top of the README and of every generated model card.
  • The README says how to request access to the gated Google base models that the generative parsers need.

v0.2.0: Dipo

Choose a tag to compare

@lgessler lgessler released this 09 Oct 21:07
2eed3ee

IUDEX is now Dipo (the Discourse Parsing Omnibus, said like "depot"). Install it with pip install dipo.

Renamed

  • The package, import and command are dipo: import iudex is now import dipo.
  • The old iudex command still works for now, as a deprecated alias that prints a notice.
  • larc-iudex on PyPI is a stub whose only job is to install dipo. The repository moved to larc-iu/dipo, and the old address redirects.
  • Models already on the Hub load unchanged.

New: ten pretrained models trained on raw text

All ten parse plain, untokenized text end to end (segmentation and structure), and the corpora's tokenized EDU text was replaced with the original text for training (scripts/build_raw_text_data.py). Test end-to-end Full F1:

Model Corpus Full
dmrst-ettin-400m-rstdt-coarse RST-DT 53.2
gen-sr-t5gemma-2-1b-1b-rstdt-coarse RST-DT 49.6
gen-sr-gemma-4-31b-it-rstdt-coarse RST-DT 54.7
dmrst-ettin-400m-gum-12.1.0 GUM 12.1.0 45.6
gen-sr-t5gemma-2-1b-1b-gum-12.1.0 GUM 12.1.0 39.4
gen-sr-gemma-4-31b-it-gum-12.1.0 GUM 12.1.0 45.8
dmrst-xlm-roberta-base-ert Basque 27.6
dmrst-xlm-roberta-base-pcc-2.2 German 18.6
dmrst-xlm-roberta-base-prstc Persian 32.2
dmrst-xlm-roberta-base-gcdt Chinese 29.4

The two RST-DT and GUM Ettin models replace the earlier models at those names. The generative models need access to a gated base model from Google first: see the README.

Fixes for real-world text

  • Text with line breaks, headings and Windows line endings parses cleanly. DMRSTParser.predict_from_text now starts a new segment at paragraph breaks and after heading-like lines (break_at_paragraphs=False turns this off).
  • Fixed a duplicated character at a segment boundary with XLM-R models.
  • Unspaced Chinese now works: new DMRST option split_cjk_tokens tokenizes one character per token.
  • The generative parsers raise a clear error on empty input instead of returning one empty segment.
  • Model cards show a readable metrics table and a usage example in the model's own language.

Known limitation: the generative models emit an empty segment about once in 3,000, seen inside a code sample.

v0.1.1

Choose a tag to compare

@lgessler lgessler released this 05 Oct 17:25
2bb85a7

Fixes loading of the pretrained Hub checkpoints (from_pretrained failed in 0.1.0). README Hub IDs corrected.

v0.1.0

Choose a tag to compare

@lgessler lgessler released this 01 Oct 20:50

First non-alpha release of iudex (pip install larc-iudex).

Parsers: dmrst, sr_biaffine, topdown_biaffine, gen, icl.

Highlights since 0.1.0a7:

  • gen: the four generative parsers (seq2seq_sr, seq2seq_sexp, decoder_only_sr, decoder_only_sexp) are unified into one parser. Choose backbone {seq2seq, decoder_only} × serialization {sr, sexp}. Supports token- and words-mode labels, batched greedy decoding, fixed beam search and gold-EDU forced decoding, and scales to 27–31B backbones with LoRA. Breaking: old seq2seq_* / decoder_only_* configs no longer load; see configs/gen/.
  • icl: new in-context-learning RST parser (iudex icl {predict,eval}). Works with Anthropic or OpenAI-compatible providers, supports SR or s-expression output, e2e / two_call / gold_edu pipelines, and optional grammar-constrained decoding.
  • Discriminative parsers: LoRA encoder path and broader encoder-backbone support. --eval-only reuses the training label set.
  • Data: the rs3 reader now takes multinuclear members from the relation inventory. Adds a multilingual DISRPT corpus builder and the official DISRPT 2025 segmentation scorer.
  • Training: unified model-selection protocol, WSD scheduler, checkpointing fixes, and a batch of bug-audit fixes.